Cloud-IAM API access is only available for dedicated deployments (starting with Roaring Rabbit plan).
Keycloak REST API access is available for every Keycloak deployment.

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 the API is as follow (note that you will need curl and jq):

# 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!