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

Add support for the impersonate RBAC verb #85

Open
raesene opened this issue Mar 24, 2021 · 0 comments
Open

Add support for the impersonate RBAC verb #85

raesene opened this issue Mar 24, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@raesene
Copy link

raesene commented Mar 24, 2021

What would you like to be added

At the moment the impersonate RBAC verb does not appear to be supported.

kubectl-who-can impersonate serviceaccounts
Error: resolving resource: the "serviceaccounts" resource does not support the "impersonate" verb, only [create delete deletecollection get list patch update watch]

Adding this is a bit trickier as, according to the documentation impersonate can be set on resources which don't actually exist in etcd (specifically users and groups)

Why is this needed

Adding impersonate would be useful as it can allow for privilege escalation (similarly to escalate, and bind).

@raesene raesene added the enhancement New feature or request label Mar 24, 2021
@danielpacak danielpacak self-assigned this Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants