@ibm-cloud/ibm-dr-automation-service
v0.0.1
Published
IBM Cloud DrAutomation Node SDK
Downloads
66
Maintainers
Keywords
Readme
IBM Cloud DrAutomation Node SDK
Node.js client library to interact with various IBM Cloud DrAutomation services.
Disclaimer: this SDK is being released initially as a pre-release version. Changes might occur which impact applications that use this SDK.
Table of Contents
Overview
The IBM Cloud DrAutomation services Node.js SDK allows developers to programmatically interact with the following IBM Cloud services:
Service Name | Import Path --- | --- DrAutomation Service | dra-node-sdk/dr-automation-service/v1
Prerequisites
- You need an IBM Cloud account.
- Node.js >=18: This SDK is tested with Node.js versions 18 and up. It may work on previous versions but this is not officially supported.
Installation
npm install @ibm-cloud/ibm-dr-automation-serviceHow to Import
const DrAutomationServiceV1 = require('@ibm-cloud/ibm-dr-automation-service');Using the SDK
For general SDK usage information, please see this link
Environment Configuration
The SDK can be configured using environment variables. Here's an example configuration:
# Service URL (for development/testing)
export DR_AUTOMATION_SERVICE_URL=https://power-dra.cloud.ibm.com
# Authentication type
export DR_AUTOMATION_SERVICE_AUTH_TYPE=bearerToken
# Bearer token for authentication
export DR_AUTOMATION_SERVICE_BEARER_TOKEN=eyJraWQiOiIyMDE5MD......Note: The bearer token shown above is an example. For production use:
- Use the actual service endpoint URL
- Generate your own valid IAM bearer token
Questions
If you are having difficulties using this SDK or have a question about the IBM Cloud services, please ask a question at Stack Overflow.
Issues
If you encounter an issue with the SDK, you are welcome to submit a bug report. Before that, please search for similar issues. It's possible someone has already encountered this issue.
Open source @ IBM
Find more open source projects on the IBM Github Page
Contributing
See CONTRIBUTING.
License
This project is released under the Apache 2.0 license. The license's full text can be found in LICENSE.
