Socket
Socket
Sign inDemoInstall

@tdalabs/keystore-helper

Package Overview
Dependencies
198
Maintainers
17
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @tdalabs/keystore-helper

encrypt and store credentials in google cloud storage buckets


Version published
Maintainers
17
Install size
24.9 MB
Created

Readme

Source

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

Keywords

FAQs

Last updated on 13 Mar 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc