Skip to content

feat: Include session expiration as AWS_SESSION_EXPIRATION#48

Open
RobinNil wants to merge 10 commits intoremind101:masterfrom
roadtrippers:master
Open

feat: Include session expiration as AWS_SESSION_EXPIRATION#48
RobinNil wants to merge 10 commits intoremind101:masterfrom
roadtrippers:master

Conversation

@RobinNil
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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.

3 participants