Difference between revisions of "SOPS GCP KMS"
Jump to navigation
Jump to search
↑ https://github.com/mozilla/sops#26adding-and-removing-keys
Line 7: | Line 7: | ||
* <code>[[sops --encrypt]] test.yaml > test.enc.yaml</code> | * <code>[[sops --encrypt]] test.yaml > test.enc.yaml</code> | ||
* <code>[[sops --encrypt --in-place]]</code> | * <code>[[sops --encrypt --in-place]]</code> | ||
+ | |||
+ | == Manage Keys == | ||
+ | [[gcloud kms keyrings create sops --location global]] | ||
+ | |||
Revision as of 09:23, 31 October 2022
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
Manage Keys
gcloud kms keyrings create sops --location global
--gcp-kms
SOPS_GCP_KMS_IDS[1]
Related
See also
- SOPS,
sops | sops -d | sops -e | sops exec-env | sops exec-file | sops publish | sops keyservice | sops groups | sops updatekeys | sops --help
- SOPS: Secrets OPerationS,
sops
, GCP,ENC[AES256_GCM, sops-secrets-operator
Advertising: