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 resource management (CARM): Add support specifying an External ID #2175

Open
antongri opened this issue Sep 27, 2024 · 0 comments
Labels
area/carm Issues or PRs related to CARM (Cross Account Resource Management) kind/feature Categorizes issue or PR as related to a new feature.

Comments

@antongri
Copy link

Is your feature request related to a problem?
Yes. I am currently facing a limitation when using AWS Controllers for Kubernetes (ACK) for cross-account resource management. While ACK supports assuming cross-account roles, it does not provide a way to specify an External ID during the role assumption process. This is problematic in scenarios where an External ID is required for additional security to prevent unauthorized role assumption (e.g., the confused deputy problem). Without the ability to specify an External ID, the current setup requires insecure or non-ideal role assumption practices, particularly in multi-account AWS environments.

Describe the solution you'd like
I would like ACK to support specifying an External ID when assuming cross-account IAM roles. This could be configured as an additional parameter in the ACK controller configuration (ack-role-account-map) or via annotations in the Kubernetes Namespace associated with the account. The solution should allow users to define a unique External ID for each cross-account role assumption, ensuring that only authorized entities can assume the role in a target AWS account.

Describe alternatives you've considered
Forgoing the External ID: This option weakens security by removing an important protection mechanism when using cross-account roles, making it less desirable.

@a-hilaly a-hilaly added kind/feature Categorizes issue or PR as related to a new feature. area/carm Issues or PRs related to CARM (Cross Account Resource Management) labels Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/carm Issues or PRs related to CARM (Cross Account Resource Management) kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants