Presidio self hosted

Presidio does not ship single sign-on, role-based access control, multi-tenancy or audit logging as built-in features, and its API endpoints have no authentication by design. Your organization covers each control with a gateway, identity provider and logging stack it runs itself.

On this page

Does self-hosted Presidio support SSO, RBAC and audit logging?

Presidio does not provide single sign-on, role-based access control, multi-tenancy or audit logging as built-in features in any edition the project documents, and its MIT-licensed open-source distribution has no commercial tier that adds them. Plan these as controls you build around the service and verify them in your own environment. The Analyzer and Anonymizer endpoints have no built-in authentication by design, as the project FAQ states, so every control a security review asks about has to sit in infrastructure your organization operates: an API gateway, reverse proxy or service mesh that enforces authentication and routing, an identity provider that issues the sessions or tokens it checks, and logging infrastructure that records who called which endpoint and when.

The decisions start at the edge. Your gateway should validate identity provider tokens before any request reaches the Analyzer, Anonymizer or Image Redactor, and it is also where role checks belong, because Presidio has no roles of its own. Decide which groups may call detection endpoints and which may call anonymization, and enforce that per route. If you deploy the Kubernetes sample, its Helm chart installs an nginx ingress controller by default, so set ingress.enabled=false when your existing gateway already owns ingress, or you may end up with a second entry point that has no authentication. In Docker, the containers listen on port 3000 and the documented commands publish them on host ports 5002, 5001 and 5003, so bind those ports to a network that only the gateway can reach.

Before you record SSO, RBAC or audit logging as gaps in a control matrix, confirm the current release notes for the version you plan to pin. The installation page advises pinning an explicit release tag for production, so write down the tag you reviewed and the date you checked, and repeat the check on each upgrade. In the matrix, list each control with the layer that owns it: the gateway for authentication and route permissions, the identity provider for user lifecycle, and your logging stack for request records. Ask your security reviewer to test the paths directly, including calling a service port that bypasses the gateway, because that test shows whether the control actually holds.

Enterprise control support by capability

This table compares the enterprise controls buyers usually ask about against what Presidio self hosted provides out of the box. Read each status as built in, paid only, needs an outside component, or not available as documented, and confirm every non-built-in row with the project before you commit. The main takeaway: the services have no authentication layer of their own, so SSO and role checks must come from your gateway or application.

CapabilityStatus and what it meansConfirm with the project
SSONeeds an outside component. API endpoints have no built-in authentication by design, so sign-in must come from a gateway, reverse proxy or service mesh.Confirm the gateway's SSO integration with its vendor and with your identity provider.
Role-based access controlNot available as documented. No role model is described for the API, so roles must be enforced in the gateway or the calling application.Ask the project whether any access roles are planned or documented for the services.
Multi-tenancyNot available as documented. Tenant separation would come from separate deployments or routing rules in your gateway.Ask the project whether the services isolate data between tenants.
Audit loggingNot available as documented. Gateway access logs and container logs are the likely starting point for request records.Confirm with the project which events the services record and in what form.
Self-hosted deploymentBuilt in. Packages, Docker images and source builds run in infrastructure you control, on Python 3.11 to 3.14.Confirm the release tag you pin and the Python version your platform team supports.
Kubernetes deploymentBuilt in as a sample. The Helm chart deploys an nginx ingress controller by default, which can be turned off.Review the chart's ingress and exposure settings with your platform team before use.
Air-gapped operationNot available as documented. Packages, the en_core_web_lg spaCy model and the Tesseract OCR engine must each reach the host by an offline route.Confirm with the project how to mirror packages and models with no outbound network access.
Paid edition coverageNot available as documented. No paid edition or managed cloud offering is described in the project documentation.Confirm with the project that no commercial tier exists before you rely on one.

How self-hosted Presidio enforces access around the services

The three HTTP services in Presidio, the analyzer, the anonymizer and the image redactor, ship without authentication, so access control has to be built around them. Each container listens on port 3000 internally, and the documented Docker commands publish the analyzer, anonymizer and image redactor on host ports 5002, 5001 and 5003. The Presidio FAQ states that the API endpoints have no built-in authentication by design and should sit behind an API gateway, reverse proxy or service mesh rather than be exposed to untrusted networks. In practice, any client that can reach one of these ports can call the endpoint, so the reachable network path is itself an access decision that your team has to make and document.

Enforcement belongs at the gateway or mesh in front of the services. Your identity provider issues the identities, such as OIDC tokens for users and service accounts, and the gateway validates those tokens and decides which caller may invoke which endpoint. Treat the three services as separate policy targets. The anonymizer receives text that the analyzer has already flagged, and the image redactor receives raw images, so most organizations will allow fewer callers to reach those routes than to reach the analyzer. Before go-live, confirm that your gateway can validate tokens and apply rules per route, and if you run a mesh, confirm whether service-to-service calls will use mutual TLS and how workload identities map to the allowed callers.

The sample Helm chart deploys an nginx ingress controller by default, and that controller is an entry point you need to decide on, not a security control in its own right. Setting ingress.enabled=false removes it, which suits a design where your gateway or mesh is the only way in. If you keep it, the controller must sit behind the same authentication and routing rules as everything else, and you should confirm its version and default rules with the chart documentation. To verify the design, call each endpoint without credentials from outside the permitted network and expect rejection, then confirm that no container port is reachable directly from networks that should not see it.

Request flow for a protected Presidio call

The flow starts with a user or application that signs in to your identity provider and receives a token. Each call then goes to the gateway or reverse proxy, which verifies the token and applies your access policy before forwarding the request. Only the gateway should reach the analyzer, anonymizer and image redactor, because these Presidio services have no built-in authentication. The project FAQ recommends placing them behind a gateway, reverse proxy or service mesh. The gateway sends its access logs to your logging platform. When you review this path, confirm that no Presidio service is reachable without passing the gateway, and that the logs record who called which service.

Requests pass the identity check and gateway policy before reaching any Presidio service.

Decisions to settle before the control design is approved

Five choices shape the control design for Presidio self hosted, and each one changes what the next must enforce. Presidio's API endpoints do not authenticate callers, so access, isolation, logging and exposure all depend on the layers you place around it. Settle them together and in writing, so the access review and the evidence pack describe the same system.

Identity provider and protocol

Presidio's API endpoints have no built-in authentication by design, so the identity layer is one you add at the API gateway, reverse proxy or service mesh. Choose the identity provider and the protocol the gateway will validate, such as OIDC or SAML, and confirm that your chosen gateway supports it. This decision sets how users and services sign in, how sessions and tokens expire, and how many systems you must review during an access review. Check it first, because the other four decisions depend on which identities the gateway can see.

Presidio FAQ

Where the role model lives

Because Presidio does not authenticate callers, the role model lives in whatever sits in front of it. Decide whether analyzer and anonymizer permissions are enforced at the gateway, in a policy service, or in application code, and record which roles may call each service. A split between gateway rules and application rules makes access reviews harder to evidence, because two places must agree. Name a single owner for role changes after go-live, and confirm that the gateway can express per-service permissions before the design is approved.

Tenant boundary between deployments

Decide whether each business unit, data set or environment gets its own deployment, or whether teams share one set of services in a common namespace. Separate deployments give clearer isolation and simpler evidence of which data each deployment processed, at the cost of more releases to patch and more configuration to keep aligned. Shared namespaces reduce operating effort but depend on Kubernetes RBAC, network policies and gateway routing to keep tenants apart. Test that the boundary holds with requests from each tenant before the design is signed off.

Log destination and retention

Logs from the gateway, the Presidio containers and the cluster may capture request bodies, and those bodies can contain the personal data Presidio is meant to find. Decide where logs go, who can read them and how long they are kept, and confirm whether payload text is written anywhere in that chain. Retention settings affect the audit trail you can show and also how much personal data you hold over time. Send a test request containing invented personal data and check that it does not appear in any log store.

Network boundary and ingress

The sample Helm chart deploys an nginx ingress controller by default, and setting ingress.enabled to false turns that off. Choose whether to keep the sample ingress, or disable it and expose the services through your existing gateway, load balancer or mesh. This decision controls which networks can reach the analyzer and anonymizer, where TLS terminates and whether traffic passes through a control you already monitor. Confirm that images come from your own registry and that the release tag is pinned before the design is approved.

Kubernetes sample

How the answer changes by identity provider, team count and network

This is the simplest case: one team calls the analyzer and anonymizer, and one identity provider issues its tokens. The main work is placing one authenticated entry point in front of the services, because the Presidio FAQ says the endpoints are meant to sit behind an API gateway, reverse proxy or service mesh and not on untrusted networks.

  • Gateway scope: Choose one component that terminates TLS and validates tokens from your identity provider. Keep the Presidio services off any network that untrusted clients can reach.
  • Ingress overlap: The sample Helm chart deploys an nginx ingress controller by default. Set ingress.enabled=false if your gateway already owns the entry point, so you do not run two front doors.
  • Image pinning: Pull images from ghcr.io/data-privacy-stack/, pin an explicit release tag and mirror that tag into your own registry. The older Microsoft Container Registry images are no longer updated.
  • Caller mapping: List the internal applications allowed to call the analyzer and anonymizer, and map each one to a group or client in the identity provider.
  • Log content: Keep gateway access logs that record caller, route, time and status. Leave out request bodies, since they contain the text being scanned.

Confirm with your identity provider which token type and claims the gateway will validate, and confirm with the project what the services log by default.

Gaps in Presidio for enterprise control requirements and how teams cover them

Presidio ships as libraries and self-run services, so several controls that enterprises expect must come from outside the project. Each card names the outside component or internal process that usually fills the gap, and the residual risk your organization keeps once it is in place. Review these with your security and compliance teams before the first production deployment.

No built-in single sign-on

Presidio's API endpoints have no authentication by design, and the project's FAQ says to place them behind an API gateway, reverse proxy or service mesh. Put OIDC or SAML login at that layer, using an identity provider such as Keycloak or authentik, so people and service accounts sign in through the directory you already run. Check that the gateway validates tokens on every route, including health and metadata paths, and that no analyzer or anonymizer port is reachable from untrusted networks. Residual risk: the gateway can confirm who is calling, but it cannot see which fields of the submitted text a caller should be allowed to receive.

Presidio FAQ

No built-in role-based access

Presidio has no role model, so any caller that reaches an endpoint can use everything behind it. Enforce roles at the gateway instead: map identity provider groups to routes, so one group can call analysis, a smaller group can call anonymization, and only platform administrators can change the Helm values or Docker configuration. Keep that mapping in version control and review changes with the same process you use for application code. Residual risk: route-level roles cannot limit which kinds of personal data an analyst may send, so anyone allowed to analyze text must be trusted with the content they submit.

No built-in tenant separation

Presidio does not separate tenants inside one running service, so a single instance and its configuration serve every caller that reaches it. Where business units or customers need separation, run one deployment per tenant, using a separate Kubernetes namespace and Helm release or a separate Docker host, each with its own gateway route. Pin the same image tags across tenants so that one tested release applies everywhere. Residual risk: tenants still share the cluster, nodes and any GPU capacity, so the isolation you get depends on your network policies, node pools and cluster administration.

No documented audit logging

The Presidio documentation does not describe audit logging, so no record of who called an endpoint, when, or with what result exists unless you create one. Capture request metadata at the gateway or reverse proxy, including caller identity, route, time and status code, and ship it to a central platform such as Graylog or Loki. Do not log request bodies, because they contain the personal data Presidio exists to protect. Confirm in your own test environment what the services write to standard output. Residual risk: gateway logs show that an analysis ran, but not which entities were found or how the text was changed.

No warranty or SLA

The Presidio FAQ states that the project comes with no warranty or SLA and is not an official product of any company. No party is contractually bound to fix a defect or answer a ticket on a set timeline, so the response plan belongs to you. Options include an internal on-call rota, a support agreement with a partner, and a release process that tests each pinned version before upgrading, as the installation page advises for production. Ask any partner for written response targets and for the scope of patches they will deliver. Residual risk: security fixes arrive when the community or your own team produces them.

Presidio FAQ

No guarantee of full detection

The project's FAQ states there is no guarantee that Presidio will find all sensitive information. Detection combines NLP models with pattern recognizers, so misses and false positives will vary with language, document format and domain. Cover this with a labeled test set built from your own data, measured before go-live and rerun after every release, plus a sampling review of anonymized output by people who know the data. Layer other controls on top, such as access limits on stored outputs. Residual risk: some personal data will pass undetected, so a named owner must accept that and document it.

Order of work to put the access controls in production

This sequence moves Presidio from a working test service to a production deployment where every request is authenticated, traceable and limited to the right tenant. Each step closes with a check, so the next step starts only when the previous output exists. Presidio ships without built-in authentication, so the gateway, identity and network decisions carry most of the access control.

  1. Confirm the requirement and edition position

    Write down which Presidio components you will run (Analyzer, Anonymizer, Image Redactor or Structured), which data types they will see, and who owns each decision. Presidio is MIT-licensed and has no managed cloud offering or vendor SLA, so operational support and assurance come from your own team or from a partner you contract separately. Confirm the scope with the security owner and the data owner, then record it in a signed scope note. Done when the note lists components, data classes, owners and the detection limits you have accepted.

  2. Choose the identity provider and gateway

    Select the identity provider that will issue user and service identities, and the gateway, reverse proxy or service mesh that will enforce it in front of Presidio. The Presidio FAQ states that its API endpoints have no built-in authentication by design, so this layer is your responsibility. Check that the gateway can validate tokens from that provider and records each allow or deny decision. Done when a request without a valid token to a staging route returns an unauthorized response.

  3. Pin release tags and stage images

    Pull the presidio-analyzer, presidio-anonymizer and presidio-image-redactor images from ghcr.io/data-privacy-stack and deploy an explicit release tag, which the installation page advises for production. Copy the images into your internal registry, record each digest, and confirm that staging runs the same tag as the production candidate. The legacy Microsoft Container Registry images are no longer updated, so remove them from every manifest. Done when deployment manifests reference pinned tags and the digests appear in your change record.

  4. Define the role model and tenant boundary

    Presidio does not manage users or roles itself, so decide which identities may call each analysis and anonymization route, and which tenants or data sets each identity may reach. Translate those rules into gateway policy, and separate tenants through separate deployments or routing rules, based on what your data classification requires. Assign test identities for each role. Done when the data owner approves an access matrix and each test identity receives exactly the responses the matrix predicts, with no cross-tenant results.

  5. Configure network exposure

    Keep the three services on a private network and allow inbound traffic only from the gateway. The documented Docker commands map the services to host ports 5002, 5001 and 5003, while the containers listen on port 3000, so block direct access to those host ports. If you deploy the Kubernetes sample on a cluster with RBAC, its Helm chart installs an nginx ingress controller by default, so set ingress.enabled to false when your gateway already handles ingress. Done when a connection to each service port from outside the gateway fails.

  6. Route logs to the logging platform

    Send gateway access logs and service container logs to your central logging platform, and confirm that each entry carries the caller identity, route, timestamp and response status. Configure the gateway and services so that request text containing personal data is kept out of logs. Confirm retention periods with the owner of the logging platform. Done when a test request made with a known identity appears in the logging platform with all four fields and no payload text.

  7. Test unauthenticated paths and log completeness

    Send requests without credentials, with expired tokens and with tokens from the wrong tenant to every route, and attempt connections directly to the service ports. Count the authenticated and rejected requests, then check that each one has a matching log entry. Fix any gap and retest the failed cases. Done when the test report shows no unauthenticated success, no cross-tenant result and complete log coverage, and the scope owner signs off on go-live.

Evidence a security reviewer asks for and where it comes from

This table lists the artifacts a security reviewer typically asks for when Presidio runs in your cluster, grouped by SSO, RBAC, tenant isolation, audit logs and network boundary. Read each row as a question: which system produces the evidence, and whether Presidio supplies it or your own stack does. The main takeaway is that Presidio provides the images, chart and pinning guidance, while authentication, roles, logs and network controls come from your gateway, identity provider and cluster.

Evidence artifactProduced bySupplied by
SSO: gateway authentication configurationAPI gateway or reverse proxy in front of the Presidio servicesYour stack. Presidio endpoints have no built-in authentication
SSO: identity provider sign-in and admin logsYour identity provider (OIDC or SAML) and its audit log exportYour stack
RBAC: policy definitions mapping roles to analyzer and anonymizer routesAPI gateway policy or authorization serviceYour stack. Presidio has no built-in authentication to hold roles
Tenant isolation: per-tenant deployment values and namespacesHelm values files and Kubernetes namespace manifests in your repositoryMixed: Presidio supplies the sample chart, you supply the values and isolation design
Pinned image tags for analyzer, anonymizer and image redactorDeployment manifests and Helm values referencing ghcr.io/data-privacy-stack imagesMixed: Presidio publishes the images, you pin the release tag you tested
Helm chart version and values used in each releaseChart at docs/samples/deployments/k8s/charts/presidio plus your values fileMixed: Presidio supplies the chart, you record the version and values
Network boundary: ingress configurationHelm values and the ingress controller in useMixed: Presidio sample deploys nginx by default, you confirm or set ingress.enabled=false
Network boundary: NetworkPolicy objects and egress rulesKubernetes network policy controller in your clusterYour stack. Confirm whether the sample chart includes any NetworkPolicy objects
Audit logs: gateway access log samples for analyzer and anonymizer callsAPI gateway and log pipeline recording caller identity, route and statusYour stack. Confirm what request metadata the services themselves log

Questions buyers ask before approving self-hosted Presidio

Does Presidio have a license or subscription cost to run?

No license or subscription fee applies to the Presidio code itself. The repository is under the MIT License, and PyPI lists the package license as MIT, so your organization can run and modify it without buying a license. The project documentation describes no managed cloud offering and no paid edition, so there is no vendor invoice to approve. What you still pay for is the infrastructure that runs the services, the engineering time to deploy, integrate and operate them, and the staff or partner time for testing and governance. Infrastructure cost rises with the volume of text or images you process, the number of replicas you run, and whether you add optional GPU acceleration. Ask your reviewers to separate one-time setup effort from recurring run costs, and to confirm any third-party model or OCR license their review requires.

What drives the effort to build the access layer around Presidio?

The effort depends on how much of the access layer your organization already has. Presidio's API endpoints have no built-in authentication by design, and the project FAQ recommends placing them behind an API gateway, reverse proxy or service mesh, so authentication, authorization and request logging come from your own stack. If you already run a gateway tied to your identity provider, the work is mostly route configuration, token validation and policy. If you do not, the work grows with the number of calling applications, the number of roles or tenants that need different access, rate limits, TLS termination, logging and network segmentation. Ask for each of these as a separate line in any quote, along with testing of the rules you add. Request bodies carry the raw text being scanned, so reviewers will also want to know which logs capture request content and how long they are kept.

What can our own team do without an outside partner?

A team with container and Python experience can usually handle the core deployment alone. Install the packages with pip inside a virtual environment on Python 3.11 to 3.14, or run the Docker images from the ghcr.io/data-privacy-stack registry with a pinned release tag, which the installation guide advises for production. The Kubernetes sample includes a Helm chart that needs a cluster with RBAC, and it can pull images from your own registry. Less familiar work needs more care: choosing and staging the spaCy model and OCR engine, validating detection against your own sample data, building the authentication layer, setting up monitoring and planning upgrades. Before approval, list who owns each task. Work kept in-house still needs a named owner, a test plan and a change process for every new release.

Does the Presidio project provide an SLA or paid support?

The Presidio project does not provide a service level agreement. Its FAQ states that the project is not an official product of any company and comes with no warranty or SLA. Confirm with the project what response, if any, applies to issues you file, and plan around that without assuming a commitment. Support you can contract for is a separate decision, with three common routes: an internal platform team, an outside operator, or a retainer. DeployOpen offers ongoing support, upgrades and continuous testing as retainers, and most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Whichever route you choose, ask the provider to state response expectations, upgrade cadence and who is on call, in writing.

Does Presidio produce audit evidence for our compliance review?

No. Presidio is a detection and anonymization framework, and it does not issue audit reports, attestations or certifications. The evidence your assessor needs comes from your own environment: the deployed configuration, the access controls in front of the APIs, logs of which services were called and by whom, change records for each release, and documentation of which recognizers and operators you enabled. Only independent auditors and certification bodies issue audit reports or certifications. DeployOpen prepares systems, controls and evidence for compliance assessments, so it can help you assemble that package, but it does not issue audit reports or attestations. Ask your assessor early which artifacts they expect, and confirm how request logs are handled, since those logs can themselves contain personal data.

Can Presidio run in an air-gapped network, and what should we confirm?

Air-gapped operation depends on staging every artifact inside your network before installation. The supported install paths are pip packages, Docker images and a source build, so you need to bring in the Python packages and their dependencies, the container images from your own registry, the en_core_web_lg spaCy model, any optional Stanza or Hugging Face models you use, and the Tesseract OCR engine if you run image redaction. The Helm sample can pull images from your registry, which covers the image side. Confirm with the project that the install and runtime work without internet access, and confirm with your build team that each artifact can be obtained, verified and updated through your offline process. Check that no optional integration you enable makes outbound calls. Then test a full install on a disconnected host, including a model load and a sample redaction, before the security team signs off.

When is outside help worth the cost for a Presidio deployment?

Outside help is usually worth considering when the work is larger than your team can staff without slowing other projects, or when a skills gap would leave a control weak. Common triggers are building the authentication and authorization layer, hardening the Kubernetes deployment, staging an offline install and validating detection results against your data before go-live. The cost follows the scope you agree: which components are in, how many integrations, how much testing and how much documentation reviewers need. DeployOpen works on fixed-scope engagements, with scope, deliverables and timelines agreed in writing before work starts, and it quotes from that written scope. Ask any partner for the written scope, the named deliverables, the evidence they will hand over, what your team must provide, and what happens after handover.

How DeployOpen works on this

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, including Presidio self hosted. Presidio's API endpoints have no built-in authentication, so the access layer in front of the Analyzer and Anonymizer is built as part of each engagement. Scope, build, handover and support follow a written agreement, so each step is visible before work begins.

How we scope

  • The written scope names each Presidio component in use: Analyzer, Anonymizer, Image Redactor and Structured.
  • Scope records the runtime choice, either pip packages or Docker images, and the Python version or pinned release tag.
  • Scope confirms which entities, languages and NLP models the detection workload requires, including whether GPU support is needed.

How we build

  • Build the access layer in front of the API endpoints with the gateway, proxy or mesh your standards approve.
  • Configure authentication, authorization and network restrictions so only approved callers reach the Analyzer and Anonymizer.
  • Deploy Kubernetes workloads with the sample Helm chart, and set ingress.enabled=false when your own ingress already handles routing.

How we hand over

  • Handover documents each deployed image by its pinned release tag, pulled from your own registry or the ghcr.io/data-privacy-stack/ path.
  • Handover covers the access layer configuration, authentication settings and network rules as written records your reviewers can check.
  • Handover includes runbooks for model files, container upgrades and logging, so your team can operate the service on its own.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Upgrades move to a newer pinned release only after the access layer and detection tests are rerun in your environment.
  • Security testing of the access layer can be scheduled as part of the retainer, with findings and retests documented.

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.