SOPS GCP KMS
Jump to navigation
Jump to search
Encryption/Decryption[edit]
To create file:
sops --gcp /your/path/to/your/sops-encryption-key test.yaml
To encrypt:
sops --encrypt test.yaml > test.enc.yaml
sops --encrypt --in-place
sops --encrypt --gcp-kms
Manage Keys[edit]
gcloud kms keyrings create your-sops-keyring --location global
gcloud kms keys create --location global --keyring your-sops-keyring --purpose encryption --protection-level "hsm"
Related[edit]
sops --azure-kv
SOPS_GCP_KMS_IDS
environmental variable
--gcp-kms
SOPS_GCP_KMS_IDS[1]
See also[edit]
Advertising: