granted icon indicating copy to clipboard operation
granted copied to clipboard

[Feature Request] Use role_session_name as session identifier if present

Open dpolombodkt opened this issue 2 years ago • 1 comments

Prior to commit https://github.com/common-fate/granted/commit/0b0be89dee39dcda17dcc4040297ae58b3366472, it was possible to declare a role_session_name from .aws/config, but now it is completely ignored.

The main reason I'd like to use this is to have session identification parity with the web console and identity federation.

Would it be possible to check for that value first, and only generate a unique session identifier if there is no explicit role_session_name?

dpolombodkt avatar Jul 21 '22 12:07 dpolombodkt

Thanks for the request @dpolombodkt we will get this sorted for you

JoshuaWilkes avatar Jul 22 '22 07:07 JoshuaWilkes

Submitted https://github.com/common-fate/granted/pull/226 to address this feature request.

pdecat avatar Aug 25 '22 13:08 pdecat