Skip to main content

Configure Environment Variables for Dedicated Keycloak Clusters

· 2 min read
Phase Two
Hosted Keycloak and Keycloak Support

Phase Two has been storming ahead with our managed Keycloak hosting platform, dash.phasetwo.io. As part of our commitment to providing flexible and powerful hosting solutions, we are excited to announce that users can now set environment variables for their dedicated Keycloak clusters directly through the Phase Two Dash.

Why Environment Variables?

Environment variables are a crucial aspect of configuring and managing applications. They allow you to customize the behavior of your Keycloak instances without modifying the underlying code or configuration files. This is especially important for managing sensitive information such as API keys and other configuration settings. For customers building custom Keycloak extensions or integrating with third-party services, the ability to set environment variables is essential.

With this new feature, you can easily manage your Keycloak cluster's environment variables through a user-friendly interface, streamlining the deployment and configuration process. Updates are applied seamlessly, requiring no downtime for your authentication services.

How to Set Environment Variables

Within your cluster, visit your cluster's page > Config tab > Keycloak features. From there, you can add new environment variables or remove existing ones. You have the option to set variables as plaintext or as secrets, ensuring that sensitive information remains secure.

Learn more in the Environment Variables documentation.


Want to learn more or have feedback? Log in to the Phase Two Dash and try adding your first environment variable. This feature is included with all dedicated cluster plans. For any questions or concerns, please reach out to support@phasetwo.io.