This action requires the following credentials:

  • username — the username under which the action runs.
  • password — the password for that user.

CreateKeycloakClient — creates a new client in Keycloak.

Request example

realm: master
config:
  clientId: example
  name: example
  enabled: true
  clientAuthenticatorType: client-secret
  secret: secret
  defaultClientScopes:
  - roles
  - profile
  - email
  optionalClientScopes:
  - address
  - phone
  - offline_access

Request specification

NameRequiredDescriptionPossible values
realmYesKeycloak realm in which to create the client-
configYesParameters for the client to create, as defined in the Keycloak ClientRepresentation specification-