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

Ability to clone granted API keys #59304

Open
mikecote opened this issue Jul 9, 2020 · 1 comment
Open

Ability to clone granted API keys #59304

mikecote opened this issue Jul 9, 2020 · 1 comment
Labels
>enhancement :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) Team:Security Meta label for security team

Comments

@mikecote
Copy link

mikecote commented Jul 9, 2020

The grant API key API works for scenarios that have a user’s password or access token. This is ideal for Kibana alerting which grants API keys on behalf of other users.

However once an API key is granted, it can’t be cloned or used to grant another API key because the API doesn’t support a grant_type of API key.

Would it be possible to allow the cloning or granting of API keys from an API key that has already been granted?

The Kibana alerting team is experiencing issues with managing these keys when it comes to invalidating them after granting a new API key. The invalidation process in Kibana doesn’t consider if a one-off task is currently running and depends on the key. A feature like this would allow us to create a new key for each one-off task that is running and invalidate it immediately after the task is completed.

@mikecote mikecote added >enhancement :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) labels Jul 9, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security (:Security/Authentication)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) Team:Security Meta label for security team
Projects
None yet
Development

No branches or pull requests

2 participants