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

feat: Include session expiration as AWS_SESSION_EXPIRATION #48

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

RobinNil
Copy link

A use case for this:

  1. Show expiration at bash prompt

Requirements:

  1. uprev aws-sdk-go to get ExpiresAt() call

Compilation will be made via Docker to maximize reproducibility.
Dependencies will be managed via Go module.

A use case for this:
1. Show expiration at bash prompt

Requirements:
1. uprev aws-sdk-go to get ExpiresAt() call

Compilation will be made via Docker to maximize reproducibility.
Dependencies will be managed via Go module.
@duckfez
Copy link

duckfez commented Feb 16, 2020

Fixes #41.

I'd personally prefer if the expiration was exposed an an epoch value. Basically, I'm looking to be able to do math to decide if a refresh of the session token is needed before calling terraform apply.

@russellballestrini
Copy link
Contributor

Hey @RobinNil let me know when this is ready for another review.

Just an FYI, internally at Remind we have switched a lot of our engineers from remind101/assume-role to 99designs/aws-vault (https://github.com/99designs/aws-vault)

CC @jherico

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.

4 participants