kreuzwerker / awsu

Enhanced account switching for AWS, supports Yubikey as MFA source
GNU General Public License v3.0
175 stars 16 forks source link

Reduce default 'MaxSessionDuration' to 1h #26

Closed daniel-ciaglia closed 6 years ago

daniel-ciaglia commented 6 years ago

https://github.com/kreuzwerker/awsu/blob/729f4c44a7cd54e8ab6f39043d939039ac2efb29/command/root.go#L71

It seems the default 'MaxSessionDuration' is 1h for roles in our own accounts. Please change the behaviour to 1h. (Edit: relevant parameter is -t time to live for cached role credentials