aws_whoami
Check current AWS identity and SSO session status to verify authentication before running other AWS operations. Alerts with fix-it guidance when SSO expires.
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 |
|---|---|---|---|
| region | No | AWS region. Defaults to $AWS_REGION or us-east-1. | |
| profile | No | AWS profile name. Defaults to $AWS_PROFILE or 'default'. |