cloud-config-toolkit-gc-storage

0.0.3 • Public • Published

Cloud config toolkit gc storage

Cloud config toolkit google cloud storage implements the storage interface required by Cloud config toolkit.

Installation

Install the package in the project:

npm install --save cloud-config-toolkit-gc-storage

Then use Storage constructor in cct.conf.js:

// `cct.conf.js`
const Storage = require('cloud-config-toolkit-gae-storage');
 
module.exports = {
  storage: new Storage({
    bucketName: 'my-bucket-for-configs',
    keyFilename: './gc.conf.json'
  }),
  // ...
};

Configuration

Storage constructor accepts a configuration object with properties:

  • bucketName - an unique bucket name where configuration files are going to be stored;
  • keyFilename - the path to key file.

For more details check Cloud config toolkit documentation.

Package Sidebar

Install

npm i cloud-config-toolkit-gc-storage

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

5.17 kB

Total Files

5

Last publish

Collaborators

  • panzerdp
  • alexoco