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

Simplify lib/utils/aws #51627

Merged

Conversation

GavinFrazar
Copy link
Contributor

This eliminates the SigningService in favor of a free function SignRequest, which eliminates AWS credential loading and simplifies the AWS utils package.
In the process of doing this refactor, the AWS app handler has been changed to use AWS SDK v2 to load its credentials as well.

This PR depends on and is stacked on top of another PR:

Part of #14142

@GavinFrazar GavinFrazar added the no-changelog Indicates that a PR does not require a changelog entry label Jan 30, 2025
@GavinFrazar GavinFrazar force-pushed the gavinfrazar/simplify-aws-sigv4-signing-utils-pkg branch from f1aca30 to b223177 Compare January 30, 2025 00:46
@GavinFrazar GavinFrazar marked this pull request as ready for review January 30, 2025 01:02
@github-actions github-actions bot added application-access database-access Database access related issues and PRs size/sm labels Jan 30, 2025
@github-actions github-actions bot requested a review from nklaassen January 30, 2025 01:02
Base automatically changed from gavinfrazar/migrate-aws-session-to-sdk-v2 to master January 30, 2025 17:11
Copy link
Contributor

@greedy52 greedy52 left a comment

Choose a reason for hiding this comment

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

amazing!

lib/cloud/awsconfig/awsconfig.go Outdated Show resolved Hide resolved
This eliminates the SigningService in favor of a free function
SignRequest, which eliminates AWS credential loading and simplifies the
AWS utils package.
In the process of doing this refactor, the AWS app handler has been
changed to use AWS SDK v2 to load its credentials as well.
@GavinFrazar GavinFrazar force-pushed the gavinfrazar/simplify-aws-sigv4-signing-utils-pkg branch from b223177 to 71ea35e Compare January 30, 2025 18:22
@GavinFrazar GavinFrazar enabled auto-merge January 30, 2025 19:09
@GavinFrazar GavinFrazar added this pull request to the merge queue Jan 30, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 30, 2025
@GavinFrazar GavinFrazar added this pull request to the merge queue Jan 30, 2025
Merged via the queue into master with commit b69d49b Jan 30, 2025
41 checks passed
@GavinFrazar GavinFrazar deleted the gavinfrazar/simplify-aws-sigv4-signing-utils-pkg branch January 30, 2025 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
application-access database-access Database access related issues and PRs no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants