- Configuration reference: The
external-secrets.io/v1API.
qodo-secrets store consumed by the shared Qodo
Secret examples. For more information, see Manage Qodo secrets with External Secrets Operator.
Before you begin
Prepare:- Your AWS Region, source Secret ARN, and an approved IAM role scoped to those secrets.
- The ESO controller’s namespace and service account name.
- Access from ESO to Secrets Manager and the identity endpoints used by your selected authentication method.
- For IRSA with a referenced service account: ESO permission to request that account’s token.
For EKS Pod Identity, install the EKS Pod Identity Agent where it is not
already supplied by your cluster mode. Confirm its node coverage before
creating the store. For more information, see Set up the Amazon EKS Pod Identity Agent.
These examples use namespace
qodo. Select your context and replace the
namespace consistently:
1. Prepare the source Secret
Using your approved secret-management process, createqodo-database in AWS
Secrets Manager. Its JSON value must contain POSTGRES_PASSWORD with the
existing database password. Keep actual values out of Git, Helm values, shell
arguments, and chat. Use the correct Region and account for both the source
and the store.
2. Configure the AWS identity and store
Reuse your existing approved store when available. Otherwise, have your AWS administrator create an IAM role scoped to the source secrets. For the paths for the authentication methods shown on this page, a read policy starts with:REGION and ACCOUNT_ID, and narrow the resource list to your actual
secret ARNs. If the secrets use a customer-managed KMS key, also grant
kms:Decrypt on that key and allow the role in the key policy. Additional
features, such as discovering secrets or assuming another role, can require
additional permissions.
Choose one authentication method:
- IRSA
- EKS Pod Identity
Before applying this file, configure the IAM role’s trust policy in AWS to allow
system:serviceaccount:qodo:qodo-secrets-reader to assume it, using your cluster’s OIDC provider and the expected STS audience. Then replace the example role ARN and Region.aws-secret-store.yaml
ClusterSecretStore, set secretStoreRef.kind: ClusterSecretStore and its approved name in the examples below. A
namespaced SecretStore must be in the same namespace as the ExternalSecret.
For more information, see ESO AWS authentication.
3. Reconcile and verify
Onceqodo-secrets reports ready, apply the database ExternalSecret from
the shared page. It maps qodo-database.POSTGRES_PASSWORD to
qodo-db-admin.POSTGRES_PASSWORD. A ready store alone does not establish that
it can read that particular Secret or JSON property. 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 a new refresh and target update
before restarting the affected Qodo consumer. Run the relevant application
acceptance check after rollout.
A schema or dry-run success does not establish that AWS accepts the identity or permits 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 namespaceqodo consistent with your installation.
The operator’s release namespace can remain external-secrets.
Download eso-aws-values.yaml.
eso-aws-values.yaml
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.
This values file uses IRSA. For EKS Pod Identity, use the Pod Identity
association described above, remove the ServiceAccount entry and the store’s
auth block, and let the store use the ESO controller’s identity.
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 AWS access
Related resources
- Manage Qodo secrets with External Secrets Operator: Apply the shared target mapping, ownership, rotation, and recovery steps.
- AWS Secrets Manager provider: Review provider-specific options and version selection.