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

Cross-account bucket access using chained AssumeRole #283

Open
mcwm6 opened this issue Oct 28, 2024 · 4 comments
Open

Cross-account bucket access using chained AssumeRole #283

mcwm6 opened this issue Oct 28, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@mcwm6
Copy link

mcwm6 commented Oct 28, 2024

Is the driver currently capable for supporting cross-account bucket access using chained AssumeRole?

Ref: https://docs.aws.amazon.com/eks/latest/userguide/cross-account-access.html (Example Use chained AssumeRole operations)

I have a bucket in Account B, and pods in Account A will use a service account to first assume a (web identity) role with its own cluster's OIDC provider and then further assumes a role from Account B to access the bucket.

/triage support

@muddyfish
Copy link
Contributor

The CSI Driver currently doesn't support using chained AssumeRole. However, we do support two other approaches described here: https://github.com/awslabs/mountpoint-s3-csi-driver/blob/main/docs/CONFIGURATION.md#cross-account-bucket-access (using cross account bucket policies, and using IRSA set up from a different account).

I'll leave this open as a feature request

@muddyfish muddyfish added the enhancement New feature or request label Oct 28, 2024
@geocomm-shenningsgard
Copy link

@muddyfish does the CSI Driver support accessing an S3 bucket in another account via a VPC interface/gateway endpoint? I know this is possible via the mountpoint-s3 library itself, but didn't see any documentation on setting it up via the CSI Driver.

@muddyfish
Copy link
Contributor

It should do - please check the Mountpoint documentation for details.

Please create a separate issue if you have problems with it, as VPC/gateway support is off topic for the OP's question.

@gadiener
Copy link

We are also interested in the role chaining feature 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants