Open kavita1205 opened 2 years ago
i have same issue. and i fix it by adding the key on the missing path. but i think there have the official way to fix this.
Only the public key (age1wv2tmu3szxlrn5gxr7yxx3c39spn9q30acdys5t2wpxsqzmd0yjsfdghgsd
in your case) is added to the .sops.yaml
as .sops.yaml
is meant to be committed to git and committing the private key would negate the use of sops. For you to be able to decrypt it, you'll have to have keys.txt
on your server and the environment variable: SOPS_AGE_KEY_FILE
point to it or pass it in as an environment variable SOPS_AGE_KEY
i have same issue. and i fix it by adding the key on the missing path. but i think there have the official way to fix this.
can you elaborate, what is the missing path?
thank you @mthbrown
It seems like the env vars SOPS_AGE_KEY_FILE
and SOPS_AGE_KEY
are not well documented in SOPS, they did however fix the issue here.
Hi Team, I am running helm chart in a container and passing below configurations for .sops.yaml. Also, I am using age for encryption and decryption. Now when I am running below helm command in CICD pipeline then I am getting error but when I am running same command in my local linux box then it is working fine. Can someone please help me here to fix this issue.
Command:-
Error :-