Difference between revisions of "Sops --encrypt"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
* <code>[[sops --encrypt --in-place]] your_file</code>
 
* <code>[[sops --encrypt --in-place]] your_file</code>
 
* <code>[[sops --encrypt --gcp-kms]]</code>
 
* <code>[[sops --encrypt --gcp-kms]]</code>
 +
 +
sops --encrypt --in-place [[--unencrypted-regex]] '^(description|metadata)$' k8s-secret.yaml
 +
  
 
== Related ==
 
== Related ==

Revision as of 09:31, 31 October 2022

sops --encrypt --in-place --unencrypted-regex '^(description|metadata)$' k8s-secret.yaml


Related

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

See also

Advertising: