8000 Add extension: Keycloak API Keys · Issue #847 · keycloak/keycloak-web · GitHub
[go: up one dir, main page]

Skip to content

Add extension: Keycloak API Keys #847

Open

Description

@emdzej

Description

Please add the following community extension to the extensions page:

{
    "name": "Keycloak API Keys",
    "description": "Self-service and admin-managed API keys for Keycloak. Users create client-scoped API keys in the Account Console and exchange them for JWT access tokens.",
    "website": "https://github.com/emdzej/keycloak-api-keys"
}

Discussion

No response

Motivation

Keycloak has no built-in API key support. Services that need long-lived credentials for scripts, CI, or machine-to-machine access usually fall back to service-account clients with shared secrets, which end users can't manage themselves. This extension lets users generate, list and revoke their own scoped API keys and exchange them for standard Keycloak JWTs, so the resource servers that already validate Keycloak tokens don't need to change.

Details

Components:

  • Keycloak SPI: key storage, REST API, API key → JWT token exchange
  • Account Console extension for user self-service
  • Admin Console extension for administrators
  • Integration libraries: Spring MVC, Spring WebFlux, Express, Fastify, Hono, ASP.NET Core

Happy to open the PR adding extensions/keycloak-api-keys.json if that's preferred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0