aws sts get-caller-identity
SafeWho am I (AWS)
aws sts get-caller-identity
Confirms which AWS account/role the current credentials map to.
Examples
aws sts get-caller-identityShow account and ARN
Syntax
aws sts get-caller-identity
Before you run it
Read-only.
Related commands
- aws ec2 describe-instancesList EC2
- az login / account showAzure auth
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store