Why keep OpenMetadata connector credentials in a secrets manager
A secrets manager keeps connector and ingestion bot credentials out of the OpenMetadata database, so a read of that database does not expose the passwords, keys or tokens that OpenMetadata uses to reach your warehouses, BI tools and pipelines. Every database connector, dashboard connector and pipeline connector needs some credential to read metadata, and the ingestion bot that runs it needs a identity of its own. Those secrets are the keys to systems that often hold regulated or confidential data, so where they are stored decides how far a compromise of the catalog reaches.
Storing them directly in the catalog database widens the blast radius. Anyone with database access, including backup operators, support staff with restored snapshots and anyone who obtains an exported dump, could read credentials that unlock source systems the catalog was only meant to describe. The risk grows with each connector added. OpenMetadata lists more than 130 connectors, and a team that connects a warehouse, a BI tool, an orchestrator and a streaming platform can create several credentials in its first month, each with its own rotation schedule and owner. Ask your team to inventory every service connection and the account it uses before deciding anything else.
A secrets manager becomes worth its extra moving parts when several conditions meet: the connected sources hold regulated data, one database account serves several connectors, many connectors share a team, or rotation must be audited. For a small trial with one non-sensitive source, a simpler approach may be enough. Confirm in the OpenMetadata security and deployment documentation for your release which secret stores are supported, how a connection references a secret instead of holding its value, and which identity the ingestion process needs to read it, before you choose a store and design access.
How ingestion reads credentials from a secrets manager
The operator writes the connector password into the chosen secret store, not into the OpenMetadata service form. The OpenMetadata server keeps only a reference to that secret, so the metadata database never holds the plaintext. When an ingestion run starts in Airflow or on Kubernetes, the runtime resolves the reference and opens the connection to the source system. Check which component can read the secret at each hop, and confirm the exact resolution path for your OpenMetadata version and deployment type.
General pattern: the metadata database stores a reference, and ingestion resolves the secret at run time.
Which secret store fits your deployment
This table compares the secret stores OpenMetadata ingestion can read from, showing where each fits, who operates it, and what to confirm in OpenMetadata's current docs before choosing it. Read each row against where your OpenMetadata servers and ingestion workers already run, since the store should sit in the same trust boundary.
| Store | Where it fits | Who operates it | Confirm before choosing |
|---|---|---|---|
| AWS Secrets Manager | AWS account where OpenMetadata ingestion runs, such as EKS or EC2 workers | Your cloud team, through AWS IAM policies and the AWS account owner | Which secret reference formats and region settings the current connector docs accept |
| AWS Systems Manager Parameter Store | AWS account where ingestion runs, for teams that want parameters without a dedicated secrets service | Your cloud team, through AWS IAM policies | Whether your OpenMetadata version reads SecureString parameters and how it resolves parameter paths |
| Azure Key Vault | Azure subscription and resource group hosting OpenMetadata workers or AKS clusters | Your Azure platform team, through Azure RBAC or access policies | The authentication method for the vault connection and the secret name format the docs expect |
| GCP Secret Manager | Google Cloud project where GKE or Compute Engine ingestion workers run | Your cloud team, through IAM roles on secret versions | Which project and secret version references the current release reads, and the service account scope required |
| Kubernetes secrets | Cluster where OpenMetadata and its ingestion pods run, including on-premises clusters | Your platform team, through cluster RBAC and any encryption-at-rest setup for etcd | Whether your deployment mounts secrets as environment variables or files, and the Helm values that reference them |
| Self-managed Vault-compatible store (Vault, OpenBao) | Data center or private network you control, reachable from ingestion workers | Your security or platform team, which also owns unsealing, backups and upgrades | Whether OpenMetadata lists support for your exact product and version, since HashiCorp moved future Vault releases to the Business Source License 1.1 under its August 10, 2023 announcement, OpenBao is an MPL-2.0 community fork, and OpenBao's migration guide was tested only against Vault 1.14.1 community edition, not Vault Enterprise |
How ingestion reads secret references at run time
A secret reference is a pointer to a credential that lives in your secrets manager, while a secret value is the password or key itself. With a reference, the connector configuration in OpenMetadata holds only the pointer, and the value is fetched when a job runs. The component that usually needs the value is the ingestion process, not the OpenMetadata web server, because ingestion is what opens connections to your warehouses, databases and BI tools. The web server mainly stores and displays service definitions. Confirm the exact reference syntax and the list of supported secret manager providers for your OpenMetadata version in the security and ingestion documentation before you write any configuration, since field names and formats differ by release.
When a scheduled pipeline starts, the ingestion workflow resolves each reference by calling the secrets manager using the identity the process runs under. That identity is the runtime identity: an AWS IAM role attached to the container, workload or instance, an Azure managed identity, a GCP service account, or a Kubernetes service account bound to the pod through workload identity or a similar mechanism. The workflow then uses the fetched value to connect to the source, extracts metadata, and writes it back to OpenMetadata through its API. Check that the runtime identity has read access only to the specific secrets that connector needs, that the secret names or ARNs in the configuration match what exists, and that the identity can reach the secrets manager endpoint from the network where ingestion runs.
A failed secret fetch normally surfaces as an ingestion failure in the pipeline run, not as an error in the OpenMetadata user interface, so the first place to look is the run log of the failed workflow. Typical causes include a missing secret, a wrong secret name, an access denied response from the secrets manager, or an identity that is not bound to the expected role. Test the path before enabling a schedule: run a single manual ingestion against one test source using the same identity and network as production, and confirm that the connection test succeeds. Also plan for rotation. Because values are read at run time, rotating a secret in the manager should not require editing the connector, but you should confirm how long cached values persist in your chosen deployment and whether a restart is needed.
Choosing a store by where OpenMetadata and ingestion run
OpenMetadata documents production deployments on AWS EKS, Azure AKS, Google GKE and on-premises clusters. On managed clusters, the natural store is usually the one from the same cloud provider, and the pods reach it through a workload identity rather than a stored key. On on-premises clusters, Kubernetes secrets are the default option, and the controls around them are your responsibility.
- Match the store to the cloud: EKS pairs with AWS Secrets Manager or SSM Parameter Store, AKS with Azure Key Vault, and GKE with GCP Secret Manager.
- Bind identity to the service account: use the cluster's workload identity mechanism so ingestion pods receive short-lived credentials, and grant that identity read access to the named connector secrets only, not a wildcard path.
- Restrict Kubernetes secrets on-premises: confirm that encryption at rest is enabled for the cluster's data store and that role-based access control limits who can read secrets in the OpenMetadata namespace.
- Keep values out of Helm files: check that connector credentials reach ingestion pods at runtime and do not appear in values files or pipeline definitions committed to source control.
Read the OpenMetadata deployment docs for your cluster type, then confirm with a test connector in a non-production namespace that the pod can read its secret and nothing else.
A bare metal install has no orchestrator to inject secrets, so the host itself has to fetch them. The bare metal prerequisites include Java 21, PostgreSQL 15 or later or MySQL 8.0.42 or later, and Elasticsearch 9.x or OpenSearch 3.x. Because the database and search choices change the libraries and drivers on the host, the secret read path must be tested on that exact stack before any connector goes live.
- Use instance or managed identity: attach an instance profile on AWS, a managed identity on Azure, or the equivalent on your hypervisor so the host reads secrets without a static access key stored on disk.
- Scope the read policy: grant read access to the specific connector secrets only, and confirm the policy cannot list or read unrelated secrets in the same account or vault.
- Keep credentials out of server config: do not place connector passwords in the server configuration file. If a file-based fallback is unavoidable, restrict its ownership and permissions to the service account.
- Consider a self-run store with license checks: if you run your own secret service, HashiCorp Vault moved to the Business Source License 1.1 starting with version 1.15.0, while OpenBao is an MPL-2.0 community fork. Confirm the license terms with your legal team before choosing.
Read the bare metal deployment docs for the prerequisites, then run a test ingestion on the production-like host to confirm the secret is read at runtime.
Ingestion jobs can run on cloud compute separate from the OpenMetadata server, for example on scheduled workers in the same cloud account as your data sources. In this path, the worker's execution role determines what it can read, so the secret store should sit in the same account or subscription and the grant should follow the worker, not a shared administrator identity.
- Use the worker's execution role: give the ingestion worker a task role, managed identity or service account that is the only principal allowed to read connector secrets.
- Store one secret per source: a separate secret for each source system lets you rotate or revoke one connector without touching the others.
- Plan cross-account reads: if sources live in other accounts or subscriptions, define the cross-account policy explicitly and confirm the connector supports the authentication method you plan to use.
- Audit access without logging values: confirm that secret reads appear in the cloud audit log and that ingestion logs do not print credential values.
Read the OpenMetadata deployment docs for how ingestion runs are scheduled, and the OpenMetadata security docs for credential handling. Then rotate one test secret and confirm the next scheduled run picks up the new value.
Setting up a secrets manager for connector credentials
This sequence moves connector and bot credentials out of OpenMetadata's database and into a secrets store your team controls, then proves that ingestion still works and that no plaintext values remain in the metadata database. Each step ends with a check you can run before moving on.
Inventory every connector and bot credential
Start by listing each ingestion connector, its source system, the account it authenticates as, and the bot identities that OpenMetadata uses for ingestion and API calls. Record which credential type each one uses, such as a username and password, an access key, a service account key or a token, and note which environment it serves. Owners should sign off on the list, because any credential missing from it will likely stay in the database. Done means you have a complete register with one row per credential and a named owner for each row.
Choose the secret store for each environment
Pick the store that matches where OpenMetadata and its ingestion run: AWS Secrets Manager or SSM Parameter Store, Azure Key Vault, GCP Secret Manager, or Kubernetes secrets. Use the same store family for production and staging where possible, and confirm with your platform team which store already has audit logging, rotation tooling and access reviews. Confirm the exact secret reference format and supported options against the current OpenMetadata security and deployment documentation for your version before writing any configuration. Done means each environment has a documented store and a written reference format.
Create one secret per source with scoped read access
Create a separate secret for each source credential, named so that its connector and environment are obvious. Grant read access only to the identity that runs ingestion, such as the pod's service account, the IAM role of the ingestion host or the managed identity of the runner, and deny it write and list permissions it does not need. Keep administrators and humans out of the read path where possible. Check the result by fetching one secret with the ingestion identity, which should succeed, and then with an unrelated identity, which should fail with a permission error.
Point each connector at its secret reference
In each connector configuration, replace the inline password, key or token with the secret reference that OpenMetadata supports for your store and version. Make the change in a non-production instance first and keep the old values only in your change record until the test passes. Remove the inline values from configuration files, Helm values and deployment manifests so they are not committed to version control. Done means each connector configuration contains references only, and a review of the diff shows no literal credential values.
Run a test ingestion in a non-production environment
Run ingestion for one connector at a time in the non-production environment, starting with the connector that has the narrowest permissions. Confirm that the run completes, that the expected tables, dashboards or pipelines appear in the catalog, and that the ingestion logs show the connection succeeding without printing the secret value. Then run a deliberately wrong reference or revoked permission once to confirm that the failure is clear and does not expose the credential. Done means a successful run for each connector and one controlled failure with a readable error.
Confirm the metadata database holds no plaintext secret
Query the OpenMetadata database for the connector and service configuration records, searching for the literal values you recorded in the inventory and for common credential field names. The query should return no plaintext password, key or token, only references or masked values. Repeat the check against the search index and any exported configuration backups, since those can also hold copies. Ask your database owner to run the query on your behalf if you do not have direct access. Done means the search returns no matches for the recorded values.
Rotate one secret and re-run ingestion
Choose one non-production source, generate a new credential at the source system, and write the new value to the same secret name in your store. Do not edit the OpenMetadata connector configuration, because the reference should stay the same. Run ingestion for that connector and confirm it succeeds with the new credential, then revoke the old credential at the source. Record the steps so that your team can repeat the rotation for production later. Done means the rotated credential works, the old one fails, and the rotation procedure is written down.
Security risks to design out before connectors go live
A secrets manager only protects connector credentials if its access model, the identities that read it, and the people who edit connector configuration are designed together. The cards below cover the places where a credential can leak or outlive its intended use, each paired with the control to apply before the first connector runs.
Over-broad read access on the secret store
Many teams grant read access to a whole secrets path or vault because it is quicker than scoping each secret. Limit each ingestion identity to the secret names for its own source, and separate create and update rights from read rights so administrators of the store are not automatically readers of every warehouse password. Review the policy whenever a connector is added or retired, and confirm the policy in your own environment before the first run.
One ingestion identity reading every source
A single shared role that can read all connector secrets turns one compromised pipeline into access to every database OpenMetadata crawls. Give each service or team its own identity, bound to its own secret paths, so a failure stays inside one source. Ask your platform team to confirm how the chosen store expresses this scoping, since the mechanism differs between AWS, Azure, GCP and Kubernetes.
Secrets copied into logs or DAG code
Ingestion workflows run as code, and a password pasted into a workflow definition or printed during a failed run ends up in version control, scheduler history or log storage. Keep only secret references in connector configuration, and check that connection errors and debug output mask resolved values. Review the DAG repository and the scheduler log retention settings as part of the same change, because both outlive the secret itself.
Rotation gaps when a source password changes
When a database team rotates a password in the source system but the secret in the store is not updated, ingestion fails and someone often works around it by writing the new value into a config file. Agree an owner for each secret, a rotation procedure and a test run after every change. Ask whether your store can rotate the value on a schedule and whether OpenMetadata picks up the new value without a restart in your version.
Audit logging of secret reads
You need to know which identity read which connector secret and when, both to investigate misuse and to show an auditor that credentials are controlled. Turn on audit logging in the secret store and send it to a system the platform team does not administer. Confirm how long those logs are retained in your environment, because the default retention is set by the store and by your logging platform, not by OpenMetadata.
Admin trust over connector configuration
The OpenMetadata admin role can create and edit services, which decides which secret references a connector uses and where its metadata is sent. A secrets manager does not limit that trust, so it must be controlled through OpenMetadata's own roles and policies. Keep the secret store and OpenMetadata sign-in as separate controls, because OpenMetadata does not support combining multiple authentication mechanisms at once, and review who holds admin rights before connectors go live.
OpenMetadata security docsQuestions buyers ask before setting this up
What does a secrets manager setup cost, and what drives it up?
Cost has three parts: the design and build work, the secret store's own fees, and upkeep after go-live. The build is quoted by whoever performs it, based on a written scope, and it is mostly one-time. The store is paid for separately. Cloud secrets services and HashiCorp Vault each have their own commercial model, and HashiCorp's pricing page publishes no Vault Enterprise prices and refers self-managed buyers to sales, so get those figures in writing. Recurring costs include credential rotation, access reviews as connectors change, and keeping ingestion images current. The main drivers are the number of connectors, the number of secret stores (one cloud or several), how much IAM or Vault practice already exists, and whether ingestion runs in Airflow or on Kubernetes. Each one adds design and test work. Ask every quote to list these drivers separately so you can see what changes if the scope grows.
How long does it take to connect OpenMetadata to a secrets manager?
Duration depends on the same drivers as cost, plus the approval path your security team runs for IAM policies and credential changes. A single store with a few connectors moves faster than several cloud accounts, because each account needs its own roles, network paths and connector tests. Waiting on access often sets the pace: cloud accounts, cluster permissions and named source owners can take longer than the configuration itself. No duration can be given responsibly before your environment is known. Ask for the timeline as a milestone list in the written scope, with every dependency on your side marked and tied to an owner.
What must our internal team provide before the work starts?
Your team supplies access and decisions, and the work moves at the pace of those. Typically that means:
- Cloud account or Kubernetes cluster access, with a role that can create the IAM policies and secret entries the build needs
- A named owner for each source system and each connector, who can confirm the database user and the scope the connector needs
- A security sign-off path for IAM policies, secret naming, rotation and which identities may read which secret
- A non-production source or test environment to validate connections before production systems are touched
Without a named owner for each source, a connector cannot be verified, and the build stalls at the testing stage.
Can our own engineers do this without an outside partner?
Yes, one team can do this alone when the scope is small: one secrets store, a few connectors, and ingestion in a runtime the team already operates. The work then centers on one cloud's IAM policies, storing each connector's credential in the store, and confirming that ingestion reads it. It gets harder across several clouds, Vault, Kubernetes secrets and multiple ingestion runtimes, because each store has its own identity model, rotation behavior and failure modes. Engineers who have not reviewed credential exposure in the metadata database often miss the places where a password still persists. Even if you build alone, plan an internal review step. Check the store's access model and your OpenMetadata version against the official docs before you start.
What should a written scope include before we hire a partner?
A written scope lets you compare quotes and hold a partner to the work. Ask it to list:
- Each secret store in scope, and which connectors and bots read from each one
- The ingestion runtime (Airflow or Kubernetes) and how it authenticates to the store
- IAM or access policy design, secret naming, and the least privilege each connector receives
- Rotation steps, how each change is tested, and what happens when a secret is missing
- Verification of each connector after the change, plus operator documentation and handover
- What is out of scope, and who signs off each stage
DeployOpen can prepare compliance evidence for these controls, but it does not issue audit reports or certifications, so confirm which evidence your assessor expects before the work begins.
Does Vault's license change affect our choice of secret store?
It can, so settle the license question before design starts. HashiCorp announced that future releases would move from MPL-2.0 to the Business Source License 1.1. The Vault LICENSE file names IBM as licensor, covers Vault 1.15.0 or later, bars competitive hosted or embedded offerings, and converts each version to MPL-2.0 four years after publication. Whether your use is competitive is a legal question, so have counsel read the license against your plans. OpenBao is a community fork under MPL-2.0, managed under the Linux Foundation's OpenSSF. Its migration guide was tested only against Vault 1.14.1 community edition, so Vault Enterprise users should confirm compatibility before relying on it.
Limits to confirm in your environment
A secrets manager setup depends on what the installed OpenMetadata release, its ingestion images and your source systems actually support. The cards below list the items to check against the OpenMetadata 2.0 release notes and security docs for your version before you commit to an architecture.
Supported secret stores for connectors
Confirm which secret store backends the installed OpenMetadata release accepts for connector and bot credentials. Support is not the same across AWS Secrets Manager, SSM Parameter Store, Azure Key Vault, GCP Secret Manager and Kubernetes secrets, and a store listed in general docs may not cover every connector path. Record the exact release you will run and the store configuration it documents, because the answer can change between minor versions.
Security docsNative reads or custom ingestion image
Check whether the ingestion image for your chosen Python and Airflow versions reads your secret store natively or needs a custom image with the right client libraries and IAM or identity configuration. If a custom image is required, your team owns its build, scanning and rebuild schedule. Ask how the ingestion runner authenticates to the store, since that identity becomes another privileged principal to govern.
Python 3.12 change in 2.0 images
Ingestion images in 2.0 move to Python 3.12 with Apache Airflow 3.3.0. Any custom ingestion image built on an older base must be rebuilt and retested before the upgrade. Confirm that the secret store client libraries you add install cleanly on Python 3.12 and that your pipeline code runs under Airflow 3.3.0.
2.0 release notesllmConfiguration move for embedding credentials
The 2.0 release moves embedding credentials into an llmConfiguration block, which is a breaking change. If your deployment stores embedding provider keys alongside other credentials, the configuration key you use for secret references will change. Check the migration steps in the release notes and test the configuration on a non-production instance before upgrading.
2.0 release notesVault and OpenBao backend support
Do not assume that a HashiCorp Vault or OpenBao backend is supported for connector credentials. Confirm with the OpenMetadata documentation for your release whether either is a listed store, and if it is not, decide whether a supported cloud store or Kubernetes secrets will serve instead. Ask your security team which Vault edition and licensing model you already run, since that affects any integration work you plan.
Source system rotation requirements
Each source system sets its own credential rotation rules, such as maximum password age, key expiry or required service account rotation. Ask the source owner which rotation interval applies, then confirm that your secret store can update the stored value and that ingestion picks up the new credential without a manual edit. A rotation that breaks scheduled ingestion is an operational incident, so test it before the first scheduled run.
How DeployOpen works on this
DeployOpen plans and implements self-hosted OpenMetadata inside your own infrastructure, so connector and bot credentials sit in the secrets store you already run and not in OpenMetadata's database. We start from an agreed written scope, build the secret paths and ingestion wiring against your environment, and hand over documentation your platform and security teams can review.
How we scope
- Inventory every connector and bot that needs credentials, and the secrets store each one will read from
- Confirm which secrets store your cloud or cluster supports and who owns its access policies
- Agree in writing which ingestion paths, environments and teams the secrets work covers
How we build
- Configure the secrets manager integration for OpenMetadata and test that ingestion reads each credential at run time
- Set least-privilege read policies for the ingestion identity and remove stored credentials from the database
- Test the setup in a non-production environment, including failure cases such as a missing or rotated secret
How we hand over
- Deliver a runbook covering secret names, policies, rotation steps and how ingestion resolves each reference
- Document the access model so your security team can review who and what can read each secret
- Walk your platform engineers through the build and confirm they can rotate a credential without a rebuild
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after handover
- Review secrets handling again when you upgrade OpenMetadata or change connectors
- Confirm the scope, deliverables and any retest in writing before follow-on work starts

