Skip to content

API Usage with Minio? #1023

Answered by jbelkins
teaglin asked this question in Q&A
May 25, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

I am not sure if this will work for you, but try creating your client this way & let me know if it works:

            let config = try S3Client.S3ClientConfiguration(region: "us-east-1", endpoint: "https://yours3endpoint.com/")
            let client = S3Client(config: config)

When performing operations on a bucket yourbucket, the connection will be made to yourbucket.yours3endpoint.com.

Officially supporting custom endpoints is on the feature list for this SDK but I do not have a timeframe for when it will be officially available.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@teaglin
Comment options

@jbelkins
Comment options

Answer selected by teaglin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants