You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"sops_decrypt_file" failed: Error getting data key: 2 successful groups required, got 1.
This should still let me decrypt. I do not understand why we need two minimum. AGE encryption is a redundancy just incase something bad happens to KMS, and the AGE private key is not stored on my local machine.
The reason why I am in this situation is because it appears based on the SOPs documentation the only way to have a KMS configured which requires role assumption to encrypt/decrypt is to use the key_groups syntax above. There is no configuration I have found where SOPS will allow me to set a role as a creation rule other than this. How do I fix?
The text was updated successfully, but these errors were encountered:
kriegster108
changed the title
SOPS wont put KMS, age, or role into encrypted file when specifying role
Cant assume role in .sops.yaml configuration unless key_groups are implemented
Jul 19, 2024
kriegster108
changed the title
Cant assume role in .sops.yaml configuration unless key_groups are implemented
key_groups should only require 1 group to decrypt minimum
Jul 19, 2024
my solution for now, because I am using this alongside terragrunt is to just use the sops terraform provider directly in my TF manifests vs loading the file in using terragrunt's syntax
using sops 3.8.1
My
.sops.yaml
I am able to encrypt and decrypt SOPS secrets using this configuration:
If I uncomment the
age
portion it fails to decrypt via this configuration:Error:
"sops_decrypt_file" failed: Error getting data key: 2 successful groups required, got 1.
This should still let me decrypt. I do not understand why we need two minimum. AGE encryption is a redundancy just incase something bad happens to KMS, and the AGE private key is not stored on my local machine.
The reason why I am in this situation is because it appears based on the SOPs documentation the only way to have a KMS configured which requires role assumption to encrypt/decrypt is to use the
key_groups
syntax above. There is no configuration I have found where SOPS will allow me to set arole
as a creation rule other than this. How do I fix?The text was updated successfully, but these errors were encountered: