This action requires the following credentials:
username— the username under which the action runs.password— the password for that user.
The portal obtains a token through the admin-cli client in the realm specified in realm, the same realm in which the client is created.
The user must exist in that realm and have permission to create clients in it.
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_accessRequest specification
| Name | Required | Description | Possible values |
|---|---|---|---|
| realm | Yes | Keycloak realm in which to create the client | - |
| config | Yes | Parameters for the client to create, as defined in the Keycloak ClientRepresentation specification | - |