aws_get_caller_identity
Retrieve the current IAM identity to verify which AWS account and role are active for a profile, confirming authentication details before operations.
Instructions
Get the IAM identity of the current caller (STS GetCallerIdentity). Useful for verifying which AWS account and role are active for a profile.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | AWS profile name from ~/.aws/config (e.g., 'default', 'production') | |
| region | No | AWS region override (e.g., 'us-east-1', 'sa-east-1') |