Cloudstack integration with Keycloak

layout: post title: “Testing CloudStack Integration with KeyCloak” date: 2025-10-29 categories: [cloudstack, keycloak, integration, testing] Testing CloudStack Integration with KeyCloak Steps to Test Keycloak with CloudStack Set up Docker environment On a Linux host, ensure Docker is installed and that there’s connectivity to the CloudStack Management server. Example setup: Linux host IP: 10.0.32.236 CloudStack Management server IP: 10.0.34.45 Run the Keycloak container docker pull quay.io/keycloak/keycloak:23.0.6 docker run -d -p 8080:8080 \ -e KEYCLOAK_ADMIN=admin \ -e KEYCLOAK_ADMIN_PASSWORD=password \ -e KC_PROXY=edge \ --restart always \ -v /keycloak:/opt/jboss/keycloak/standalone/data \ --network=host \ quay.io/keycloak/keycloak:23.0.6 start-dev Access the Keycloak UI ...

October 29, 2025 · 2 min · Kiran Chavala

Cloudstack integration with AzureAD

Navigate to Azure portal > Services > Azure Entra ID Click on Enterprise Applications > Create a New Application Click on Create your own Application and provide a name. Select Integrate any other application you don’t find in the gallery (Non-gallery) > Create Once in the Application, click on Set up Single Sign-on and choose SAML Make sure SSL is enabled on the Cloudstack management server. Login to Cloudstack UI > Global settings > Access > Saml and set the following: saml2.enabled=true saml2.redirect.url=http://<mgmtip>:8080/client saml2.sp.slo.url=http://<mgmtip>:8080/client saml2.sp.sso.url=http://<mgmtip>:8080/client/api?command=samlSso Restart the Cloudstack Management service and execute the API to get the SP Metadata for Cloudstack https://cloudstack.apache.org/api/apidocs-4.19/apis/getSPMetadata.html > curl > [http://\<mgmt\>:8080/client/api?command=getSpMetadata](http://10.0.32.234:8080/client/api?command=getSpMetadata) \> > metadata.xml Upload the generated metadata XML into Azure Entra ...

August 18, 2025 · 2 min · Kiran Chavala