Difference between revisions of "Sops"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
== Examples == | == Examples == | ||
− | + | {{sops examples}} | |
− | |||
− | |||
− | |||
sops | sops | ||
Error: no file specified | Error: no file specified | ||
− | |||
== [[GCP KMS]] == | == [[GCP KMS]] == | ||
To encrypt or decrypt a document with GCP KMS, specify the | To encrypt or decrypt a document with GCP KMS, specify the |
Revision as of 07:51, 6 October 2022
Contents
Examples
sops --help
sops --encrypt --in-place your_file
sops --encrypt --gcp-kms
sops --decrypt --in-place your_file
sops --gcp
sops --azure-kv
sops --rotate
sops your-new-file
sops Error: no file specified
GCP KMS
To encrypt or decrypt a document with GCP KMS, specify the GCP KMS resource ID in the --gcp-kms flag or in the SOPS_GCP_KMS_IDS environment variable. (you need to setup google application default credentials. See https://developers.google.com/identity/protocols/application-default-credentials)
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
- Secrets: Kubernetes secrets,
ansible-vault
, Hashicorp Vault, AWS Secrets Manager, Google Secret Manager,git-crypt
, SOPS: Secrets OPerationS, Google Cloud Secret Manager, GitHub secret scanning alerts
Advertising: