Difference between revisions of "Sops --encrypt"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
  
 
  sops --encrypt [[--encrypted-regex]] '^(data|stringData)$' app-secret.yaml
 
  sops --encrypt [[--encrypted-regex]] '^(data|stringData)$' app-secret.yaml
 
+
(no output)
  
 
== Related ==
 
== Related ==

Revision as of 09:06, 16 November 2022

sops --encrypt --in-place --unencrypted-regex '^(description|metadata)$' k8s-secret.yaml
sops --encrypt --encrypted-regex '^(data|stringData)$' app-secret.yaml
(no output)

Related

  • To create file using GCP: sops --gcp /your/path/to/your/sops-encryption-key test.yaml

See also

Advertising: