Skip to content

Could not create S3 bucket with Anonymous credential. #254

Description

@chailuecha

My project was using objstore to connect to CEPH (s3 compatible) and now we are moving to VAST (also s3 compatible).
Our Vast setup is done in a way that we want client to not do any request singing. And our proxy will figure out authentication automatically based on client cluster.

Currently I can't just set AccessKey to empty string. The code in s3.NewBucketWithConfig() will automatically create chain of credential provider comprise of EnvAWS, FileAWSCredentials and IAM. The last one is causing response time issue for us since it try to make request to external endpoint.

I am wondering if we should have a way to specify in config to say UseAnonymousCredential to not do request signing at all?
Related code : https://github.com/thanos-io/objstore/blob/main/providers/s3/s3.go#L235

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions