1.0.0 • Published 10 months ago
gcp-cloud-services v1.0.0
Sunbird
gcp-cloud-services
GCP cloud service is GCP-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 GCP cloud provider.
License
This project is licensed under the MIT License. See LICENSE for more information.
Table of contents
Installation
$ npm install --save gcp-cloud-services
Usage
const cloudService = require('gcp-cloud-services');
const config = {
identity: CLOUD_IDENTITY,
credential: CLOUD_IDENTITY_KEY,
labelContainer: LABEL_CONTAINER_NAME
};
let client = cloudService.init();
let storage = new client(config);
storage.SERVICE_NAME()...
Options
- Configuration for respective Cloud Providers
Generalized keys | GCP |
---|---|
provider | gcloud |
identity | GCP Client Email |
credential | GCP Private Key |
region | -- |
projectId | GCP Project ID |
endpoint | -- |
containerName | GCP Bucket Name |
reportsContainer | GCloud Reports Container Name |
labelsContainer | GCloud Labels Container Name |
Releases
1.0.0
10 months ago