<@U04S8PLJWMT> can I set a password to airbyte pos...
# ask-ai
f
@kapa.ai can I set a password to airbyte postgres while airbyte is running?
k
Short answer: You can set or change the Airbyte application’s admin password at runtime, but the provided docs do not explicitly cover changing the password of the internal Postgres database while Airbyte is running. What you can do based on the docs: - Change the Airbyte admin UI/API password at any time: - If using abctl locally: run
abctl local credentials --password YourStrongPasswordExample
. This will restart the Airbyte server and apply the new password. [[1.6 Quickstart](https://docs.airbyte.com/platform/1.6/using-airbyte/getting-started/oss-quickstart#part-4-set-up-authentication); [1.7 Quickstart](https://docs.airbyte.com/platform/1.7/using-airbyte/getting-started/oss-quickstart#part-4-set-up-authentication); [Next Quickstart](https://docs.airbyte.com/platform/next/using-airbyte/getting-started/oss-quickstart#part-4-set-up-authentication)] - If deployed on your own Kubernetes cluster: you can supply/update the secret
airbyte-auth-secrets
(field
instance-admin-password
) and then restart the airbyte-server pod to take effect. [[Auth (1.6)](https://docs.airbyte.com/platform/1.6/deploying-airbyte/integrations/authentication); [Auth (1.7)](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/authentication); [Auth (Next)](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/authentication); [Auth (Stable)](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication)] Regarding the Airbyte Postgres (the config DB): - If you use an external Postgres for Airbyte’s metadata, its credentials are provided via Kubernetes secrets/values (e.g.,
airbyte-config-secrets
and the
passwordSecretKey
) and Helm values. The docs show how to set these for installation, but they don’t state a live-rotation procedure while Airbyte is running. Typically, you would: 1) Update the DB user’s password in Postgres, 2) Update the Kubernetes secret referenced by
global.database.passwordSecretKey
, 3) Re-deploy so Airbyte uses the new secret. However, I’m sorry, the knowledge sources do not explicitly mention hot-rotating the database password without a restart. [[External DB (Next)](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/database); [External DB (1.7)](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/database)] If you’re on Self-Managed Enterprise and using an external DB, you configure the DB credentials in values.yaml and secrets; again, the docs don’t detail changing them while running without restarting pods. [[Enterprise setup DB (Next)](https://docs.airbyte.com/platform/next/enterprise-setup/implementation-guide#configuring-the-airbyte-database); [Enterprise setup DB](https://docs.airbyte.com/platform/enterprise-setup/implementation-guide#configuring-the-airbyte-database)] If you can share your deployment method (abctl vs Helm/Kubernetes, internal vs external Postgres), I can outline the exact steps using the documented approaches.