Skip to content

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

Merged
ashovlin merged 4 commits intoaws:v2from
ashovlin:shovlia/configure-login-tip
Mar 26, 2026
Merged

Add tip that suggests 'aws login' during 'aws configure' for new profiles#10144
ashovlin merged 4 commits intoaws:v2from
ashovlin:shovlia/configure-login-tip

Conversation

@ashovlin
Copy link
Copy Markdown
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
Copy Markdown
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.

Comment thread awscli/examples/configure/_description.rst Outdated
@kdaily kdaily self-assigned this Mar 18, 2026
@ashovlin ashovlin requested a review from kdaily March 18, 2026 21:03
Copy link
Copy Markdown
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.

Nice, LGTM!

@ashovlin ashovlin force-pushed the shovlia/configure-login-tip branch from dfda1d8 to 1278df9 Compare March 26, 2026 13:29
@ashovlin ashovlin merged commit a2c1e7c into aws:v2 Mar 26, 2026
89 of 91 checks passed
@ashovlin ashovlin deleted the shovlia/configure-login-tip branch March 26, 2026 18:10
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