Verify the Execution Target

aws --version
aws configure list-profiles
aws configure list --profile <PROFILE>
aws sts get-caller-identity --profile <PROFILE>

configure list shows configuration values and their sources; it does not list permissions. Use get-caller-identity to verify the account and calling principal.

Usage Principles

Specify the profile and region in task documentation. Keep access keys and session tokens out of examples. Check actual IAM permissions together with policy and target-resource conditions.

CI

Consider issuing short-lived credentials with OIDC instead of copying long-lived keys.

GitHub Actions OIDC

Powered by Fruition