Difference between revisions of "SOPS GCP KMS"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
* <code>[[gcloud kms keyrings create your-sops-keyring --location global]]</code>
 
* <code>[[gcloud kms keyrings create your-sops-keyring --location global]]</code>
 
* <code>[[gcloud kms keys create]] --location global --keyring your-sops-keyring --purpose encryption --protection-level "hsm"</code>
 
* <code>[[gcloud kms keys create]] --location global --keyring your-sops-keyring --purpose encryption --protection-level "hsm"</code>
 
<code>[[--gcp-kms]]</code>
 
[[SOPS_GCP_KMS_IDS]]<ref>https://github.com/mozilla/sops#26adding-and-removing-keys</ref>
 
  
 
== Related ==
 
== Related ==

Revision as of 09:54, 31 October 2022

Encryption/Decryption

To create file:

  • sops --gcp /your/path/to/your/sops-encryption-key test.yaml

To encrypt:

Manage Keys

Related

See also

Advertising: