Skip to content

Ability to clone granted API keys #59304

Open
@mikecote

Description

@mikecote

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions