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

Support modern authentication methods for S3. #1300

Merged
merged 2 commits into from
Mar 14, 2024
Merged

Support modern authentication methods for S3. #1300

merged 2 commits into from
Mar 14, 2024

Conversation

sengi
Copy link
Contributor

@sengi sengi commented Mar 14, 2024

Essentially the same as alphagov/support-api#911.

Remove Fog. The standard AWS client library is simpler to use, better documented and easier to secure. This lets us get rid of the nasty long-lived IAM key for authenticating to S3.

Part of alphagov/govuk-helm-charts#1895.

@sengi sengi requested a review from AgaDufrat March 14, 2024 15:05
sengi added a commit to alphagov/govuk-helm-charts that referenced this pull request Mar 14, 2024
As of alphagov/support#1300, the app is able to
use more appropriate authn methods including EC2 instance profile creds
and IRSA.
sengi added a commit to alphagov/govuk-helm-charts that referenced this pull request Mar 14, 2024
As of alphagov/support#1300, the app is able to
use more appropriate authn methods including EC2 instance profile creds
and IRSA.
Essentially the same as
alphagov/support-api#911.

Remove Fog; the standard AWS client library is simpler to use, better
documented and easier to secure. This lets us get rid of the nasty
long-lived IAM key for authenticating to S3.
@sengi
Copy link
Contributor Author

sengi commented Mar 14, 2024

Simplified the test fixture a bit more.

Copy link
Contributor

@robinjam robinjam left a comment

Choose a reason for hiding this comment

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

Nice! Much cleaner than before as well

@sengi sengi merged commit 2d5bf74 into main Mar 14, 2024
11 checks passed
@sengi sengi deleted the sengi/rm-fog branch March 14, 2024 15:32
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

2 participants