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

Added multi-role guide #85

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

micahhausler
Copy link
Member

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.

### 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
Copy link
Contributor

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

Copy link
Contributor

@jaypipes jaypipes left a 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/segment/isolate/

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

Successfully merging this pull request may close these issues.

3 participants