sops --encrypt

From wikieduonline
Revision as of 07:18, 24 November 2022 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Examples

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

Related

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

See also

Advertising: