1. Retrieve Store ID and Authorization Model ID
Run the following command to get thestore_id and authorization_model_id from the OpenFGA logs:
2. Update Kubernetes Secrets
You now need to update the Kubernetes secrets with thestore_id and authorization_model_id you just retrieved. The following table summarizes the secrets and keys that need to be updated in the enkryptai-stack namespace.
| Secret Name | Key | Value from Logs |
|---|---|---|
gateway-env-secret | DECK_OPENFGA_AUTHORIZATION_MODEL_ID | authorization_model_id |
gateway-env-secret | DECK_OPENFGA_STORE_ID | store_id |
frontend-env-secret | FGA_MODEL_ID | authorization_model_id |
frontend-env-secret | FGA_STORE_ID | store_id |
3. Restart Deployments
After updating the secrets, you need to restart thefrontend and gateway-kong deployments to apply the changes.
frontend and gateway-kong pods to be in a running state before attempting to use the Enkrypt AI stack. You can monitor the status of the pods using the following command:

