Skip to content

Add tip that suggests 'aws login' during 'aws configure' for new profiles#10144

Open
ashovlin wants to merge 3 commits intoaws:v2from
ashovlin:shovlia/configure-login-tip
Open

Add tip that suggests 'aws login' during 'aws configure' for new profiles#10144
ashovlin wants to merge 3 commits intoaws:v2from
ashovlin:shovlia/configure-login-tip

Conversation

@ashovlin
Copy link
Member

Issue #, if available: CLI-8031

Description of changes:
* When running aws configure for new profiles, suggests aws login instead which does not require the usage of long-term IAM access keys.
* Also backfills some examples for aws login

➜ aws configure --profile my-new-profile

Tip: You can now deliver temporary credentials to the AWS CLI using your AWS Console session. Simply run 'aws login'.

AWS Access Key ID [None]: 

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Member

@kdaily kdaily left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A good improvement to the user experience to learn about this feature. Left some minor feedback on the wording.

@kdaily kdaily self-assigned this Mar 18, 2026
Co-authored-by: Kenneth Daily <kdaily@amazon.com>
@ashovlin ashovlin requested a review from kdaily March 18, 2026 21:03
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.

2 participants