Rename sts session when using the adapter
chris-brace opened this issue · 1 comments
chris-brace commented
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
sorry it appears that i misread the code. sorry for the spam