Initial Access and Authentication
Authentication
# Configure tokens
aws configure
# From cloud shell for AWS tokens
TOKEN=$(curl -X PUT localhost:1338/latest/api/token -H "X-aws-ec2-metadata-token-ttl-seconds: 60")
curl localhost:1338/latest/meta-data/container/security-credentials -H "X-aws-ec2-metadata-token: $TOKEN"Account ID
aws sts get-access-key-info --access-key-id [KEY]Last updated