Cox-Automotive/alks-cli

Caching Role Defect

Closed this issue · 0 comments

I am trying to switch between roles to test some different IAM policies

I run alks sessions open -i -a "###/ALKSAdmin - foo" -r "Admin"
the I run alks sessions open -i -a "###/ALKSIAMAdmin - foo" -r "IAMAdmin"
notice the change from ALKSAdmin to ALKSIAMAdmin
and I get back the same set of keys

Its most likely caching at the account level and not taking the role into consideration.