Keycloak plugin to enable API Keys for user authentication.
This extension extends Keycloak Server providing additional REST endpoints to create and manage API Keys.
mvn clean package
mvn clean package
docker-compose up
GET
Bearer token
of the owner of the apiKey.user_id
(string) Required - The ID of the user.query
(string) optional - The ID of an API Key to filter.limit
(string) optional - Allows to limit the number of API Keys to retrieve. Default 20.offset
(string) optional - Allows to omit a specified number of API Keys before the beginning of the result set. Default 0.sort
(string) optional - Sort API Keys by a specific field. Values: expirydate, issuedate, isrevoked, description. Default name.sortOrder
(string) optional - Ascending or descending order. Values: ASC or DESC. Default DESC.POST
Bearer token
of the owner of the apiKey or an Admin user.user_id
(string) - The ID of the user.description
(string) - Description of the API Key.scopes
(string) 1 or more - A permission of this API Key format {policy}.{access_level}.POST
Bearer token
of the owner of the apiKey or Basic auth
of a client.apiKey
(string) - The ID of an API KeyDELETE
Bearer token
of the owner of the apiKey or an Admin user.apiKey
(string) - The ID of an API Key.