aws enumeration
- Enumerate local environment variables
echo $AWS_EXECUTION_ENV
- Local AWS configuration and potential secrets
user@host:~ export | awk '/ACCESS|SECRET|REGION|TOKEN/'
- Lambda functions permissions
aws sts get-caller-identity
- Permissions of a listed bucket
aws s3api list-objects-v2 --bucket INSERTBUCKETNAMEHERE | grep 'Key' | head -n 3