Difference between revisions of "Sops --encrypt --gcp-kms"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
== Related ==
 
== Related ==
 
* <code>[[sops --decrypt --gcp-kms]]</code>
 
* <code>[[sops --decrypt --gcp-kms]]</code>
 +
* <code>[[gcloud kms keys list --location global --keyring sops]]</code>
 
* <code>[[SOPS_GCP_KMS]]</code> [[environment variable]]
 
* <code>[[SOPS_GCP_KMS]]</code> [[environment variable]]
 
* [[KMS]]
 
* [[KMS]]

Revision as of 07:58, 22 November 2022

You can define your key using --gcp-kms option or by defining a SOPS_GCP_KMS environment variable

sops --encrypt --gcp-kms
sops --encrypt --gcp-kms $KMS_PATH secret.yaml > secret.enc.yaml
sops --encrypt
sops --encrypt --gcp-kms only-one-file
Error: no file specified


Related

See also

Advertising: