@nx-extend/gcp-secrets
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 |
Deploy
Available options:
name |
type |
default |
description |
--project |
string |
|
GCP project to deploy to |
Encrypt
Available options:
name |
type |
default |
description |
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 |