Created
July 11, 2023 09:37
-
-
Save greencamp20552/9c1c29e682d647c4648db5fdba62bc5d to your computer and use it in GitHub Desktop.
aws-architect-professional
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
| from boto.s3.connection import S3Connection | |
| from boto.sts import STSConnection | |
| user = sts.get_federation_token('user1') | |
| s3connection = S3Connection(user.credentials.access_key, user.credentials.secret_key, security_token=user.credentials.session_token) | |
| s3connection.create_bucket('dev.professional') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment