minio-go | MinIO Go client SDK for S3 compatible object storage | Cloud Storage library
kandi X-RAY | minio-go Summary
kandi X-RAY | minio-go Summary
The MinIO Go Client SDK provides simple APIs to access any Amazon S3 compatible object storage. This quickstart guide will show you how to install the MinIO client SDK, connect to MinIO, and provide a walkthrough for a simple file uploader. For a complete list of APIs and examples, please take a look at the Go Client API Reference. This document assumes that you have a working Go development environment.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of minio-go
minio-go Key Features
minio-go Examples and Code Snippets
Community Discussions
Trending Discussions on minio-go
QUESTION
Implement reading Minio objects through signed URLs (using github.com/minio/minio-go/v6
)
I followed the example from github: https://github.com/minio/minio-go/blob/master/examples/s3/presignedgetobject.go
and using PresignedGetObject()
, I end up with a net/url
struct. When I concatenate the url.Host
and url.Path
value the result is something like: localhost:9000/inputs/2ea471a5521c.pdb
. Which simply links to the object in Minio UI.
I expected the client to generate a signed URL that enables downloading the object when queried with curl
or else, something like this in Google Cloud Storage:
https://cloud.google.com/storage/docs/access-control/signed-urls#example
Am I missing some additional logic or have I misinterpreted what minio pre-signed URLs are? Thank you.
...ANSWER
Answered 2020-Jun-16 at 20:19If you want the presigned url as string you can simply call
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install minio-go
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page