> For the complete documentation index, see [llms.txt](https://audomsak.gitbook.io/red-hat-service-registry/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://audomsak.gitbook.io/red-hat-service-registry/security/configuring-service-registry/service-registry-configuration.md).

# Configuring Service Registry

1. Go to **Operators** -> **Installed Operators** menu, then select **Red Hat Integration - Service Registry Operator**. Click the **Apicurio Registry** tab, and then **service-registry** link to update Service Registry.

   ![Service Registry Authn & Authz](/files/x8doZ6C1PgOVjofbNmnq)

   ![Service Registry Authn & Authz](/files/pfQPNWtRDGpeOkYyzgZ6)
2. Insert this snippet under the `configuration` section as a screenshot below.

   ```yaml
   security:
      keycloak:
         url: "https://keycloak-<NAMESPACE>.apps.<CLUSTER_DOMAIN>/auth"
         realm: "registry"
   ```

   Make sure you have edit the `url` value to be the same as Keycloak HTTP route (as you configured in `Ingress` in [this section](/red-hat-service-registry/security/configuring-service-registry/service-registry-http.md)) or HTTPS route (you've noted in the **step 5** in [this section](/red-hat-service-registry/security/rhsso-deployment/deploy-rhsso.md)) depends on whether you're using HTTP or HTTPS for Service Registry web console URL.

   Also update the `realm` attribute value as well if you changed to something else when you created a realm in the **step 2** in [this section](/red-hat-service-registry/security/rhsso-deployment/create-registry-realm.md).

   ![Service Registry Authn & Authz](/files/5u6bbEbpAwx9pJDPG8O6)
3. Wait for a few minutes, the Service Registry Operator will rollout new pods with the configs. Then open the Service Registry web console URL, you will be directed to login page via Red Hat Single Sign-On.

   Enter username and password configured in YAML when you created KeycloakRealm in [this section](/red-hat-service-registry/security/rhsso-deployment/create-registry-realm.md) to login.

   ![Service Registry Authn & Authz](/files/cnq6zOwm8sLIBLdtqMQg)

   ![Service Registry Authn & Authz](/files/KuvzQb5WySOSOnAdQAob)
4. You should be able to log in to Service Registry web console and log out from the console via user icon at the top right corner.

   ![Service Registry Authn & Authz](/files/VrjBgoSlXiRNTAYpJwno)
