OpenMetadata security hardening

OpenMetadata security hardening sets who can sign in, which bots and connectors hold credentials, and who can see or change sensitive assets. This page covers the decisions, build sequence, effort drivers and checks to close each step.

On this page

Why OpenMetadata security hardening goes beyond turning on SSO

Turning on SSO is the first step, not the whole job. A catalog that describes regulated data also shows who owns it, how it flows between systems, and which tables carry sensitive classifications, so its own access model needs the same scrutiny as the warehouses it describes. OpenMetadata security hardening covers five linked parts: how people sign in, how bot tokens are issued and rotated, how connector credentials are stored and scoped, which network paths reach each source, and how TLS and least-privilege policies protect sensitive assets. These parts interact. A connector with a broad service account can read far more than its ingestion job needs, and a bot token with admin rights undoes a tight SSO setup.

The sign-in change has a constraint that must be planned. OpenMetadata does not support combining multiple authentication mechanisms at once, such as SSO alongside basic authentication, so the move away from basic authentication is a cutover rather than a gradual toggle. Before changing it, list every account and automation that depends on basic login, decide how each one will authenticate afterward, and confirm in the target version how existing admin and bot users are handled. The OpenMetadata security documentation is the place to check the supported providers and the exact configuration keys for your release.

Confirm the following in the version you deploy, because security behavior changes between releases: the authentication configuration keys, how bot tokens are generated and expired, where connector secrets are stored, which TLS settings the server and search services accept, and how role-based policies apply to classified or tiered assets. OpenMetadata 2.0.0 was released on August 24, 2026, and its release notes list breaking changes, so check the OpenMetadata 2.0 release notes before you finalize a hardening baseline for an upgraded install. Test each change in a non-production instance and record the result as evidence for your security and compliance reviewers.

Which OpenMetadata components hold access and credentials

An OpenMetadata deployment holds more access than its web interface suggests. The server, bot identities, stored connector credentials, backing databases, APIs and AI features each reach into metadata, source systems or both. Review them as one set, because a weak link in any one of them can expose the others.

Server and authentication configuration

The server decides who can sign in and how. Confirm that SSO is the only sign-in path in your version, since OpenMetadata does not support combining SSO with basic authentication at the same time. Check the authentication settings in your deployment configuration, confirm the redirect and token settings match your identity provider, and restrict who holds administrator roles. Review these settings after every upgrade, because a migration can reset them.

Security docs

Bot and ingestion identities

Ingestion workflows authenticate as bot users, and each bot carries its own token and role. A bot with broad permissions can read or change metadata across every domain it touches. Create one bot per connector group, give each only the roles its workflows need, and record who owns each token. Confirm how your version issues, rotates and revokes bot tokens before you schedule ingestion.

Stored connector credentials

Each connector needs credentials to read a warehouse, BI tool or pipeline platform. These secrets are stored by the platform and used on every scheduled run. Use a read-only account per source, scope it to the schemas that need cataloging, and rotate it on a fixed schedule. Confirm where your deployment keeps these secrets and whether they are encrypted at rest and excluded from logs and exports.

Database and search services

The metadata store lives in MySQL or PostgreSQL, and the search index lives in Elasticsearch or OpenSearch. Both hold copies of table names, descriptions, owners and sometimes sample data. Restrict network access to the OpenMetadata server and ingestion workers only, enable authentication on the search cluster, and confirm the database role used by the server cannot administer other databases. Check the supported versions in the bare metal documentation for your target release.

Bare metal prerequisites

REST APIs and client libraries

The REST APIs, Python SDK, TypeScript packages and Java libraries all act with the token of the caller. Any script or service that holds a token can read or edit what that identity may access. Keep tokens out of source control, give automation its own bot identity, and review which scripts can write to glossary terms, ownership or classifications. Confirm your version's token lifetime and whether API access can be restricted by network origin.

MCP and AI features enabled by default

OpenMetadata 2.0 enables MCP by default, so AI clients can query metadata through the server. Any client that connects inherits the access of the identity it uses. Decide whether MCP should be on in your environment, confirm which identity it runs under, and test what an AI client can read and change. Also review the embedding credentials, which moved into a dedicated configuration block in 2.0.

Default MCP release
2.0.0
2.0 release notes

Choosing the authentication, bot and ingestion trade-offs

This table compares four hardening decisions for OpenMetadata: how humans sign in, how bot tokens are issued, where ingestion runs and how connector accounts are scoped. Read each row for when the option fits and what it asks of your team in rotation, monitoring and recovery. The main takeaway is that stricter choices reduce exposure but add operational work that must be planned before go-live.

DecisionOption AOption BOperational cost
Human sign-inSSO for all users with basic authentication switched offBreak-glass admin path kept outside SSO for recoverySSO outage blocks everyone unless a tested recovery admin exists. OpenMetadata does not run SSO and basic authentication together, so confirm how the break-glass path is handled in your version before go-live.
Bot tokensOne bot per ingestion pipeline with its own tokenShared bot used by several pipelinesPer-pipeline bots add rotation work and more entries to review, but a leaked token exposes one pipeline. Shared bots are simpler to rotate but widen the blast radius and blur audit trails.
Ingestion locationIngestion agents run inside the source networkCentral ingestion reaches sources across network boundariesIn-network runs keep source credentials and database ports private but require patching and monitoring of extra hosts. Central runs need firewall rules and a stronger case for credential storage.
Connector accountsPer-connector read-only accounts scoped to needed schemasOne broad service account across all sourcesScoped accounts multiply credentials to rotate and document. A broad account is faster to set up but gives any compromised connector access to everything it can read.
Credential storageSecrets held in your existing secrets manager and referenced at runtimeConnector credentials entered directly in the OpenMetadata configurationSecrets managers add integration work and an extra dependency during recovery. Direct entry is quicker but puts credentials in more places to audit and rotate.
Sensitive asset accessLeast-privilege policies applied to domains and tagged sensitive assetsDefault team-wide read access across the catalogRestricting sensitive assets takes ongoing policy review as owners and teams change. Broad access is easier to run but makes classification labels less protective in practice.
TLS on internal pathsTLS between browsers, servers, databases and search nodesTLS only at the public load balancerInternal TLS needs certificate issuance, renewal and trust configuration for every component. Confirm the supported settings for your deployment target with the vendor documentation.

How sign-in, bot tokens and source connections trust each other

The diagram starts with a user signing in through the identity provider (SSO), which hands the session to the OpenMetadata server. Ingestion bots authenticate to the same server with a bot token, and connectors use stored source credentials to reach warehouses and BI tools from the ingestion side. The server talks to the database and search service behind it. Check TLS on every arrow, the scope of each bot token, and which network paths are open to each source.

Trust hand-offs between users, bots, connectors, sources and internal services.

Hardening OpenMetadata in sequence, from sign-in to sensitive assets

This sequence moves an OpenMetadata install from a default configuration to one where people sign in through a central identity provider, automated jobs use scoped identities, credentials and network paths are controlled, and sensitive assets are protected by explicit policies. Each step closes with a check you can run before moving on.

  1. Confirm deployment target and version

    Before changing any setting, record where OpenMetadata runs (Kubernetes, bare metal or Docker for a trial) and the exact server and ingestion versions in use. The supported deployment paths are documented in the deployment guide, and the 2.0 release notes list breaking changes, including moving embedding credentials into an llmConfiguration block and a new Databricks auth format, so hardening settings must be written against the version you actually run. Confirm the version against the GitHub releases page and check that the Java, database and search prerequisites in the bare metal guide match your host. Done means you have a written inventory with versions and a list of the network zones the servers sit in.

  2. Configure SSO and switch off basic authentication

    Connect OpenMetadata to your identity provider, such as Okta, Azure, Google, Keycloak or a custom OIDC provider, using the settings in the security documentation. OpenMetadata does not support running SSO and basic authentication at the same time, so once SSO works for all admin accounts, remove basic login for human users. Your identity team should own the application registration, redirect URIs and group claims. Done means a test user signs in through the identity provider, and a sign-in attempt with a local password is refused.

  3. Define admin and break-glass access

    Map identity provider groups to a small set of OpenMetadata admin roles and keep that group short and reviewed. Define one break-glass path for the case where the identity provider is unavailable, and document who holds it, where its credentials are kept, and how access is logged and revoked after use. Because the platform does not run basic authentication alongside SSO, the break-glass design must be confirmed against the current security documentation for your version before go-live. Done means a named list of admin accounts, an owner for each, and a tested emergency procedure that a second person has reviewed.

  4. Create scoped bot identities for each ingestion job

    Create a separate bot identity for each ingestion job or connector group instead of sharing one powerful token across all pipelines. Give each bot only the permissions its connector needs to write metadata, and rotate its token on a schedule your security team sets. Keep a register that links each bot to its pipeline, owner and permissions. Done means that revoking one bot token stops one pipeline without affecting the others, and a test run with that bot shows it cannot change policies or domains outside its scope.

  5. Store connector credentials in platform secret handling

    Move source database passwords, service account keys and API tokens out of ingestion configuration files and into the secret handling supported by your deployment, such as Kubernetes secrets or your external secret manager. Confirm with the vendor documentation for your connector which secret references it accepts. Restrict read access to those secrets to the ingestion workloads that need them. Done means a search of your config repositories and running containers finds no plaintext source credentials, and the ingestion log of a test run does not print them.

  6. Restrict network paths to sources

    Allow the ingestion workers to reach only the specific hosts and ports each source requires, using firewall rules, security groups or network policies. Keep the OpenMetadata server, database and search cluster on private addresses where possible, and confirm that the database and search services are not reachable from user networks. Record each allowed path with its owner and purpose. Done means a connection test from outside the allowed list fails, and each connector's test connection succeeds from its approved path.

  7. Enable TLS on every hop

    Enable TLS for browser access to the server, for connections from ingestion workers to the API, for the database connection and for the search cluster connection, using certificates issued by your internal certificate authority. Where a source database or API offers encrypted connections, require them in the connector settings and confirm the setting with the source owner. Done means every endpoint returns a valid certificate chain when tested, and a connection attempt without TLS to the database or search service is refused.

  8. Apply least-privilege policies to domains and sensitive assets

    Assign domain ownership and asset access so that only the teams responsible for a data domain can edit its glossary terms, lineage and classifications, and so that sensitive assets carry restricted access rules and classification tags that others cannot change. Review role assignments against the identity provider groups defined earlier. Done means a test user from a non-owning team cannot edit a restricted asset, the owning team can, and the test results and role mapping are saved with the hardening record for your auditors.

How hardening differs across Docker, bare metal and Kubernetes

Docker is the documented route for local trials and evaluation, not a production target. A single compose-style stack puts the OpenMetadata server, its database and its search service on one host, so most hardening decisions are about keeping that host and its published ports out of reach. Secrets usually arrive as environment values in the compose definition, and TLS termination is not provided by the default trial setup, so any HTTPS endpoint has to come from a reverse proxy your team adds.

  • Secrets: Default trial credentials and database passwords must be replaced before any shared use, and values in compose files should not be committed to version control.
  • TLS termination: Expect to place a reverse proxy in front of the server and terminate HTTPS there, since the trial stack does not give you a production certificate workflow.
  • Network exposure: Publish only the web port you need, and keep the database and search ports bound to the internal Docker network.
  • Build-your-own items: Backups, log retention, host patching and access review are not part of a trial stack and must be planned separately.
  • Migration path: Treat a Docker setup as disposable, and confirm which configuration moves unchanged into your production target.

Before reusing any trial stack for shared data, check the current compose file and security docs for the exact settings in your release.

Access controls and secrets handling to put in place

These six controls close the most common routes into an OpenMetadata catalog: a password login that bypasses SSO, long-lived bot credentials, plaintext connector secrets, unrestricted source access, unencrypted traffic and open access to sensitive metadata. Each one has a concrete check, so a security team can confirm it is in force rather than assume it.

SSO enforcement without basic login

Configure one identity provider, such as Okta, Azure, Google, Keycloak or a custom OIDC provider, and disable basic authentication so no parallel password login exists. OpenMetadata does not support combining SSO with basic authentication, so a single enabled mechanism is the expected state. Confirm by attempting a direct login with a local account and verifying it is refused. Also review who holds admin rights in the identity provider, because those roles map into OpenMetadata.

Security docs

Scoped and rotated bot tokens

Ingestion workflows authenticate through bot accounts, and each bot token gives an automated process standing access. Create one bot per connector or workflow group, grant only the roles that workflow needs, and set a rotation schedule owned by a named person. Revoking a token should break only the workflow it serves. Confirm by listing bot accounts, checking their roles and verifying that a rotated token is stored in the secrets manager, not in a pipeline file.

Connector credentials kept out of files and logs

Source passwords, service account keys and API tokens should be resolved at runtime from a secrets manager or a Kubernetes secret, not typed into workflow YAML or committed to Git. Ingestion logs can also echo connection details if verbosity is high, so review log retention and access. Confirm by searching the repository, the container image and the ingestion logs for known credential patterns and finding none. Use a dedicated read-only account for each source.

Network allow lists from ingestion to sources

The ingestion runner needs network paths to warehouses, BI tools and pipeline systems, and each open path is a route an attacker could reuse. Restrict egress from the ingestion host or pod to the specific hostnames and ports each connector uses, and block everything else by default. Keep the OpenMetadata server and its database and search services on private subnets where possible. Confirm by testing a connection to an unlisted host from the ingestion environment and verifying it fails.

TLS for browser, API and database traffic

Encrypt traffic from users' browsers to the OpenMetadata server, from API clients and SDK calls to the server, and from the server to its MySQL or PostgreSQL database and to Elasticsearch or OpenSearch. Unencrypted hops expose session tokens, bot credentials and catalog contents on the network. Use certificates from your internal or public authority and document renewal ownership. Confirm by inspecting each endpoint's certificate and verifying that plain HTTP and unencrypted database connections are rejected.

Ownership-based policies on sensitive assets

Glossary terms, domains and classifications that mark personal or financial data should have a named owner who approves changes and access. Without this, anyone with an editor role can alter definitions, reclassify tables or hide quality failures on regulated data. Map identity provider groups to teams and assign owners to each sensitive domain and glossary term. Confirm by picking a sensitive domain and checking that its owner is set and that only that owner's team holds edit rights.

What drives hardening effort and how to keep it down

This table lists the factors that expand or shrink an OpenMetadata hardening job, with a way to reduce each one. Read it to see where scope grows fastest and which design choices keep the work bounded before a quote is requested.

DriverWhy it changes effortHow to keep it down
Identity providers and user groupsEach provider needs its own OIDC or SAML configuration, claim mapping and test login, and each group needs a role mapping to ownership and access.Standardize on one corporate identity provider, map a small set of roles, and avoid per-team providers. Confirm supported providers in the security docs first.
Number of connectors and source environmentsEvery connector needs credentials, network paths and a permission review, so effort scales with the count of sources and their variety.Start with the sources that hold sensitive data, reuse one credential pattern per source type, and onboard the rest in later waves.
Number of ingestion botsEach bot account needs its own token, scope and rotation process, and more bots mean more secrets to track.Use one bot per pipeline template or source family rather than one per pipeline, and document each bot's owner and purpose.
Network segmentation complexityReaching databases, BI tools and pipelines across segments usually requires firewall rules, egress paths and reviews for each route.Place the ingestion runners in a single controlled subnet, allow only required ports to each source, and document the rule set once.
Sensitivity classes needing restricted accessEach restricted classification needs its own policy, tested allow and deny cases, and evidence that the policy applies to lineage and sample data.Keep a short list of sensitivity classes, apply them through classifications, and reuse one policy template for each class.
Compliance evidence requirementsAssessors may ask for access reviews, configuration exports, log retention and change records, which add collection and retention work.Agree the evidence list before hardening starts, automate exports where possible, and confirm the required retention period with your assessor.
Separate dev, test and production environmentsEach environment needs its own identity configuration, bot tokens, connector credentials and test runs, which multiplies the checks.Use the same configuration templates across environments with only endpoints and secrets changed, and promote changes through a single pipeline.
TLS and certificate handlingEach internal service, database link and search connection needs certificate trust configured and tested, and certificates need renewal.Use one internal certificate authority, document trust stores once, and track expiry dates in the same system used for other services.

How to test that SSO-only and least privilege actually hold

Treat SSO-only access, bot scoping, credential secrecy, network reachability, TLS and asset restrictions as claims to be tested, not settings to be assumed. Before sign-off, run each as a written test case against a staging copy of the production configuration, and record the expected result before running it. Start with the login path: after SSO is enabled, attempt basic authentication with an existing local account and confirm it is refused. Then confirm that a user removed from the identity provider loses access to the UI and API. Because OpenMetadata does not support combining SSO with basic authentication, a passing result here should look identical to a refused login, with no hint that a local account exists.

Next, test the bots and the connector credentials. For each ingestion bot, call the API with its token against assets outside its intended scope and confirm the write or read is denied. Confirm that the bot token is not printed in ingestion logs, in the UI or in metadata exported through the APIs, by searching run logs and export files for the token value and for the connection password. Check the same for the source database connection. Then test network paths from the ingestion runner: attempt connections to hosts and ports the connector should not reach and confirm they fail. Verify TLS on each hop (browser to server, server to database, server to search, ingestion to sources) with a certificate check, and confirm that plaintext listeners are closed. Finally, log in as an unauthorized user and attempt to open a restricted asset directly by its URL and through search, expecting no metadata leakage.

Failing safely means each denial returns an error without exposing the restricted content, the test account is locked out rather than granted elevated access, and the failure is written to the audit trail. Record each test with its date, environment, OpenMetadata version, the tester, the exact steps, the expected and observed result, and a link to the captured output. Keep these records with the change ticket so an auditor can trace the control to its evidence. Retest after every upgrade, since version changes can alter defaults. Ask your DeployOpen or internal team to confirm which audit log entries OpenMetadata produces for denied requests in your deployment, because that varies with configuration and must be verified rather than assumed.

What to monitor, back up and re-review after hardening

Hardening is a state that drifts. Sign-in settings, bot tokens, connector credentials, certificates and admin roles all change over time, and each release can reset or reshape them. The cards below list what to watch, what to rotate and what to retest, with the 2.0 upgrade path as the main reason to re-check settings after every upgrade.

Sign-in and audit logs

Review sign-in events from your identity provider and the OpenMetadata server logs on a fixed schedule. Look for failed logins, sign-ins outside expected groups and changes to authentication settings. Confirm that basic authentication stays disabled after every upgrade, because a 2.0 upgrade may reset login configuration that was set by hand. Ask your team which log sources are retained and for how long, and set that period to match your own audit policy.

Security docs

Bot token rotation and expiry

Ingestion and automation run as bot accounts that authenticate with tokens. List every bot token, its owning pipeline and its expiry date, then rotate tokens on a schedule and after any staff change. Store new tokens in your secrets manager, not in pipeline definitions. After rotation, run one ingestion job per connector to confirm it still authenticates.

Connector credential rotation

Warehouse, BI and pipeline connectors hold their own database and service account credentials. Rotate each one on a schedule, using a read-only account scoped to the metadata it needs. Check the 2.0 breaking changes before rotating: the Databricks auth format changed, and embedding credentials moved into an llmConfiguration block. Recheck those fields by hand, because a rotated credential placed in the old format will fail silently or stop a job.

Breaking changes release
2.0.0
2.0 breaking changes

Certificate renewal

Track the expiry date of every TLS certificate on the OpenMetadata server, the search service and any ingestion endpoint. Renew before expiry and test the new certificate on a staging instance first. Confirm that any custom trust store or CA bundle used by ingestion containers is updated, since rebuilt ingestion images must carry the same trust settings.

Admin and steward access reviews

Review who holds admin roles and who can edit ownership, glossary terms and classifications on sensitive assets. Remove accounts that no longer match a team, and confirm that role mappings from your identity provider still point to the right groups. Record each review with the reviewer's name and the date so it can serve as evidence in a later assessment.

Re-testing after each release

Run your hardening checklist again after every maintenance release, not only after major upgrades. Check sign-in, token behavior, TLS, connector authentication and sensitive asset permissions. Maintenance releases have arrived about every one to two weeks since 2.0.0, so agree in advance which checks run on each release and who signs off on the result.

Release list

What buyers ask before hiring help with OpenMetadata hardening

How much effort does OpenMetadata security hardening take, and what drives it?

Effort depends mostly on how many connectors and sensitive sources are in scope, how many identity and team roles must map to OpenMetadata, and how many credentials and network paths need review. A single-cluster install with SSO, a handful of warehouse connectors and clear owners is a much smaller job than a multi-source estate with bot tokens to rotate, private database networks and classified assets. No effort figure is supplied for this work, so ask any provider to break the quote into identity setup, connector credential handling, network review, TLS configuration, policy design and testing, and to show which items depend on your environment.

How long does an OpenMetadata hardening engagement usually run?

The duration depends on the same drivers as effort, plus how quickly your identity provider administrators, data platform owners and network teams can respond. Work on the identity provider, source credentials and network rules often waits on other teams, so the calendar time can be longer than the hands-on time. No duration is supplied for this topic, so ask for a timeline tied to a written scope, with named client dependencies and the approval points that will hold up the work.

What must our team provide before hardening can start?

Expect to provide administrator access to your identity provider, such as Okta, Azure, Google, Keycloak or a custom OIDC provider, along with a named owner for the OpenMetadata deployment and read access to the sources it connects to. You will also need the list of connectors in use, the networks those sources sit on, and the assets that carry sensitive data. Confirm with the provider whether they need test accounts, a staging instance, and change windows for restarts or token rotation.

Can an internal team harden OpenMetadata without outside help?

Yes, if the team already runs the identity provider, the database and search tiers and the data sources, and has someone who understands OpenMetadata roles and API tokens. The work is mostly configuration and review, but it needs people across identity, platform and data engineering to agree on policy. An outside partner adds value mainly when those skills are spread thin or when you need an independent review of the result. Check the official security documentation before deciding, since the documented options differ by deployment method.

Can SSO and basic authentication run together in OpenMetadata?

No. The OpenMetadata security documentation states that it does not support using multiple authentication mechanisms at once, such as combining SSO and basic authentication. Hardening therefore means choosing SSO as the sign-in path for people and handling service access separately, through bot tokens with controlled ownership and rotation. Confirm the exact steps for your release with the official security documentation before you change production login settings.

How does hardening change after an OpenMetadata upgrade?

Upgrades can change the configuration you hardened, so each release needs a review of authentication, token, credential and TLS settings. The 2.0 release introduced breaking changes, including moving embedding credentials into an llmConfiguration block and a new Databricks auth format, so connector credentials must be checked against the new format. Plan a regression check of hardening controls after every upgrade and patch, and confirm the changes against the 2.0 release notes and your installed version.

What evidence should we receive at the end of hardening work?

Ask for a written record of the configuration as built: identity provider settings, role and team mappings, the list of bot tokens with owners and rotation method, connector credential storage, network rules between OpenMetadata and each source, TLS settings and the least-privilege policies applied to sensitive assets. Add test results showing each control was checked. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports or certifications; independent auditors and certification bodies do that work.

How DeployOpen scopes, builds and hands over OpenMetadata hardening

DeployOpen plans and hardens OpenMetadata inside your own infrastructure, starting from a written scope that names the sources, identity provider and sensitive assets involved. We build the controls, test them, and document how each one works so your security and data teams can review and operate them.

How we scope

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • The scope lists your deployment target, identity provider, connected sources and the sensitive assets that need restricted access.
  • We confirm which connector credentials, bot tokens and network paths exist today so the hardening work covers the actual setup.

How we build

  • We switch the instance to SSO only and confirm that basic authentication is disabled, since OpenMetadata does not run multiple authentication mechanisms at once.
  • We move bot tokens and connector credentials into your approved secret store, and set up rotation and access review for each one.
  • We configure TLS, restrict network paths from the ingestion layer to each source, and apply least-privilege policies to sensitive tables and domains.

How we hand over

  • You receive a written record of each control, its configuration location and the owner responsible for it.
  • We test the hardened setup, including access checks for each role, and document the results with the fixes applied.
  • Your team gets a walkthrough of how to review access, rotate credentials and verify policies after future changes.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, so hardening stays current with each OpenMetadata release.
  • We can recheck controls after upgrades, since releases can change connector auth formats and configuration keys.
  • Ask for the support scope, response expectations and testing cadence in the written quote before work begins.

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.