Keycloak · Arazzo Workflow
Keycloak Decommission a Client
Version 1.0.0
Snapshot a client registration, disable it, and optionally delete it after a soak period.
View Spec
View on GitHub
AuthenticationAuthorizationIdentity ManagementOAuthOpenID ConnectSecuritySSOArazzoWorkflows
Provider
Workflows
decommission-client
Capture, disable, and optionally delete a client registration.
Resolves a client by clientId, snapshots its representation for rebuild, disables it, and permanently deletes the registration only when hardDelete is true.
1
resolveClient
getClients
Exchange the clientId for the internal client UUID that the detail and delete endpoints require.
2
captureClientSnapshot
getClient
Read and retain the full client representation before touching it. This snapshot is the only rebuild record once the registration is deleted, since Keycloak keeps nothing recoverable afterwards.
3
disableClient
updateClient
Disable the client. Token requests start failing immediately, which is the point: it surfaces any forgotten consumer while the change is still a one-field edit away from being undone.
4
confirmDisabled
getClient
Read the client back to prove it is disabled, and stop here unless the caller explicitly asked for deletion.
5
deleteClientRegistration
deleteClient
Permanently remove the client registration. Only reached when hardDelete is true, and only recoverable from the snapshot captured earlier.