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 = ; moduleexports = 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.