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
I am trying to configure SOPS to encrypt secrets with kms keys that will come from different AWS accounts. Essentially if one has access to at least one of the keys he will be able to decrypt the file.
The way we configure our AWS in our workflow is through the usage of named aws profiles.
We'd like to automatically configure our sops secrets with several of those keys:
But when trying to encrypt anything with sops using this configuration file is trying to get the arn using the default aws profile. Basically the creation_rules[*].key_groups[*].kms[*].aws_profile are completely ignored.
How can I update my configuration to get sops working with several kms keys with different aws profiles?
The text was updated successfully, but these errors were encountered:
Hey
I am trying to configure SOPS to encrypt secrets with kms keys that will come from different AWS accounts. Essentially if one has access to at least one of the keys he will be able to decrypt the file.
The way we configure our AWS in our workflow is through the usage of named aws profiles.
We'd like to automatically configure our sops secrets with several of those keys:
I then tried to configure the
.sops.yaml
configuration file configuring the various keys and associated aws profile like so:But when trying to encrypt anything with sops using this configuration file is trying to get the
arn
using thedefault
aws profile. Basically thecreation_rules[*].key_groups[*].kms[*].aws_profile
are completely ignored.How can I update my configuration to get sops working with several kms keys with different aws profiles?
The text was updated successfully, but these errors were encountered: