Cross-Account IRSA with Role Chaining #5615
-
Hello everyone, I try to access a S3 bucket from a different account via Cross-Account IRSA and Role Chaining. If I try it from an aws-cli container with the same configuration (same service account with annotation, same ~/.aws/config with chained roles) everything works fine. I can do I saw that you are using the thanos.io/objstore library and tried to enable aws_sdk_auth but it doesn't solve the problem. Do you have any idea why it doesn't work? Values.yml:
AWS config:
Thank you very much! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I tried to assume the role manually and use the access key, access key secret and the session token and it works now. Maybe it's not even the objstore but the AWS SDK which can't handle role chaining properly. |
Beta Was this translation helpful? Give feedback.
Found the issue and created a corresponding PR for it.