younifyd
Menu

List Keys

List keys

GET/admin/realms/{realm}/keys

Use it in a workflow

  1. Add a step and choose the Keycloak connector.
  2. Pick the List Keys action (under Key).
  3. Fill in the fields below, then reference the result from later steps as {{listKeys.response.data}}.

Request

Path parameters

realmstringrequired

realm name (not id!)

Response

Returns 200 with an object. Read it in later steps with {{listKeys.response.data.<field>}}.

activeobject
keysarray<object>
providerIdstring
providerPriorityinteger (int64)
kidstring
statusstring
typestring
algorithmstring
publicKeystring
certificatestring
usestring

One ofSIGENCJWT_SVID

validTointeger (int64)
json
{
  "active": {},
  "keys": [
    {
      "providerId": "string",
      "providerPriority": 0,
      "kid": "string",
      "status": "string",
      "type": "string",
      "algorithm": "string",
      "publicKey": "string",
      "certificate": "string",
      "use": "SIG",
      "validTo": 0
    }
  ]
}

Need more? See the Keycloak guide for connection setup and behaviour shared by every action.

List Keys — Keycloak — Documentation