Nx plugin for deploy your secrets Secret Manager.
npm install -D @nx-extend/gcp-secrets
nx g @nx-extend/gcp-secrets:init
Add an environment variable named GCP_SECRETS_ENCRYPTION_KEY
that holds your key to encrypt and decrypt your secrets.
name |
type |
default |
description |
--secret |
string |
|
Only decrypt the secret with this name |
name |
type |
default |
description |
--project |
string |
|
GCP project to deploy to |
--secret |
string |
|
Only decrypt the secret with this name |
name |
type |
default |
description |
--secret |
string |
|
Only decrypt the secret with this name |
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 |