-
Notifications
You must be signed in to change notification settings - Fork 175
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
Added multi-role guide #85
base: master
Are you sure you want to change the base?
Conversation
### Different roles in the same pod | ||
|
||
You can use different IAM roles in different containers within the same pod, but | ||
there is additional setup and configuration that you'll have to modify your pod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is additional setup and configuration and you'll have to modify your pod
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guide content is good. I question whether we shouldn't have some sort of "this is not a recommended practice" warning, however, and gently guide the user to using different Pods (and Service Accounts) when they want to use different IAM Roles...
**Note**: _Containers in a pod share a common kernel, and containers are not a | ||
hard security boundary. Using different AWS IAM roles for containers in the same | ||
pod can be used to reduce unnecesary permissions and to reduce the blast-radius | ||
of misconfiguration, but should not be relied on to segment untrusted code in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/segment/isolate/
Issue #, if available:
N/A
Description of changes:
Added guide for using different IAM roles in different containers
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.