Sunbird client cloud service is multi-cloud npm toolkit that provides access across cloud services while giving you full control to use cloud-specific features. Plugin allows users to provision their infrastructure in any cloud provider.
This project is licensed under the MIT License. See LICENSE for more information.
$ npm install --save client-cloud-services
const cloudService = require('client-cloud-services');
const config = {
identity: CLOUD_IDENTITY,
credential: CLOUD_IDENTITY_KEY,
labelContainer: LABEL_CONTAINER_NAME
};
let client = cloudService.init(CLOUD_PROVIDER);
let storage = new client(config);
storage.SERVICE_NAME()...
- Configuration for respective Cloud Providers
Generalized keys | Azure | AWS | GCP |
---|---|---|---|
provider | azure |
aws |
gcloud |
identity | Azure Account Name | AWS Access Key | GCP Client Email |
credential | Azure Account Key | AWS Secret Key | GCP Private Key |
region | -- | AWS Region | -- |
projectId | -- | -- | GCP Project ID |
containerName | -- | AWS Bucket Name | GCP Bucket Name |
reportsContainer | Azure Reports Container Name | AWS Reports Container Name | GCloud Reports Container Name |
labelsContainer | Azure Labels Container Name | AWS Labels Container Name | GCloud Labels Container Name |