OpenMetadata with MLflow and SageMaker

OpenMetadata catalogs models from MLflow registries and SageMaker through its ML model connectors, but the two connectors capture different metadata. This page explains what comes across and how to link models to their training data.

On this page

How OpenMetadata catalogs MLflow and SageMaker models

A data or ML team that wants registered models visible next to their tables and pipelines needs to know which connector matches its registry. The MLflow connector is production-stage and covers ML features, hyperparameters and the ML store. The SageMaker connector covers the ML store only, so it does not bring in ML features or hyperparameters. That gap decides which platform a team can document fully in OpenMetadata and which one needs extra work on the metadata side.

The MLflow connector needs the tracking URI and the registry URI, so the ingestion user must be able to read both the experiments and the registered models. For MLflow 3.x, the connector reads input schemas from the MLmodel artifact, which means schema visibility depends on how each model was logged. Teams should confirm that their training code writes MLmodel artifacts and that the ingestion account can reach the artifact store. The OpenMetadata MLflow connector documentation lists the connection fields to set before the first run.

The SageMaker connector can ingest SageMaker Unified Studio models when the ingestion role has the sagemaker:ListModelPackageGroups permission. Teams should confirm that this permission is granted in each account and region they plan to scan, and that the model package groups they care about are visible to that role. Because the connector does not carry features or hyperparameters, owners who need those fields in the catalog must add them by hand or through the API.

The trade-off is simple to state. MLflow gives more model context in the catalog but needs both URIs and a readable artifact store. SageMaker gives a narrower view with fewer fields to maintain but requires careful IAM scoping. Before choosing, ask the team to list which model fields its governance process needs, then check each connector's documentation against that list.

What you need before connecting MLflow or SageMaker

Connecting either ML platform to OpenMetadata depends on a few access paths, versions and permissions that are easy to miss until the first ingestion run fails. The cards below cover what to confirm on the MLflow side, the SageMaker side and the OpenMetadata side before you schedule anything.

MLflow tracking and registry URIs

The MLflow connector needs both a tracking URI and a registry URI to read experiments, runs and registered models. In a self-hosted setup these may point to the same server, but in managed or split deployments they can differ. Confirm which endpoint serves each function, and confirm that the account the connector uses can read both.

MLflow connector docs

MLmodel artifacts for MLflow 3.x

For MLflow 3.x, the connector reads input schemas from the MLmodel file stored with each model artifact. If models were logged without a signature, or the artifact store is not reachable from the ingestion job, those schemas will be missing from the catalog. Check a sample model version in your own environment before you plan the schema coverage you expect.

MLflow version and access path

Confirm the MLflow version your team runs, since connector behavior and tracking APIs can change between releases. Record whether the server is self-hosted, uses a managed service, or sits behind SSO or basic authentication, because the ingestion account must authenticate through the same path. Ask the platform owner to confirm these details before the connector is configured.

SageMaker Unified Studio permissions

To ingest models from SageMaker Unified Studio, the ingestion identity needs the sagemaker:ListModelPackageGroups permission. Without it, the connector may run without error but return no model groups. Review the IAM policy attached to the ingestion role, and confirm the permission in the account and region where your models are registered.

SageMaker connector docs

SageMaker coverage limits

The SageMaker connector catalogs the ML store but does not extract ML features or hyperparameters. Teams that expect the same metadata depth as MLflow should plan for that gap, either by documenting features and hyperparameters in another location or by linking them manually. Confirm this scope with your team before promising coverage to model owners.

OpenMetadata 2.0 and ingestion images

OpenMetadata 2.0 moved ingestion images to Python 3.12 and Apache Airflow 3.3.0, and custom ingestion images must be rebuilt to match. Confirm that your ingestion image and connector packages are on the 2.0 line, and that any custom image includes the MLflow or SageMaker dependencies. Test the image in a non-production environment before the first scheduled run.

OpenMetadata release
2.0.0
OpenMetadata 2.0 release notes

Configuring the MLflow and SageMaker connectors in sequence

This sequence brings each model registry into OpenMetadata one at a time, so every connector is proven against its source before the next one is added. The result is a verified ML store in the catalog that matches the registries your teams already use.

  1. Confirm the OpenMetadata server and ingestion runner

    The platform team confirms that the OpenMetadata server is reachable, that its database and search services are healthy, and that the ingestion runner can reach the network endpoints of both MLflow and AWS. Record the runner's network path and the version of OpenMetadata in use, because the connector documentation for the version you run is the reference for every later step. The step is complete when a test connection from the runner to the OpenMetadata API succeeds and the runner's version is written into the project record.

  2. Create the MLflow service connection

    An OpenMetadata administrator creates an ML model service for MLflow and enters the tracking URI and registry URI for your server. The MLflow connector is production-stage and covers ML features, hyperparameters and the ML store, so confirm with your MLflow owner which of these you need in the catalog. Store any MLflow credentials in the secrets mechanism your team has approved, not in plain configuration files. The step is complete when the connection test passes against both URIs.

  3. Run the MLflow metadata ingestion test

    Run a metadata ingestion for the MLflow service, limited at first to a small set of registered models so that failures are easy to read. For MLflow 3.x, the connector reads input schemas from the MLmodel artifact, so confirm that the artifacts for the test models are accessible to the runner. The step is complete when the ingestion run finishes without errors and the test models appear in the ML store with their names and versions.

  4. Verify MLflow model versions against the registry

    Compare the models and versions in the OpenMetadata ML store with the MLflow model registry for the same test set. Check the registered model names, the version numbers, the descriptions and the features or hyperparameters you expected to see. Any gaps usually point to a permission, a URI mismatch or an artifact the runner cannot read, so fix the cause and rerun before continuing. The step is complete when the versions in the catalog match the source registry for every model in the test set.

  5. Create the SageMaker service connection

    Add a second ML model service for SageMaker, using an IAM identity that the ingestion runner can assume or use. The SageMaker connector covers the ML store but not ML features or hyperparameters, so set expectations with model owners before the run. If you ingest SageMaker Unified Studio models, the identity needs the sagemaker:ListModelPackageGroups permission, and your security team should review the rest of the policy against least privilege. The step is complete when the connection test passes with that identity.

  6. Run the SageMaker metadata ingestion test

    Run a limited ingestion for the SageMaker service with the same approach used for MLflow, starting with a small group of model package groups or models. Check the ingestion log for permission errors, since missing permissions are the most common cause of an incomplete run. The step is complete when the ingestion finishes and the expected SageMaker models appear in the ML store alongside the MLflow entries.

  7. Verify SageMaker model versions against the source

    Repeat the comparison for SageMaker by checking the model names, versions and status in the catalog against the SageMaker console or API output for the same test set. Confirm that the MLflow and SageMaker entries are kept distinct, so a model in one registry is not mistaken for a model in the other. The step is complete when both connectors pass this check and the ingestion schedule is set for the next phase of work.

Which features, hyperparameters and schemas come across

The MLflow connector is the broader of the two for model governance. It reads the ML store, ML features and hyperparameters, and it needs the tracking URI and the registry URI to reach your MLflow server. For MLflow 3.x, it also reads input schemas from the MLmodel artifact, so the columns a model expects are visible on the model page without someone retyping them.

  • ML store: Registered models and their versions are cataloged from the registry, so owners and descriptions can be attached to the model itself.
  • ML features: Features recorded for a model appear as catalog metadata, which lets reviewers see what a model uses.
  • Hyperparameters: Training settings logged in MLflow come across, which supports reproducibility reviews.
  • Input schemas: For MLflow 3.x, the schema in the MLmodel artifact is read, so the expected inputs are documented automatically.

Before you rely on these fields, confirm with a test ingestion against your own MLflow version which fields populate, because runs that never logged features or parameters will leave those sections empty.

How MLflow and SageMaker objects map to OpenMetadata entities

This table compares how each MLflow and SageMaker object is expected to appear in OpenMetadata ML model entities, and what your team must add afterward. Read the two connector columns for what each connector ingests, and the last column for the owners, tags and glossary terms that still need an assigned person or decision. The main takeaway is that the SageMaker connector does not bring features or hyperparameters across, so those fields need another route or manual documentation.

ObjectMLflow connectorSageMaker connectorAdded after ingestion
Registered modelsIngested as ML model entities from the registry, using the registry URIML store models ingested; Unified Studio models need sagemaker:ListModelPackageGroupsOwner, domain, tags and glossary terms
Model versionsConfirm in your test ingestion how each version appears on the model pageConfirm how model package versions appear on the model pageVersion-level owners only where approval differs by version
Runs or model packagesRuns hold tracking data; confirm whether they appear as entities or as metadataModel packages are the nearest equivalent; confirm their fields in a test ingestionLink to the team or pipeline that produced each run
FeaturesCaptured by the connectorNot covered by the connectorDescriptions and glossary terms for features with business meaning
HyperparametersCaptured by the connectorNot covered by the connectorDescriptions for only the values a reviewer or auditor needs
Artifact locationsConfirm whether artifact URIs appear as properties in your test ingestionConfirm whether model artifact paths are stored as propertiesStorage location and retention tags, where your policy requires them
Input schemasFor MLflow 3.x, read from the MLmodel artifactConfirm whether input schemas are present in the package metadataReview schema columns for personal data tags
Training data linksNot described as automatic; confirm before planning the buildNot described as automatic; confirm before planning the buildLineage from source tables to each model, added manually

Linking models to their training data

Model-to-table lineage in OpenMetadata depends on two things: what the MLflow or SageMaker connector reports, and what your team records alongside each training run or model package. The connectors catalog the model, its versions and, for MLflow, its features and hyperparameters, but they do not reliably reconstruct which warehouse tables fed a specific training job. Treat lineage as something you verify per model, not something you assume is present because the connector ran successfully. For each production model, check whether its page shows an upstream table, whether that table is the right one, and whether the link survives a new model version.

When automatic links are missing, the two paths are manual lineage edits in the OpenMetadata user interface and the OpenMetadata APIs. Manual edits suit a small number of high-value models that a governance owner can review. The REST APIs, or the Python SDK, suit larger catalogs: a script can read the training dataset identifiers your pipeline writes to MLflow run tags or SageMaker model metadata, resolve them to fully qualified table names, and create lineage edges between the table and the model. Confirm the exact entity types, lineage request format and required permissions against the OpenMetadata version you run, since the API surface changes between releases. Ask your implementation partner to document the mapping between your tag names and table identifiers, because that mapping is what the script depends on.

Plan for drift. A model retrained on a new table, a renamed training dataset or a job that reads from a view will break a link that was correct last quarter. Add a scheduled check that compares each model's recorded training inputs with its lineage edges and reports mismatches to the model owner. For regulated use cases, keep the lineage evidence (who created an edge, when, and from which run) so an auditor or model risk reviewer can see how the link was established. Record the limits too: any model without verified training lineage should be marked as such in its catalog entry rather than left looking complete.

Securing the connector credentials and access

The MLflow and SageMaker connectors each reach into systems that hold model artifacts and registry metadata, so their credentials and the people who can see the results need deliberate design. The cards below cover the ingestion identity on each side, how MLflow authentication is set up on a self-hosted server, where OpenMetadata keeps connection secrets, and who should see model metadata once it lands in the catalog.

Scope the SageMaker ingestion user

Create a dedicated IAM identity for the SageMaker connector and grant only the read actions the connector needs in the account and region that hold the models. For SageMaker Unified Studio models, confirm that the identity includes the sagemaker:ListModelPackageGroups permission and nothing broader. Review the connector documentation for the full list of actions before writing the policy, and test the policy against a non-production account first so that a missing permission does not get patched with a wildcard.

SageMaker connector docs

Choose MLflow authentication for self-hosting

A self-hosted MLflow server supports basic HTTP authentication, SSO and custom authentication plugins. Pick one mechanism for the tracking and registry endpoints that the OpenMetadata connector calls, and make the connector's service account a named, non-human identity with read access only. Confirm with your platform team how that account's credentials are rotated, because the connector stores them for every scheduled run.

MLflow self-hosting docs

Keep SSO and basic authentication separate

OpenMetadata does not support using multiple authentication mechanisms at once, such as combining SSO and basic authentication. Decide early which method governs human logins to the OpenMetadata UI and API, and avoid a design where the connector's convenience path requires basic credentials that conflict with the SSO setup. Verify this constraint against the security documentation for the release you plan to run before writing the access model.

OpenMetadata security docs

Store connection secrets outside plain config

Connection details for the MLflow tracking and registry URIs and the SageMaker account are only as safe as the place they are stored. Confirm how your OpenMetadata deployment holds service connection credentials, who can edit ingestion pipelines, and whether pipeline logs can echo secret values. Restrict edit rights on ingestion services to a small platform group, and rotate the credentials on a schedule your security team has approved.

Limit who sees model metadata

Model names, versions, feature lists, hyperparameters and training dataset links can reveal sensitive projects before a model is released. Map each model group to the teams allowed to view it, then confirm how OpenMetadata's domains, ownership and role assignments restrict visibility in your release. Test with a user from an unrelated team before the first full ingestion, since catalog pages are often more visible than teams expect.

Audit connector runs and changes

Ingestion runs and metadata edits are the record of what the connectors read and what owners changed. Ask your security team which logs they need to retain, confirm where OpenMetadata and the connector runtime write them, and check that these logs do not contain credentials. Review them on a set cadence so that a broken or over-permissioned connector is noticed before an auditor asks.

How the ingestion runner reads both registries into OpenMetadata

The ingestion runner starts inside the client network and makes two separate reads. The MLflow connector calls the tracking URI and registry URI, and for MLflow 3.x it reads input schemas from the MLmodel artifact. The SageMaker connector authenticates with IAM and needs sagemaker:ListModelPackageGroups when ingesting Unified Studio models. Both paths write through the OpenMetadata server into its search index. Check that the trust boundary matches where credentials are held and which side can reach each registry.

Ingestion runner reads MLflow and SageMaker, then writes through the OpenMetadata server.

Common MLflow and SageMaker ingestion failures

This table lists the ingestion failures teams most often hit when connecting MLflow or SageMaker to OpenMetadata, with the likely cause and the fix for each. Read it before the first ingestion run, and use the cause column to narrow down a failure that has already appeared. Most failures trace to a URI, a missing artifact, a missing IAM permission, or an expectation that the SageMaker connector does not meet.

FailureLikely causeFix
Connector cannot reach MLflowThe tracking URI or registry URI is wrong, or points to a different server than the one holding the models.Set both the tracking URI and the registry URI explicitly in the connector configuration, then confirm each resolves and returns models from the same MLflow server.
Input schemas missing for MLflow 3.x modelsThe MLmodel artifact is absent or not readable from the model version, so the connector cannot read input schemas.Confirm each registered model version has its MLmodel artifact in the artifact store, and that the ingestion identity can read that storage location.
Features or hyperparameters not appearing for SageMakerThe SageMaker connector covers the ML store only and does not extract ML features or hyperparameters.Plan hyperparameter and feature metadata through MLflow, or document it through the OpenMetadata API. Confirm this scope against the current connector docs before promising it to model owners.
Access denied when listing SageMaker modelsThe ingestion identity lacks the sagemaker:ListModelPackageGroups permission, which is needed for SageMaker Unified Studio models.Grant sagemaker:ListModelPackageGroups to the ingestion role, then rerun a test connection and check that model package groups return.
Connector fails after an MLflow upgradeThe MLflow server and the OpenMetadata connector version do not match the MLflow release line in use.Check the connector documentation for the MLflow versions it supports, align the OpenMetadata version with your MLflow server, and test on a non-production service first.
Models ingested with no training data linksLineage between models and training tables is not created by ingestion alone, and the run may never have recorded the source dataset.Record the dataset reference in MLflow runs where possible, then add or confirm the model-to-table lineage in OpenMetadata and verify it on the model page.
Tests pass but models look staleThe ingestion schedule is older than the latest registry changes, or the run filtered out new model versions.Compare the last successful run time with recent registrations, adjust the schedule and filters, and rerun ingestion after each major model release.

Questions teams ask before connecting ML registries

What drives the cost of connecting MLflow or SageMaker to OpenMetadata?

The cost follows the written scope, so the main drivers are how many model registries and tracking servers you connect, how many model versions and features you want cataloged, how many lineage gaps need manual work, and which governance rules (owners, tags, glossary terms, approval steps) must be configured. Each registry adds connector setup, credential handling and validation, and each gap in automated lineage adds design and review time. Ask for a quote that lists each registry, the version history depth in scope, the lineage paths you expect to document by hand, and the governance rules to configure. Connector setup is largely one-time work, while ongoing ingestion runs, credential rotation and upgrades recur.

How long does an MLflow or SageMaker catalog setup take?

Duration depends on scope more than on the connector itself. A single registry with a defined owner model and no custom lineage usually takes less time than several registries that feed shared domains, glossary terms and lineage back to training data. The MLflow connector needs a tracking URI and a registry URI, and for MLflow 3.x it reads input schemas from the MLmodel artifact, so teams that store artifacts in several places need more discovery. Ask for a timeline tied to named milestones: access confirmed, first ingestion run reviewed, owners assigned, lineage validated and handover completed. No fixed duration is stated here because it depends on your environment.

What must our team supply before the connector work starts?

Plan to supply the connection details and access that the connectors require, plus decisions only your organization can make. For MLflow, that means the tracking URI and the registry URI, and read access to the artifacts that hold model schemas. For SageMaker, you need an IAM role for the ingestion user with the sagemaker:ListModelPackageGroups permission if you ingest SageMaker Unified Studio models. You also need named owners for each model group, a decision on which domains and glossary terms apply, and a contact for approvals. Confirm the exact permission set with your AWS administrators and with the OpenMetadata connector documentation before requesting access.

Can an internal team set this up without a partner?

Yes, an internal team with platform engineering, data engineering and ML platform skills can connect these registries alone, provided it has time to read the connector documentation, test ingestion in a non-production OpenMetadata instance and agree on ownership rules. The harder parts are usually the decisions rather than the configuration: who owns a model, how training data links to a model version, and which features and hyperparameters matter to governance reviewers. A partner is useful when the team lacks capacity, needs a fixed-scope delivery with written deliverables, or must show evidence to a compliance reviewer. Compare the internal effort against the written scope before deciding.

Which MLflow and SageMaker features come across, and which do not?

The MLflow connector is in production and covers ML features, hyperparameters and the ML store. The SageMaker connector covers the ML store but does not ingest ML features or hyperparameters. This means a SageMaker model can appear in the catalog with its registry entry, but feature and hyperparameter metadata will need another source, such as manual documentation or the OpenMetadata API. Before committing to a design, check each field your reviewers need against the current connector documentation, because connector coverage can change between releases.

How do model-to-training-data links get built and maintained?

Automated ingestion records the model and its registry metadata, but linking a model to its training tables is a lineage task that you design and verify. Common approaches are documenting lineage through the OpenMetadata lineage APIs, using pipeline metadata from your orchestration layer, or maintaining mapping rules that tie model versions to dataset identifiers. Each approach has a maintenance cost because training data and model versions change over time. Ask for a lineage map that names each model group, its source tables, the owner who approves changes, and how stale links are detected.

How do OpenMetadata 2.0 upgrades affect these connectors?

OpenMetadata 2.0 introduced breaking changes that matter to ML catalogs. Ingestion images moved to Python 3.12 and Apache Airflow 3.3.0, so custom ingestion images must be rebuilt, and Great Expectations must be migrated to 1.3 before upgrading if you use it. Embedding credentials moved into an llmConfiguration block, and the Databricks auth format changed. Check your connector configuration files against the 2.0 release notes, rehearse the upgrade on a copy of your environment, and confirm that MLflow and SageMaker ingestion runs complete afterward. Plan the upgrade as its own work item in the scope.

How DeployOpen scopes and delivers this integration

DeployOpen plans and builds OpenMetadata with MLflow and SageMaker inside infrastructure you control, starting from a written scope that names which model sources, features and training data links are in and out. Engagements are fixed-scope, so deliverables and timelines are agreed in writing before work starts.

How we scope

  • Inventory which MLflow tracking and registry servers and which SageMaker accounts hold models to be cataloged
  • Confirm which MLflow version runs in your environment, since MLflow 3.x reads input schemas from the MLmodel artifact
  • Record which features, hyperparameters and training datasets must appear, and where SageMaker coverage stops

How we build

  • Configure the MLflow connector with tracking and registry URIs, and the SageMaker connector with a least-privilege ingestion role
  • Set up ownership, domains and glossary terms for models so each registered model has an accountable team
  • Link models to their training tables and pipelines, then test that lineage appears on the right model pages

How we hand over

  • Deliver ingestion configuration, role and permission definitions, and a written list of connector limits for your team
  • Document which metadata sources refresh on each ingestion run and how failed runs are diagnosed
  • Walk your data science and governance owners through catalog entries and the manual steps that remain

How we support

  • Plan upgrades of OpenMetadata and connector versions as a separate scoped task, with breaking changes reviewed first
  • Offer ongoing support, upgrades and continuous testing through a retainer agreed in writing
  • Revisit connector coverage when your MLflow or SageMaker setup changes, so the catalog stays accurate

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.