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

Override IAM policy attachment created #104

Open
lachlanmulcahy opened this issue Oct 18, 2022 · 0 comments
Open

Override IAM policy attachment created #104

lachlanmulcahy opened this issue Oct 18, 2022 · 0 comments

Comments

@lachlanmulcahy
Copy link

Describe the Feature

Ability to define the IAM policy attachment used.

Note: Assuming we move from inline to attachments.

Expected Behavior

When an IAM Policy attachment is specified, it is used in place of the one that would be created by default.

Use Case

We would like to control more closely the IAM policy to restrict access to different secrets. The default policy allows the host to effectively read any secret in the entire account, as I interpret it.

Describe Ideal Solution

New input: iam_policy_attachment -- takes some identifier of a resource for the policy attachment created by the user.
If set, this policy is used in place of the default created. If not, one is created by default.

Alternatives Considered

None.

Additional Context

The permissiveness of the default policy seems like a pretty big security risk for a bastion host module that users who may lack experience are going to utilize and may rollout unknowingly.

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

No branches or pull requests

1 participant