Passwordless database authentication for OpenMetadata on AWS and Azure

Connect self-hosted OpenMetadata to RDS with IAM authentication or to Azure Database flexible servers with Microsoft Entra, so no static database password sits in configuration. This page covers the decisions, build sequence, and checks to confirm.

On this page

Passwordless database authentication for OpenMetadata: what it removes and when to use it

If your platform team runs OpenMetadata on AWS or Azure and stores a static password for its metadata database in a configuration file, a Kubernetes secret or a deployment variable, cloud-issued tokens can replace that password. On RDS, the database user can authenticate with a short-lived IAM token, and on Azure Database for PostgreSQL or MySQL flexible servers, the identity can authenticate with a Microsoft Entra token. Either way, the long-lived credential stops existing as a value your team has to store, rotate and protect. OpenMetadata connects to its own database (MySQL or PostgreSQL) through its server and ingestion components, so the work is to confirm that the deployed version can take a token in place of a password, then wire the cloud identity to the database user with the minimum rights it needs.

The effort is worth it when the metadata database holds sensitive lineage, ownership and classification data, when your security baseline already forbids standing database passwords for production systems, or when a compliance assessment asks how database credentials are rotated and who can read them. It is less compelling for a small proof-of-concept deployment where the database is not reachable outside the cluster. Before you start, confirm the exact IAM or Entra configuration keys, the token lifetime, the required authentication plugin or driver settings and the TLS requirements against the current OpenMetadata and cloud provider documentation, because the research behind this page does not include them. Also check that your ingestion workers, which run separately, can obtain tokens from the same identity model, since a server that connects passwordlessly while its ingestion jobs still use a stored password leaves the static secret in place.

How the OpenMetadata server obtains a database token

The flow starts when the OpenMetadata server or an ingestion worker needs a connection to the metadata database. The workload presents its cloud identity, an IAM role on AWS, a Kubernetes service account bound to a workload identity, or a Microsoft Entra managed identity on Azure, to the cloud token service, which issues a short-lived database token. That token is passed as the password on the database connection, so no static password is stored in configuration. Check that each identity is scoped to a single database user and that the token lifetime and refresh behavior are confirmed in your own environment.

Workloads exchange a cloud identity for a short-lived database token across the trust boundary.

AWS RDS IAM or Azure Entra: which path fits your estate

RDS IAM database authentication fits OpenMetadata when the metadata database runs on Amazon RDS and the OpenMetadata server and ingestion workers run on EKS or EC2 with an IAM role attached. The workload requests a short-lived authentication token from IAM and presents it in place of a stored database password, so no static password needs to live in configuration. The workload identity is the control point, which makes the IAM policy the main thing your security team reviews.

  • Hosting fit: EKS workloads using IAM Roles for Service Accounts or EC2 hosts using an instance profile. Confirm every pod or host that opens a database connection, since each one needs the role.
  • IAM policy: Grant rds-db:connect only on the database user resource for the OpenMetadata database account, not on the whole instance.
  • Database user setup: Create the database user and its IAM authentication grant according to AWS documentation for your engine and version. Confirm the exact grant statements before you run them in production.
  • Token refresh: Tokens are short-lived and generated per connection. Test how your connection pool recycles and expires connections, and confirm that new connections request fresh tokens during long-running ingestion.
  • Encryption: AWS requires encrypted connections for IAM authentication, so confirm the SSL mode and CA bundle in the OpenMetadata database configuration.

Before you change the configuration, verify the token validity window in AWS documentation and confirm that your OpenMetadata release and database engine version support this path.

Options for removing static database passwords

This table compares the main ways to stop storing a static database password for OpenMetadata: RDS IAM authentication, Microsoft Entra authentication on flexible servers, a secrets manager that rotates the password, and keeping a static password. Read each row for where the option applies and what your team still runs, then check the last column against your cloud and identity setup. The main takeaway is that the cloud-native options remove the password from configuration only if OpenMetadata's database driver and deployment support the token flow, so confirm that before you commit.

OptionWhere it appliesWhat the team still managesWhen it fits
RDS IAM authenticationAmazon RDS or Aurora databases that OpenMetadata connects to over IAM database authenticationIAM roles and policies that grant database connect rights, token refresh in the client, TLS settings, and the database user mapped to IAMAWS deployments where the OpenMetadata workload can assume a role and the database engine and driver support IAM tokens
Microsoft Entra authentication for flexible serversAzure Database for PostgreSQL or MySQL flexible servers configured for Entra sign-inEntra identity or managed identity for the workload, the database role mapped to that identity, token acquisition and renewal, and admin assignmentsAzure deployments where workload identity is available and the database engine version and driver support Entra tokens
Secrets manager with password rotationAWS Secrets Manager, Azure Key Vault or another vault that holds a database password and rotates itRotation function or configuration, rotation schedule, access policies on the secret, and a restart or refresh path for OpenMetadata when the password changesTeams that must keep a password-based login but want it rotated and kept out of configuration files
Static database passwordAny database engine, including self-managed PostgreSQL or MySQLPassword creation, storage in a secrets store, manual or scheduled rotation, and reviewing who can read the secretNon-cloud databases, or short-term setups where no supported token flow exists yet

Setting up passwordless database access for OpenMetadata

This sequence moves OpenMetadata's database login from a stored password to a short-lived token issued by AWS or Azure. Each step ends with a check so the platform team can confirm the change before retiring the old credential.

  1. Confirm the OpenMetadata version and deployment type

    The platform engineer records the OpenMetadata version, the deployment type (Kubernetes on EKS or AKS, or bare metal), and the database engine and version. Bare metal installs need Java 21 and MySQL 8.0.42 or later, or PostgreSQL 15 or later, so confirm the engine meets those minimums. Read the release notes for your version and confirm that its documentation describes token-based database login for your engine, because support can differ by version. Done when the record is filed with the change ticket and the documented login method for that version is confirmed in writing.

  2. Enable IAM or Entra authentication on the database

    The cloud administrator turns on the managed identity login feature on the database server. On Amazon RDS, this is IAM database authentication on the instance. On Azure Database flexible servers, this is Microsoft Entra authentication, along with an Entra administrator for the server. Confirm that the chosen engine and version support the feature in the provider's current documentation. Done when an administrator can request an authentication token with the cloud CLI or SDK and sign in with it from a test client.

  3. Create the database role or identity mapping

    A database administrator creates a database user that maps to the identity OpenMetadata will use. On RDS, this is a database user set up for IAM authentication, with the IAM policy that allows the instance's connect action attached to the OpenMetadata role. On Azure, this is a database user mapped to the Entra managed identity or service principal. Use the provider's exact syntax for your engine and keep the mapping in version control. Done when the mapped identity can obtain a token and the database user appears in the server's user list with the expected authentication method.

  4. Grant only the schema privileges OpenMetadata needs

    The database administrator grants privileges on the OpenMetadata database and schema only, with no server-wide or superuser rights. Decide early whether schema migrations during upgrades run under the same identity or a separate, more privileged one, and confirm this against the OpenMetadata deployment and upgrade documentation. Keep the migration identity off the running server where possible. Done when a test query as the role succeeds on the OpenMetadata schema and fails on another database on the same server.

  5. Point the database configuration at token login

    The platform engineer updates the database connection settings so the server requests a token instead of reading a password. Remove the static database password from configuration files, environment variables, Helm values and Kubernetes secrets. Confirm the exact configuration keys and the driver options for your version in the OpenMetadata security and deployment documentation, since names vary by release. Also confirm how the connection pool refreshes expired tokens, because a token that expires without a refresh will break long-running connections. Done when a search of the deployment configuration finds no static database password for this connection.

  6. Verify startup, migrations and the test connection

    The platform engineer restarts the OpenMetadata server and watches the logs until the server reports a successful start and the schema migrations finish. Then run the database connection check in the server and a test connection from the UI or the ingestion framework. Keep the previous password-based credential in place until these checks pass, then revoke it. Done when the server starts, the migration log shows no errors, the test connection succeeds, and a deliberately wrong or revoked role produces a clear authentication error.

Security and operational risks of token-based database access

IAM and Entra tokens remove static passwords, but they move the risk into token lifetime, permission scope, account separation and logging. The cards below cover the checks to make before the connection goes into production, and each one is something to confirm in your own environment with your cloud team and OpenMetadata deployment.

Token expiry and connection refresh

IAM and Entra authentication use short-lived tokens rather than a password that never changes. OpenMetadata and its ingestion workers must obtain a fresh token before the old one expires, or new connections will fail in the middle of a run. Confirm how your deployment type generates and refreshes tokens, test a run that spans the token lifetime, and check how failures appear in logs so they are not mistaken for network faults.

OpenMetadata security docs

Over-broad IAM and Entra permissions

The role that a token maps to must be granted only the database login and the read access that the connector needs. A broad cloud role, such as one that allows administrative actions on every database in an account or tenant, turns a leaked token into a wider exposure than a single database password would create. Review the mapping during design, record the exact grants, and confirm the scope with your cloud security team before approval.

Migration account rights

Schema changes and upgrades may need a higher privilege level than the runtime account. If the same identity runs both jobs, the scheduled connector process holds rights it does not need every day. Keep the migration identity separate, grant it only for the upgrade window, and confirm with the OpenMetadata upgrade notes which statements the release requires before you choose the grant set.

Audit logging of database logins

Token-based logins only help an investigation if the database and the cloud platform record them. Check that the database engine's audit or connection logs capture the role used, the source address and the time, and that those records reach your central log store. Without this, a connector login from an unexpected host can look identical to a normal scheduled run. Confirm the logging options with your provider's documentation.

Static password left enabled

Removing the password from the OpenMetadata configuration does not remove it from the database. If a local database user with a password still exists for the same connector, anyone who holds that password can still sign in, and the token-based path gives a false sense of control. Confirm that password login is disabled for the connector role, rotate or delete any stored value in configuration or secrets, and verify the result with a failed login test.

Trust in the cloud identity provider

Access now depends on the health and configuration of AWS IAM or Microsoft Entra, not only on the database. A compromised administrator in either service, a change to a trust policy or an expired managed identity can stop ingestion or grant access. Document who can change the identity's role or federated trust, require review for those changes, and confirm how your team responds if the provider account itself is compromised.

Questions teams ask before changing database authentication

How much effort does passwordless database authentication take for OpenMetadata?

Effort depends less on OpenMetadata itself and more on how many database connections, cloud roles and environments are involved. The work splits into four parts: granting a cloud identity (an IAM role or a managed identity) the right database permissions, enabling the IAM or Entra authentication method on the database server, changing the OpenMetadata server and ingestion configuration so tokens replace stored passwords, and testing each environment end to end. Each additional database or environment repeats most of these steps. Ask any partner to break the quote down by these parts and by environment, and to state which items are one-time setup and which are ongoing token handling and renewal checks.

Can an in-house team set up IAM or Entra database authentication alone?

A team that already runs its own RDS or Azure Database for PostgreSQL and manages cloud identity can usually do this internally, provided it has someone who can read the OpenMetadata deployment docs and test ingestion carefully. The harder part is usually coordination: the change touches cloud IAM, database roles, Kubernetes or bare metal configuration and the ingestion pipelines at the same time. Before deciding, confirm that your team has the database engine version and authentication method your platform supports, and that someone owns the rollback plan. A fixed-scope engagement from DeployOpen can cover planning, implementation and testing, with the handover documented for your team.

What does this work need from our cloud and database administrators?

Expect to need three groups of people. Cloud administrators must create or approve the identity that OpenMetadata or its ingestion jobs will assume, and confirm the trust policy or federated identity setup. Database administrators must create database roles mapped to that identity, grant the least privilege needed for metadata extraction, and enable the IAM or Microsoft Entra authentication setting on the server. OpenMetadata platform owners must update configuration and test ingestion. Agree on who approves each change, where the configuration lives and how access reviews will cover the new identities before the work starts.

How long does a passwordless rollout take across our estate?

The honest answer is that duration follows the estate. A single database in one account with a working OpenMetadata deployment moves much faster than a set of databases spread across several accounts, subscriptions and environments with separate approval chains. The main variables are the number of connections, how many environments need the change, whether cloud and database changes need change-advisory approval, and how many ingestion pipelines must be retested. This page does not supply a duration figure. Ask a partner for a timeline tied to a written list of connections and environments, and for the milestones that each approval step adds.

Does passwordless authentication replace a secrets manager for connector credentials?

No. Passwordless database authentication removes the static database password for the connection that OpenMetadata uses, but other credentials remain. Connector credentials for sources that do not support IAM or Entra authentication, bot tokens and other secrets still need a secure home. Keeping those out of the OpenMetadata database is covered by a separate secrets manager setup. Plan both together so you know which credentials remain, where each is stored and who can read them, and so your access reviews cover each store.

What should we ask a partner for in a fixed-scope quote?

Ask for a written scope that lists each database and cloud account or subscription, each OpenMetadata environment, the identities and roles to be created, and the database versions and authentication method for each engine. The quote should separate planning, implementation, testing in non-production environments, production cutover, documentation and handover. Ask which items are one-time and which recur, such as access reviews or token-handling checks after upgrades. Confirm the acceptance tests, the rollback procedure and what happens if a dependency, such as a database upgrade, changes the scope. DeployOpen does not publish a price list, so the quote follows from this written scope.

What breaks if passwordless authentication is set up incorrectly?

The most common failures are ingestion jobs that cannot obtain a token, database roles that lack the permissions needed for metadata extraction, and tokens that expire during long-running jobs. Some failures appear only in production schedules, not in a quick manual test. Before cutover, run each ingestion pipeline with the new identity, check the logs for authentication errors and confirm that a failed token request does not silently fall back to a stored password. Keep the old credential available only for the rollback window, then remove it and record that removal in your change log.

How DeployOpen scopes and delivers passwordless database access

DeployOpen plans and implements OpenMetadata inside your own AWS or Azure accounts, including the move from static database passwords to IAM or Microsoft Entra authentication. We scope the database identity model, build and test the connection path in your environment, and hand over the configuration and runbooks your platform team needs to operate it.

How we scope

  • Written scope lists each OpenMetadata service, database engine and cloud account covered by the passwordless change.
  • We map which pods or hosts hold database credentials today and which identity should replace each one.
  • The scope names who approves IAM role or managed identity changes, and which environments are in or out.

How we build

  • We configure the RDS IAM or Azure Entra token flow for the OpenMetadata server and ingestion components you run.
  • We confirm the token lifetime, refresh behavior and TLS settings against your OpenMetadata version and database service.
  • We test failover, token expiry and permission denial paths in a non-production environment before any cutover.

How we hand over

  • You receive the identity policies, database role mappings and configuration changes as versioned files in your repository.
  • Documentation covers the cutover steps, rollback path and how to rotate or revoke access without a password reset.
  • A walkthrough with your platform and security teams covers what to monitor and who owns each identity.

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Upgrades that change database drivers or OpenMetadata versions are re-tested against the passwordless path before rollout.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.