Cloud-IAM API access is only available for dedicated deployments (starting with Roaring Rabbit plan).
Full Keycloak REST API access is available to most of Cloud-IAM subscriptions.

Cloud-IAM API is the best way to automate everything. From deployments lifecycle management to keycloak extension uploads!

In order to authenticate against Cloud-IAM API, first contact our support to receive a dedicated CLIENT_ID and CLIENT_SECRET then authenticate against Cloud-IAM REST API using your own account credentials or a dedicated Cloud-IAM account in your organization (ACCOUNT_EMAIL and ACCOUNT_PASSWORD) is as follow:

Curl and jq are required to run the example below

# retrieve a short-lived (expires after 2 minutes) access token
ACCESS_TOKEN=$(curl -s -q https://iam.cloud-iam.com/auth/realms/cloud-iam/protocol/openid-connect/token -d "grant_type=password&client_id=${CLIENT_ID}&client_secret=${CLIENT_SECRET}&username=${ACCOUNT_EMAIL}&password=${ACCOUNT_PASSWORD}" | jq -r .access_token)
Was this article helpful?
Cancel
Thank you!