Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add duration parameter #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mercantiandrea
Copy link

@mercantiandrea mercantiandrea commented Apr 22, 2018

Added the duration, in seconds, of the role session

@max-allan-surevine
Copy link

I'd prefer to see it detect the maximum duration and use that. Sadly boto3 seems to struggle with getting that value. As does the AWS CLI. Should be an iam.Role('name').max_session_duration ...

@mercantiandrea
Copy link
Author

@max-allan-surevine I think that is better to maintain the same old behaviour without specifying the new parameter. In case of specification, for sure, the script will take the value passed.

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

Successfully merging this pull request may close these issues.

3 participants