Created
February 11, 2021 09:48
-
-
Save ivankeller/8dfa729460f443cc1039e039d2308c62 to your computer and use it in GitHub Desktop.
Connect to AWS with your AWS profile
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
import boto3 | |
profile_name = '' | |
prod = boto3.session.Session(profile_name=profile_name) | |
# use it, example: | |
s3client = prod.client('s3') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment