aws / aws/aws-cli

'aws2 sso login' should not open SSO login page on browser if current security token is still valid

Open
#5,972 4 comments 13 reactions 0 assignees View on GitHub
feature-request p3 sso
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

**Is your feature request related to a problem? Please describe.**
I have setup my iTerm2 profile to run 'aws2 sso login' when I open terminal, as I want my terminal to be setup automatically to accept **kubectl** commands. But each time I get redirected to a browser, even when my temporary credentials and token is currently active.

**Describe the solution you'd like**
Don't open browser if my temporary credentials are valid and active.

**Describe alternatives you've considered**
No alternative

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.