Skip to content

Instantly share code, notes, and snippets.

@chris
Created August 7, 2020 21:57
Show Gist options
  • Save chris/2ba06b6c692b7c13fe6c3826b81fc10c to your computer and use it in GitHub Desktop.
Save chris/2ba06b6c692b7c13fe6c3826b81fc10c to your computer and use it in GitHub Desktop.
AWS SDK configuration with role profile in Python
sess = boto3.session.Session(profile_name='mycompany_somerole_devaccount')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment