aws_whoami
Verify AWS authentication by displaying current account, role ARN, and user ID. Checks SSO token status and remaining time, providing guidance if 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. |