Difference between revisions of "SOPS GCP KMS"

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  
 
+
== [[Encryption]]/[[Decryption]] ==
 
To create file:  
 
To create file:  
[[sops --gcp]] /your/path/to/your/sops-encryption-key test.yaml
+
* <code>[[sops --gcp]] /your/path/to/your/sops-encryption-key test.yaml</code>
  
 
To encrypt:
 
To encrypt:
[[sops --encrypt]] test.yaml > test.enc.yaml
+
* <code>[[sops --encrypt]] test.yaml > test.enc.yaml</code>
[[sops --encrypt --in-place]]
+
* <code>[[sops --encrypt --in-place]]</code>
 +
* <code>[[sops --encrypt --gcp-kms]]</code>
  
 +
== Manage Keys ==
 +
* <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>
  
 +
== Related ==
 +
* <code>[[sops --azure-kv]]</code>
 +
* <code>[[SOPS GCP KMS IDS environment variable|SOPS_GCP_KMS_IDS]]</code> environmental variable
 
  <code>[[--gcp-kms]]</code>
 
  <code>[[--gcp-kms]]</code>
 
  [[SOPS_GCP_KMS_IDS]]<ref>https://github.com/mozilla/sops#26adding-and-removing-keys</ref>
 
  [[SOPS_GCP_KMS_IDS]]<ref>https://github.com/mozilla/sops#26adding-and-removing-keys</ref>
 
== Related ==
 
 
 
  
 
== See also ==
 
== See also ==

Latest revision as of 09:54, 31 October 2022

Advertising: