getsops / sops

Simple and flexible tool for managing secrets
https://getsops.io/
Mozilla Public License 2.0
16.75k stars 871 forks source link

Support AWS assume_role external id #1095

Open wiseelf opened 2 years ago

wiseelf commented 2 years ago

It would be cool if we could assume role with external id set. Something like this:

  - path_regex: secrets/environments/production/secrets.yaml
    kms: 'arn:aws:kms:us-east-1:666666666:key/xxxx-x-xxxxx+arn:aws:iam:us-east-1:666666666:role/kms_role'
    external_id: 'some_secret_external_id'

or

creation_rules:
  - kms: arn:aws:kms:us-east-1:666666666:key/xxxx-x-xxxxx+arn:aws:iam:us-east-1:666666666:role/kms_role+some_secret_external_id

What do you think?

wiseelf commented 2 years ago

UP