-
Notifications
You must be signed in to change notification settings - Fork 224
missing session_ttl option? #251
Comments
I second this lack of a For example on 0.27.0:
I could work around this in the config file if |
After diving through the code, I now understand that:
This was very confusing at first. I had assumed @nickatsegment Question: why have 2 different names? Since the tool is only ever assuming 1 final role eventually, why not use the same config parameter for both? Say |
That nomenclature predates my tenure at aws-okta :) I'm not really aware of any use cases where you'd want different values for these. Possibly the STS creds associated with |
* feat: Support "session_ttl" config param in every command (#251) If "session_ttl" exists in config profile, use it as if --session-ttl was provided on the CLI. * docs: Update config param section of README Describe how the code actually works, where session-ttl determines the duration of the first SAML assumed AWS role, not the session to Okta.
There are environment variables
AWS_SESSION_TTL
andAWS_ASSUME_ROLE_TTL
. The config file option forassume_role_ttl
exists but there doesn't seem to be a matching option forsession_ttl
. Is this expected?Admittedly, I'm not completely certain what the difference between the two are so can that also be explained?
The text was updated successfully, but these errors were encountered: