sops --encrypt

From wikieduonline
(Redirected from Sops -e)
Jump to navigation Jump to search

Examples[edit]

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

Errors[edit]

config file not found, or has no creation rules, and no keys provided through command line options

Related[edit]

See also[edit]

Advertising: