error loading config: no matching creation rules found
when running sops decrypt
#1517
-
I'm trying to pull a specific key out of a YAML file encrypted with sops, but I'm running into trouble. When I run
This is my directory structure:
This is my keys:
- &primary age1t6gkgpufq0vssxcqrh65v8vkgcln0tvkgdsgsjramdv7lcq7e5eqwy5p7h
creation_rules:
- path_regex: secrets/secrets.yaml$
key_groups:
- age:
- *primary |
Beta Was this translation helpful? Give feedback.
Answered by
felixfontein
May 31, 2024
Replies: 1 comment 1 reply
-
Are you using a version compiled from the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
poperigby
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are you using a version compiled from the
main
branch? If not, your version of sops likely does not have thedecrypt
subcommand, and you have to runsops --decrypt --extract '["key1"]["key2"] secrets/secrets.yaml
instead.