Show status of all AWS profiles including expiration and current active profile
/plugin marketplace add Add4x/cc-plugins/plugin install aws-profile-manager@development-plugins-marketplaceDisplay the status of all AWS profiles configured for Vehicle Custody accounts.
Check AWS_PROFILE environment variable: Show which profile is currently active
Read ~/.aws/credentials: Parse the credentials file to find all vc-* profiles
Analyze each profile:
Format and display status:
AWS Profile Status
==================
Current Active Profile: vc-nonprod (via AWS_PROFILE)
Profile Account Role Status Notes
-------------------------------------------------------------------------
vc-nonprod 536228277869 ALKSAdmin ✓ Valid ALKS temporary credentials
vc-sandbox 240398786999 ALKSReadOnly ✓ Valid ALKS temporary credentials
vc-preprod 617995200517 ALKSReadOnly ⚠ Expired Run /aws-auth preprod
vc-prod 867828046507 ALKSReadOnly ✗ Missing Run /aws-auth prod
Tip: ALKS temporary credentials expire after ~12 hours
Use /aws-auth-all to refresh all profiles
Use /aws-switch <profile> to change active profile
Show which profile is currently active by checking:
If possible, estimate credential expiration by:
_internal_managed_by=alks marker