Last active
August 7, 2020 22:05
-
-
Save chris/a8c3a9a52391d5bbe991f677daffc993 to your computer and use it in GitHub Desktop.
Go example for configuring AWS SDK with a role based 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
sess := session.Must(session.NewSessionWithOptions(session.Options{ | |
Profile: "mycompany_somerole_devaccount", | |
SharedConfigState: session.SharedConfigEnable, | |
})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment