What's wrong with this entry?
Anonymous. No account, no email.
What: When using AWS Bedrock, credentials are now validated and refreshed automatically at startup.
How to use:
# Configure custom AWS auth commands in ~/.claude.json
{
"awsAuthRefresh": "aws sso login --profile my-profile",
"awsCredentialExport": "aws configure export-credentials --profile my-profile"
}
# Or skip auto-initialization if not needed
export CLAUDE_CODE_SKIP_BEDROCK_AUTH=1
claude
Details:
- Runs at startup when
CLAUDE_CODE_USE_BEDROCKis set andCLAUDE_CODE_SKIP_BEDROCK_AUTHis not set - First attempts standard AWS SDK authentication via STS GetCallerIdentity
- Falls back to custom
awsAuthRefreshorawsCredentialExportcommands if needed - Includes workspace trust checks before executing custom commands
- Provides visual authentication feedback
- Evidence: New
uhQ()initialization function at line 465179, called during startup at line 475285 in pretty-v2.0.24.js