AWS CLI 2 · Setup and credentials

Check who you are

Show the account and identity the CLI is using. The first thing to check when something is denied.

aws sts get-caller-identity

Official AWS CLI 2 documentation

More setup and credentials commands

All setup and credentials commands · AWS CLI 2 cheatsheet

Was this page helpful?