Skip to content

Add s3 v4 auth header for streaming from non-public s3 buckets#98

Merged
cjcolvar merged 2 commits intoaws_minfrom
aws_min_s3_auth
Apr 14, 2026
Merged

Add s3 v4 auth header for streaming from non-public s3 buckets#98
cjcolvar merged 2 commits intoaws_minfrom
aws_min_s3_auth

Conversation

@cjcolvar
Copy link
Copy Markdown
Member

@cjcolvar cjcolvar commented Feb 5, 2026

This work makes use of https://github.com/nginx/nginx-s3-gateway/ in the minimal way to solve our use case. Another resource used in this work was https://docs.aws.amazon.com/AmazonS3/latest/API/RESTAuthentication.html https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html

This has been built and pushed to docker hub with the tag noble-s3auth noble-s3authv4.

The new docker image built from this branch has been deployed to avalon-dev (minio) and btaa-prod (versity gateway) and is working in both environments.

After this is merged to aws_min I think it would be good to bring it back into main and then build and push new docker images from there.

@cjcolvar cjcolvar changed the title Add s3 auth header for streaming from non-public s3 buckets Add s3 v4 auth header for streaming from non-public s3 buckets Feb 10, 2026
@cjcolvar cjcolvar marked this pull request as ready for review February 18, 2026 15:38
@cjcolvar
Copy link
Copy Markdown
Member Author

TODO: Add documentation about how to use the environment variables to setup s3 authorization and streaming.

@cjcolvar
Copy link
Copy Markdown
Member Author

I added documentation for the environment variables. This is ready for review now.

@cjcolvar cjcolvar requested a review from masaball April 13, 2026 19:30
Copy link
Copy Markdown

@masaball masaball left a comment

Choose a reason for hiding this comment

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

Looks good as far as I can tell

@cjcolvar cjcolvar merged commit 04ba95f into aws_min Apr 14, 2026
@cjcolvar cjcolvar deleted the aws_min_s3_auth branch April 14, 2026 14:03
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.

2 participants