Skip to content

added option to use access key (assume role) via environment variables#28

Open
Akikazuu wants to merge 1 commit intoleboncoin:masterfrom
Akikazuu:master
Open

added option to use access key (assume role) via environment variables#28
Akikazuu wants to merge 1 commit intoleboncoin:masterfrom
Akikazuu:master

Conversation

@Akikazuu
Copy link
Copy Markdown

@Akikazuu Akikazuu commented Oct 6, 2022

In my case I have to use your script by assuming a role to access different AWS sub accounts.

I added some code (probably not the best way) to use environment variables instead of aws profiles.

The keyword "varenv" in the profile argument allows to use environment variables.

The code needs the standard python library : os

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant