Skip to content

feat: add S3 auth support (behind a new feature flag)#172

Open
mat813 wants to merge 1 commit intojaemk:masterfrom
mat813:s3-auth
Open

feat: add S3 auth support (behind a new feature flag)#172
mat813 wants to merge 1 commit intojaemk:masterfrom
mat813:s3-auth

Conversation

@mat813
Copy link
Copy Markdown
Contributor

@mat813 mat813 commented Mar 26, 2026

Closes #88

@mat813 mat813 mentioned this pull request Mar 26, 2026
@mat813 mat813 force-pushed the s3-auth branch 2 times, most recently from 0000341 to 0000341 Compare March 31, 2026 13:02
@GideonBear
Copy link
Copy Markdown
Collaborator

Have you tested this?

Copy link
Copy Markdown
Collaborator

@GideonBear GideonBear left a comment

Choose a reason for hiding this comment

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

Few nits, assuming you've tested everything, and have done your research on how to implement AWS sign v4 :)

@mat813
Copy link
Copy Markdown
Contributor Author

mat813 commented Apr 7, 2026

Have you tested this?

And yes, I have tested this, it works with our minio and seaweedfs object storage. I don't have an actual s3 bucket to test things with, but I don't see why it would fail there.

@mat813 mat813 force-pushed the s3-auth branch 2 times, most recently from 0000348 to 0000348 Compare April 7, 2026 10:16
@mat813
Copy link
Copy Markdown
Contributor Author

mat813 commented Apr 7, 2026

I removed a few string cloning, and a TODO item I had.

#[cfg(feature = "s3-auth")]
access_key_id: Option<String>,
#[cfg(feature = "s3-auth")]
secret_access_key: Option<String>,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

If these always both need to be supplied, does it make more sense to have a single Option<(String, String)>? Or does that obscure the meaning too much in your opinion?

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.

Access S3 buckets

2 participants