@tdalabs/keystore-helper

1.0.2 • Public • Published

create keyring and cryptokey

gcloud beta kms keyrings create test --location global
gcloud beta kms cryptokeys create tutorial \
    --location global \
    --keyring test \
    --purpose encryption

encrypt folder

node keys.js encrypt test-build-creds prod-circleci test-creds/config.json test-creds.encrypted/config.json

upload folder

node gcs.js upload test-project-creds test-creds.encrypted/

list files in gcs bucket

node gcs.js list test-project-creds test-creds.encrypted

download file

node gcs.js download test-project-creds test-creds.encrypted/config.json test-creds.encrypted/config.json

decrypt file

node keys.js decrypt test-build-creds prod-circleci test-creds.encrypted/config.json test-creds.encrypted/config.json

Package Sidebar

Install

npm i @tdalabs/keystore-helper

Weekly Downloads

1

Version

1.0.2

License

Apache-2.0

Last publish

Collaborators

  • vroomdevops
  • tdalab
  • davidmcgee