Skip to main content
On-premises
  • Configuration reference: The external-secrets.io/v1 API.
Use this page to create the qodo-secrets store consumed by the shared Qodo Secret examples. Qodo application Pods do not need Azure permissions for this integration. For more information, see Manage Qodo secrets with External Secrets Operator.

Before you begin

Prepare:
  • An AKS cluster configured for OIDC federation and Microsoft Entra Workload ID.
  • An approved Azure identity with its client and tenant IDs.
  • Your Key Vault URL.
  • Network access from ESO to the vault and token endpoints.
  • ESO permission to request a token for the referenced Kubernetes service account. For more information, see Use Microsoft Entra Workload ID with AKS.
Before creating the store, ensure the referenced identity has a matching federated credential and Key Vault data-plane Secret read permission, and the source Secret version is enabled. Verify vault firewall/private endpoint access from ESO. The required subject, audience, and role are listed below. This example uses a referenced service account so the store selects the identity. It does not require annotating Qodo application Pods or supplying a long-lived Azure client secret.

1. Prepare the vault Secret and permissions

Using your approved secret-management process, create Key Vault Secret qodo-database. Its value must be JSON containing POSTGRES_PASSWORD with the existing database password. Keep actual values out of Git, Helm values, shell arguments, and chat. Configure the identity through your Azure administration process: For a vault using legacy access policies, grant the required Secret Get permission instead. These examples read secrets; they do not require permission to write or delete vault contents. For more information, see Azure Key Vault authentication.

2. Configure the service account and store

Replace the client ID, tenant ID, and vault name before applying. These are identity and resource identifiers, not credential values.
azure-secret-store.yaml
The example uses a namespaced store. When reusing an approved ClusterSecretStore, retain its name and scope and ensure its service account reference identifies the correct namespace. For more information, see Referenced service account.

3. Reconcile and verify

Select the target context explicitly. These examples use namespace qodo:
Apply the shared database ExternalSecret. For Key Vault secrets (as opposed to certificates or keys), remoteRef.key: qodo-database selects the Secret; secret/qodo-database is also an explicit Secret-type reference. Its property: POSTGRES_PASSWORD extracts the JSON property and writes the fixed Kubernetes target. For more information, see Manage Qodo secrets with External Secrets Operator. Verify the ExternalSecret’s ready condition, refresh timestamp, target name, and key names. After source rotation, confirm the target updates before rolling out its consumer, then run a code review to verify the credential is accepted end to end. A schema or dry-run success does not establish that Azure accepts the federated identity or permits vault access. Run an end-to-end check in your environment before deploying Qodo.

Configure the integration with Helm values

If your platform team manages ESO with Helm, merge this file into the existing operator release’s values. It creates the same ServiceAccount, SecretStore, and database ExternalSecret as the manifests above. Use one ownership path for each object. Do not apply the standalone manifests and then try to create the same objects through Helm without a reviewed adoption. Replace the identity and provider placeholders after completing the cloud permissions above. Keep namespace qodo consistent with your installation. The operator’s release namespace can remain external-secrets. Download eso-azure-values.yaml.
eso-azure-values.yaml
Helm replaces the whole extraObjects list. Preserve unrelated entries already managed by your ESO release in this same list. These are values for ESO, not for the Qodo chart. The extraObjects field is supported by the ESO chart used for the validation recorded on the overview page; check your pinned operator chart before using it. For more information, see ESO Helm chart values. To reuse an existing store, omit the SecretStore and ServiceAccount entries and set the ExternalSecret’s secretStoreRef to your approved store’s name and kind. To stop managing this integration, transfer credential ownership before removing these entries. For more information, see Configure Kubernetes add-ons with values files. Reconcile the operator release through its existing Helm or GitOps process, then wait for both secretstore/qodo-secrets and externalsecret/qodo-db-admin to report Ready in the Qodo namespace. Only then deploy Qodo with external-secrets-values.yaml from the shared page. Helm --wait alone does not establish ExternalSecret readiness.

Troubleshoot Azure access