ex-aws / ex_aws_sts

13 stars 31 forks source link

Rename sts session when using the adapter #21

Closed chris-brace closed 3 years ago

chris-brace commented 3 years ago

It does not appear to be possible to override the name default_session here https://github.com/ex-aws/ex_aws_sts/blob/master/lib/ex_aws/sts/auth_cache/assume_role_credentials_adapter.ex#L23 . This would be useful as we have lots of different STS sessions from various applications happening at once.

I would be happy to contribute a patch but i'd need to be pointed at an example of how to get config values in the adapter so i conform to standards.

chris-brace commented 3 years ago

sorry it appears that i misread the code. sorry for the spam