Apply 1 suggestion(s) to 1 file(s)

ADP-179_doc_sops
Lee Watson 10 months ago
parent d35751093d
commit c3cb659d20

@ -56,6 +56,7 @@ If these steps work, sops is configured correctly - on your machine ;-)
#!/usr/bin/env bash
set -ueo pipefail
# demo: create a file with a mock secret, src: https://bash-org-archive.com/?244321
# PREREQUISITE: valid sops config, i.e. .sops.yaml
yq -n '.demo.credentials.secret = "hunter2"' > secrets.yaml
# encrypt
sops -e -i secrets.yaml

Loading…
Cancel
Save