1.0.0 • Published 10 months ago

gcp-cloud-services v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

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

  1. Configuration for respective Cloud Providers
Generalized keysGCP
providergcloud
identityGCP Client Email
credentialGCP Private Key
region--
projectIdGCP Project ID
endpoint--
containerNameGCP Bucket Name
reportsContainerGCloud Reports Container Name
labelsContainerGCloud Labels Container Name

Releases

Release Notes