Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thanos OSS(Aliyun) provider does not support IAM(RAM) role #151

Open
feiyunzhou opened this issue Oct 22, 2024 · 1 comment
Open

Thanos OSS(Aliyun) provider does not support IAM(RAM) role #151

feiyunzhou opened this issue Oct 22, 2024 · 1 comment

Comments

@feiyunzhou
Copy link

feiyunzhou commented Oct 22, 2024

The AWS provider supports to assume AWS IAM role to use S3, but Aliyun OSS provider does not support IAM(RAM) role.

We can find the code for AWS provider here https://github.com/thanos-io/objstore/blob/main/providers/s3/s3_aws_sdk_auth.go, but the Aliyun OSS provider does not have it.

Aliyun has GO sdk for assume role and get the STS token, here https://github.com/AliyunContainerService/ack-ram-tool/tree/main/examples/rrsa/go-sdk

@feiyunzhou feiyunzhou changed the title Thanos OSS(Aliyun) provider does not support IAM role Thanos OSS(Aliyun) provider does not support IAM(RAM) role Oct 23, 2024
@yeya24
Copy link
Contributor

yeya24 commented Oct 26, 2024

Thanks for the report. I think none of the Thanos maintainers use Aliyun OSS object store. If you want this feature, feel free to pick it up and create a PR. We are happy to accept it!

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

No branches or pull requests

2 participants