@nx-extend/gcp-secrets
TypeScript icon, indicating that this package has built-in type declarations

9.0.0 • Public • Published

@nx-extend/gcp-secrets

@nx-extend/gcp-secrets NPM package

Nx plugin for deploy your secrets Secret Manager.

Setup

Install

npm install -D @nx-extend/gcp-secrets
nx g @nx-extend/gcp-secrets:init

Usage

Add an environment variable named GCP_SECRETS_ENCRYPTION_KEY that holds your key to encrypt and decrypt your secrets.

Decrypt

Available options:

name type default description
--secret string Only decrypt the secret with this name

Deploy

Available options:

name type default description
--project string GCP project to deploy to
--secret string Only decrypt the secret with this name

Encrypt

Available options:

name type default description
--secret string Only decrypt the secret with this name

Meta data explained

Attribute default description
status Status of the file, encrypted or decrypted
labels [] Array of labels to add to the secrets
onUpdateBehavior destroy What to do when updating, destory, delete, or disable

Readme

Keywords

none

Package Sidebar

Install

npm i @nx-extend/gcp-secrets

Weekly Downloads

54

Version

9.0.0

License

MIT

Unpacked Size

70.7 kB

Total Files

53

Last publish

Collaborators

  • tripss