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

Missing support for AWS_SESSION_TTL and AWS_ASSUME_ROLE_TTL in env and write-to-credentials #252

Closed
chizou opened this issue Nov 23, 2019 · 3 comments
Labels

Comments

@chizou
Copy link

chizou commented Nov 23, 2019

The options env and write-to-credentials don't seem to have the calls to loadDurationFlagFromEnv that the exec option seems to have. This is breaking some of our use cases. Can it be added to bring env and write-to-credentials on parity with exec?

@chizou
Copy link
Author

chizou commented Nov 23, 2019

They also seem to be lacking support for the assume_role_ttl option in the config file

@j0nathontayl0r
Copy link

j0nathontayl0r commented Jan 17, 2020

Yeah I've just came across this problem @chizou.

If you use the -t flag when using the CLI though, the TTL is honoured.

E.g.

aws-okta exec AnAWSAccount-Profile -t 12h -- code 

@nickatsegment
Copy link
Contributor

Wontfix #278

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

No branches or pull requests

3 participants