okta / okta-aws-cli

A CLI for having Okta as the IdP for AWS CLI operations
https://github.com/okta/okta-aws-cli
Other
128 stars 34 forks source link

AWS_SESSION_DURATION has no effect #67

Closed philhead closed 1 year ago

philhead commented 1 year ago

Setting the AWS_SESSION_DURATION environment variable has no effect. For example, when setting the env var to 43200, the token still expires after one hour.

The --session-duration parameter does work correctly, though.

monde commented 1 year ago

Thanks @philhead , this should be a quick fix