Difference between revisions of "Sops"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
* https://github.com/mozilla/sops | * https://github.com/mozilla/sops | ||
− | |||
− | |||
− | |||
+ | == Examples == | ||
* <code>[[sops --help]]</code> | * <code>[[sops --help]]</code> | ||
− | + | * <code>[[sops --encrypt --in-place]] your_file</code> | |
+ | * <code>[[sops --decrypt --in-place]] your_file</code> | ||
+ | * <code>[[sops --rotate]]</code> | ||
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 | ||
Line 18: | Line 19: | ||
(you need to setup google application default credentials. See | (you need to setup google application default credentials. See | ||
https://developers.google.com/identity/protocols/application-default-credentials) | https://developers.google.com/identity/protocols/application-default-credentials) | ||
− | |||
== Related == | == Related == |
Revision as of 07:48, 6 October 2022
Contents
Examples
sops --help
sops --encrypt --in-place your_file
sops --decrypt --in-place your_file
sops --rotate
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
Advertising: