Articles on: Developers

API Authentication

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 the provided service account credentials in your organization 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 -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=client_credentials&client_id=${CLIENT_ID}&client_secret=${CLIENT_SECRET}" | jq -r .access_token)

Back to the website

Updated on: 02/01/2023

Was this article helpful?

Share your feedback


Thank you!