Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

feat: Support "session_ttl" config param in every command (#251) #255

Merged
merged 2 commits into from
Dec 17, 2019

Conversation

sdann
Copy link
Contributor

@sdann sdann commented Dec 5, 2019

If "session_ttl" exists in config profile, use it as if --session-ttl was provided on the CLI.

This creates config parity between "session-ttl" and "assume-role-ttl".

I believe only one term is necessary, but we can address that in a later issue.

sdann added 2 commits December 5, 2019 14:52
)

If "session_ttl" exists in config profile, use it as if --session-ttl
was provided on the CLI.
Describe how the code actually works, where session-ttl determines the
duration of the first SAML assumed AWS role, not the session to Okta.
@sdann
Copy link
Contributor Author

sdann commented Dec 5, 2019

This also includes the README.md update from PR #250, which can be closed if this PR is merged.

@sdann sdann mentioned this pull request Dec 5, 2019
@sdann
Copy link
Contributor Author

sdann commented Dec 16, 2019

@nickatsegment Any comments on this PR? It's pretty straightforward.

@nickatsegment
Copy link
Contributor

@sdann yeah, sorry, I've been slammed with my real job :P

We technically are in a code freeze. But seems simple enough, and it only touches internal cmd code, so I'll merge it.

@nickatsegment nickatsegment merged commit 4e5f146 into segmentio:master Dec 17, 2019
@sdann sdann deleted the session_ttl-config branch December 17, 2019 21:49
@sdann
Copy link
Contributor Author

sdann commented Dec 17, 2019

@nickatsegment Thank you! Luckily my real job this month includes improving aws-okta.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants