minio / minio-go

MinIO Go client SDK for S3 compatible object storage
https://docs.min.io/docs/golang-client-quickstart-guide.html
Apache License 2.0
2.45k stars 633 forks source link

Retrieve object metadata on GCS #1951

Closed pierre-b closed 6 months ago

pierre-b commented 6 months ago

Hello guys,

I'm using the "S3 compatibility mode" with a GCS bucket.

Objects are listed but without their Content-Type & custom metadata key-value pairs.

Is the golang Minio client able to retrieve this metadata please?

Thanks for your help

harshavardhana commented 6 months ago

GCP doesn't provide this information we only provide what we can see as per the S3 spec.

pierre-b commented 6 months ago

Thanks for the fast answer! it wasn't in the docs so at least we have a record here for other people!