need to encrypt user and password string in a yaml file using a regex #964
Unanswered
GuillaumeBettayeb
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I have the following data file:
I need to encrypt the admin-user and admin-password values with sops.
my .sops config file is:
when I try encrypting in the command line with:
sops --encrypt --unencrypted-regex '(admin-[a-z]*)' myfile.yaml
it seems to be working, but when I try to encrypt the file itself, it fails with the following error message:
sops metadata not found
my question is, how can I encrypt the admin-user and admin-password strings with sops ?
thanks
Beta Was this translation helpful? Give feedback.
All reactions