aws sts get-caller-identity — Basic UsageIT technician command center
AWS CLI · Amazon Web Services

aws sts get-caller-identity — Basic Usage

Use aws sts get-caller-identity for a standard administrative task.

Copy-ready commandaws sts get-caller-identity — Basic Usage
aws sts get-caller-identity

Requirements and permissions

Requirements
AWS CLI v2
Permissions
AWS IAM permissions vary
Last reviewed
2026-07-31

Examples

Basic Usage

Use aws sts get-caller-identity for a standard administrative task.

aws sts get-caller-identity

Original command

Display the current AWS identity.

aws sts get-caller-identity

Common errors

Command not found

Confirm AWS CLI v2 is installed and available in your current shell.