Closed orenmazor closed 2 years ago
That would be great but that would need to be interpreted and implemented as part of some refresh mechanism I believe. Role chain switching itself cannot go beyond 1 hour: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html "Role chaining limits your AWS CLI or AWS API role session to a maximum of one hour."
thats what I thought as well, but somehow aws-vault does it. do they just refresh regularly?
edit:
oooh TIL: https://github.com/99designs/aws-vault/blob/master/USAGE.md#session-duration
Closing this issue as stated there is a 1 hour limit to role chaining sessions.
hey all,
assuming a config as follows:
if I do
assume bar
, I would expect thatbar
might be inheriting the settings offoo
, but this is not the case. that makes sense for a ton of reasons.however, if I DO set explicit duration seconds on bar:
I still only get the default one hour setting. is this intentional, or just something I can PR some functionality towards?