Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Cross-account Roles? #62

Closed
parshnt opened this issue Mar 24, 2022 · 2 comments
Closed

Use Cross-account Roles? #62

parshnt opened this issue Mar 24, 2022 · 2 comments

Comments

@parshnt
Copy link

parshnt commented Mar 24, 2022

is there a way to specify the arn of the role with requests-aws4auth?

context: I'm trying to implement cross-account access like this:
https://docs.aws.amazon.com/athena/latest/ug/cross-account-permissions.html

ps: happy to pick this if this needs to be added

Thanks

@tedder
Copy link
Owner

tedder commented Mar 24, 2022

There isn't, but feel free to add- just make sure to give a decent test case.

@parshnt
Copy link
Author

parshnt commented Apr 22, 2022

I was able to get this working for my use case using the AWS STS client to generate short-lived credentials and then implementing a custom class to refresh them at intervals.

closing this.

@parshnt parshnt closed this as completed Apr 22, 2022
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

No branches or pull requests

2 participants