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

Add SigV4 auth #13

Merged
merged 1 commit into from
Jan 20, 2021
Merged

Add SigV4 auth #13

merged 1 commit into from
Jan 20, 2021

Conversation

alexanderzobnin
Copy link
Contributor

This is SigV4 PR WIP

@alexanderzobnin alexanderzobnin marked this pull request as ready for review January 20, 2021 08:36
Copy link

@joanlopez joanlopez left a comment

Choose a reason for hiding this comment

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

It looks good! 👍

However, I'd wait for @wbrowne's review anyway, because he has further experience with SigV4. I left a minor comment about something I'm not sure.

return nil, err
}

transport = sigv4.New(sigV4Config, transport)

Choose a reason for hiding this comment

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

Since this New method does not return any error, I'm wondering if we should perform any kind of validation when constructing the sigV4Config (inside the GetSigV4Config function) or if we can simply delegate it to the consumer.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds reasonable, I only perform some basic checks.

Copy link
Member

@wbrowne wbrowne left a comment

Choose a reason for hiding this comment

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

LGTM

@alexanderzobnin alexanderzobnin merged commit 545cea5 into master Jan 20, 2021
@Elfo404 Elfo404 deleted the add-sigv4 branch April 14, 2021 08:56
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.

None yet

3 participants