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

SQS Broker - handle STS authentication with AWS #1322

Merged
merged 8 commits into from
Mar 29, 2021
Merged

SQS Broker - handle STS authentication with AWS #1322

merged 8 commits into from
Mar 29, 2021

Conversation

galCohen88
Copy link
Contributor

@galCohen88 galCohen88 commented Mar 23, 2021

STS token requires being refreshed after certain period of time.

In the PR I added the functionality of creating the token and refreshing it once timeout reached

Link to issue: #1321

@galCohen88
Copy link
Contributor Author

@thedrow @auvipy WDYT?

Copy link
Member

@auvipy auvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the approach seems ok, can you add tests for this as well?

kombu/transport/SQS.py Outdated Show resolved Hide resolved
@galCohen88
Copy link
Contributor Author

@auvipy Will add tests later today

@thedrow
Copy link
Member

thedrow commented Mar 24, 2021

@galCohen88 FYI, I've invited you to the team.

@thedrow thedrow added this to the 5.1.0 milestone Mar 24, 2021
kombu/transport/SQS.py Outdated Show resolved Hide resolved
kombu/transport/SQS.py Outdated Show resolved Hide resolved
@thedrow
Copy link
Member

thedrow commented Mar 24, 2021

the approach seems ok, can you add tests for this as well?

There's a label for requiring the user to add tests. I just added it.

auvipy and others added 3 commits March 25, 2021 16:08
Co-authored-by: Omer Katz <omer.drow@gmail.com>
…galCohen88/kombu into issue-1321-sqs-with-sts-session-refresh
@galCohen88
Copy link
Contributor Author

@thedrow added helper method
@auvipy added tests

kombu/transport/SQS.py Outdated Show resolved Hide resolved
@thedrow
Copy link
Member

thedrow commented Mar 26, 2021

I need to review the documentation but overall this looks good.

@thedrow thedrow merged commit b5a1edd into celery:master Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants