assume-role icon indicating copy to clipboard operation
assume-role copied to clipboard

feat: Include session expiration as AWS_SESSION_EXPIRATION

Open RobinNil opened this issue 5 years ago • 2 comments

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.

RobinNil avatar Dec 17 '19 20:12 RobinNil

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.

duckfez avatar Feb 16 '20 02:02 duckfez

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

russellballestrini avatar May 28 '20 09:05 russellballestrini