Created
January 31, 2018 10:15
-
-
Save Teketel/95ecbd62dec11b2d753c20e7c6a2cf54 to your computer and use it in GitHub Desktop.
Get AWS Account ID
This file contains 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
print boto3.client("sts").get_caller_identity()["Account"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment