cloud-config-toolkit-gc-storage
v0.0.3
Published
Cloud config toolkit: Google cloud storage integration
Readme
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-storageThen 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.
