Created
March 23, 2023 16:21
-
-
Save Zeryther/89c89d1e8f2933e3f690d75e131bcca4 to your computer and use it in GitHub Desktop.
Quickly test AWS account credentials with Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enter your Access Key ID and Secret Access Key below to quickly test credentials without having to reconfigure your host machine | |
docker run --rm -e AWS_ACCESS_KEY_ID=<your_access_key_id> -e AWS_SECRET_ACCESS_KEY=<your_secret_access_key> amazon/aws-cli sts get-caller-identity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment