aws_whoami
Verify your current AWS identity and SSO token status before running other operations. Shows account, role ARN, user ID, and time remaining; alerts and provides fix-it message if SSO is expired.
Instructions
Show the current AWS identity (account, role ARN, user ID) plus SSO token status and time remaining. Use this first to verify auth before running other AWS operations. Returns a structured fix-it message if SSO is expired.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | AWS profile name. Defaults to $AWS_PROFILE or 'default'. | |
| region | No | AWS region. Defaults to $AWS_REGION or us-east-1. |