Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

List of IAM permissions #88

Closed
ArchiFleKs opened this issue Nov 23, 2016 · 12 comments
Closed

List of IAM permissions #88

ArchiFleKs opened this issue Nov 23, 2016 · 12 comments
Labels
documentation lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. waiting for community feedback

Comments

@ArchiFleKs
Copy link
Contributor

Hi, it would be nice to have precise list of IAM permissions needed to be successfully deploy a cluster.

For example to delegate cluster creation to a non-admin IAM account.

@pieterlange
Copy link
Contributor

The controller IAM permissions are here:
https://github.com/coreos/kube-aws/blob/master/config/templates/stack-template.json#L193

And directly continues with the IAM permissions for the worker here:
https://github.com/coreos/kube-aws/blob/master/config/templates/stack-template.json#L269

@ArchiFleKs
Copy link
Contributor Author

ArchiFleKs commented Nov 23, 2016

@pieterlange thanks a lot ;) but these are the permissions that are set up for the IAM instance role right ? What about the minimum permissions needed for the IAM credentials used by a kube-aws operator when running kube-aws CMD ?

@pieterlange
Copy link
Contributor

pieterlange commented Nov 23, 2016

Oh, like that. I think that's going to be difficult, as you need to be able to create new IAM roles from the account that's used for kube-aws. And with those IAM resources you can assign yourself admin privileges.

Edit: If you find a decent workaround be sure to follow up, i'm sure more people here would like this. 😉

@pieterlange
Copy link
Contributor

Related: https://aws.amazon.com/blogs/devops/aws-cloudformation-security-best-practices/

I don't have time to dive into this, but it's seems doable.

@gianrubio
Copy link
Contributor

@ArchiFleKs currently there's no documentation for which type of permission you need. To found all the permission you can run the kube-aws up command, wait for finish, go to cloudtrail and parse all the logs.

@ArchiFleKs
Copy link
Contributor Author

@gianrubio Thanks that a good ideas, i'll test it and report back here with a list if other find this information useful

@mumoshu
Copy link
Contributor

mumoshu commented Dec 10, 2016

Hi @ArchiFleKs, thanks for taking time on this!
Any chance you could find the list of IAM permissions required by kube-aws since then?
I'd greatly appreciate it if you could share your findings 🙇

@ArchiFleKs
Copy link
Contributor Author

@mumoshu I completly forgot about it, thanks for reminding me :)

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 21, 2019
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels May 21, 2019
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. waiting for community feedback
Projects
None yet
Development

No branches or pull requests

6 participants