AWS command line
high risk
aws sts get-caller-identityConfirm the account firstaws configure listCheck profile/regionEntry point for AWS services. Check the account with `aws sts get-caller-identity`.
| Flag | Meaning |
|---|---|
--profile --profile | Credentials profile |
--region --region | Region |
--dry-run --dry-run | Validate (EC2 only) |
--query --query | JMESPath filter |
--output --output | json|table|text |
aws sts get-caller-identityWho am I? · explain & risk-check →aws ec2 describe-instances --output tableList instances · explain & risk-check →Reference text is hand-written and may be incomplete — check man aws for your version. Test destructive commands on a non-production system first.