Qdrant access control and SSO

Self-hosted Qdrant ships with no authentication, so access control has to be designed before go-live. This page covers API keys, per-collection JWT permissions, audit logging and where SSO applies.

On this page

Why Qdrant access control needs a design before go-live

A self-hosted Qdrant instance is open by default. The Qdrant security documentation states that self-deployed instances listen on all network interfaces and have no authentication configured, so the first decision is not which control to switch on but who and what should be able to reach the service at all. A team that has Qdrant running in its own infrastructure must decide which applications, engineers, batch jobs and administrators can query collections, which can write or delete points, and which can change cluster settings or create snapshots. Those answers have to be settled before go-live, because retrofitting access rules onto a store that other services already depend on is harder than building them in from the start.

Qdrant offers several access layers, and they solve different problems. Admin and read-only API keys are the simplest layer: they separate full control from read access across the instance, but they are coarse, so anyone holding a key gets that whole privilege level. JWT-based access control, available in recent releases, is the layer for per-collection read or write permissions. It depends on a token issuer that your own identity layer must run and sign, which means someone must own the signing keys, token lifetimes, claim mapping and rotation. Transport protection (TLS for REST and gRPC) sits beneath both, and network placement decides which callers can reach the ports in the first place.

Two points are easy to miss. SSO is not a login feature of self-hosted Qdrant. Single sign-on for people is a Qdrant Cloud Premium capability, so for a self-hosted cluster your identity provider only matters through the tokens it issues to services and, where you build it, to users. Audit logging is also not a complete control on its own. Qdrant can write JSON audit logs of authenticated API operations, but those logs must be shipped to a store your security team can search and retain, or they prove nothing during an incident or review. Confirm the exact audit fields and log settings against the current security documentation for your version before you design the pipeline.

Which access mechanisms Qdrant provides and what each one controls

Self-hosted Qdrant ships with no authentication, so access control is something you configure. Four mechanisms work together: API keys for coarse access, JWT tokens for per-collection permissions, TLS to protect credentials and data in transit, and audit logs to record what authenticated callers did.

Admin and read-only API keys

API keys are the coarsest control in Qdrant. An admin key allows full management of the instance, while a read-only key allows search and inspection without writes. Keys are shared secrets, so anyone holding one has the same rights as every other holder and Qdrant cannot tell them apart. They cannot limit access to a single collection or payload. Confirm the exact key configuration settings in the Qdrant security documentation before deploying.

Qdrant security docs

JWT tokens with per-collection permissions

JWT-based access control lets your identity layer issue tokens that grant read or write permissions per collection, which API keys cannot do. The Qdrant instance verifies the token signature against the key you configure, so the signing key and token lifetimes become your critical secrets. Tokens are issued outside Qdrant, so the process that mints them, its claims and its expiry rules must be designed and reviewed by your team. Confirm the claim format and supported options in the security documentation.

Introduced in
v1.9.0
Qdrant security docs

TLS for REST and gRPC

TLS encrypts traffic to both the REST and gRPC interfaces, which protects API keys and JWT tokens from being read in transit. TLS does not decide who may connect, so it must be paired with keys or tokens. Certificate issuance, rotation and trust distribution to application clients are your responsibility, and each client library needs a matching configuration. Ask your team which internal certificate authority will issue the certificates and how renewal will be monitored.

Introduced in
v1.2.0
Qdrant security docs

Network isolation as a control

Because a default Qdrant instance listens on all network interfaces, network placement is the first layer to set. Keep the service on private addresses reachable only from the application tier, admin hosts and the monitoring system. Use your cloud or data center firewall rules, security groups or Kubernetes network policies to enforce this. Authentication is not a substitute for segmentation, so verify from outside the allowed networks that the port is unreachable.

JSON audit logging of API operations

Audit logging records authenticated API operations in JSON, giving your security team a trail of who changed or queried which data. Logs show that an authenticated call happened, so they are only as useful as the identity behind each call. Shared admin keys make attribution weak, which is why per-application JWT identities help. Confirm which operations are logged, where logs are written and how they are shipped to your SIEM before you rely on them for investigations.

Introduced in
v1.17.0

Choosing between API keys, JWT tokens and a gateway in front of Qdrant

This table compares four ways to control who can reach a self-hosted Qdrant instance, from shared keys to a gateway that authenticates before requests arrive. Read each row for the situation where the option fits, what it costs to run, and what it cannot tell you about the individual user making a request. The main takeaway is that Qdrant's built-in controls authorize API callers, while per-user identity usually has to come from a layer in front of or around Qdrant.

OptionWhen it fitsOperating costWhat it cannot enforce
Single admin key shared by servicesProof of concept or a single internal service with one ownerLow setup, but rotating the key breaks every client at once and admin scope is broader than most services needWho made a call, which service made it, or any distinction between reading and changing data
Separate admin and read-only keysSmall team where writers and readers are different services or peopleTwo secrets to rotate and store; keys are shared within each role, so revoking one service means rotating for all of its peersPer-collection limits or individual user identity
JWT tokens with per-collection permissionsSeveral applications or tenants that need different read or write access to different collectionsYour team or identity provider must issue, sign and expire tokens; the issuer becomes a dependency for every clientIndividual user identity inside Qdrant unless your issuer puts user claims in the token and your application acts on them
API gateway or proxy in front of QdrantOrganizations that already run an enterprise gateway with SSO, logging and rate limits and want one enforcement pointGateway configuration, upgrades and on-call become part of the Qdrant service; each request adds a hop with latency and a new failure pointDirect access paths if Qdrant ports stay reachable from other networks, and any control the gateway does not inspect in the payload

How to build Qdrant access control from the network edge to the collection

This sequence moves from closing the network exposure of a self-hosted Qdrant instance to controlling each caller's access by collection, with audit records you can review centrally. Each step ends with a check you can run and record as evidence.

  1. Restrict network exposure before anything else

    Qdrant's security documentation states that self-deployed instances listen on all network interfaces and have no authentication configured by default, so the first change is to remove that exposure. The platform or network team binds the service to the private interface, places it behind a load balancer or ingress limited to known application subnets, and blocks the REST and gRPC ports from everywhere else at the security group or firewall. The check is a connection attempt from an unapproved host, which must fail at the network layer before any Qdrant response is returned. Confirm the exact ports and bind settings with your deployment method, since they differ between Docker, Kubernetes and package installs.

  2. Enable TLS for REST and gRPC

    Next, the platform team turns on TLS for both the REST and gRPC endpoints, using certificates issued by your internal certificate authority or a managed certificate service. Clients are updated to verify the server certificate rather than skipping verification, and any internal tooling that still calls the plain HTTP port is listed and fixed. Qdrant has supported TLS for REST and gRPC since v1.2.0. The check is a request over plain HTTP that must be refused, plus a client connection that succeeds only when it presents a trusted certificate chain.

  3. Define collections and the roles each caller needs

    The data owner and the security lead write down every collection, its payload sensitivity, and which callers need read or write access to it. Callers are grouped as indexing pipelines, query services, administrators and analysts, and each group is mapped to the minimum rights it needs. This matrix becomes the source for both API key assignments and JWT claims in later steps. The output is a signed access matrix stored in your change system. The check is a review in which every collection has at least one named owner and no caller group holds write access it did not request.

  4. Issue admin and read-only keys to the right services

    The platform team creates an admin API key only for the operators who manage collections, snapshots and cluster settings, and a read-only key for services that only query. Keys are stored in your secrets manager, injected into workloads at runtime, and never written into images or source control. Qdrant supports admin and read-only keys over both REST and gRPC. The check is a read-only key that submits a collection creation or an upsert request, which must be rejected, and a read request with the same key, which must succeed.

  5. Configure JWT validation against your issuer

    For per-collection control, the identity team configures Qdrant to validate JWTs issued by your organization's identity provider, with the issuer, audience and signing key set in the Qdrant configuration. Tokens carry claims that name each collection and whether the caller has read or write permission on it, and the application issues short-lived tokens with those claims at login. Qdrant has supported JWT-based granular access control with per-collection read or write permissions since v1.9.0. The check is a token scoped to read on one collection that attempts a write to that collection and a read on a different collection, both of which must be rejected. Confirm the claim format against the current Qdrant security documentation before you build the issuer mapping.

  6. Turn on audit logging and ship it to central storage

    The platform team enables JSON audit logging of authenticated API operations, which Qdrant has provided since v1.17.0, and routes the output from each node to the log pipeline your security operations team already uses. Retention and access to the log store are set by the security team, not the cluster operators. The check is a deliberate write made with a known test identity, after which a matching audit entry must appear in the central log store with the caller, operation and collection visible. If an entry does not appear, the step is not complete regardless of what the node logs show.

  7. Rotate and retire keys on a fixed review cycle

    Keys and signing material are rotated on a schedule set by your security policy, and each retired key is revoked on the server side as well as removed from secrets storage. Old JWT signing keys are removed from the validation configuration once tokens issued under them have expired, and any service that stops running has its key revoked. Rotation is rehearsed in a non-production cluster first, since a broken key change can stop every query service at once. The check is that a revoked key is rejected on its next request and that the rotation appears as an event in the audit log. Ask your Qdrant contact to confirm the exact key revocation procedure for your version.

How a client request passes identity, permission and audit checks before reaching a collection

The request starts in the client application, which obtains a JWT from the identity layer. The client then sends the token to Qdrant over TLS, carrying the collection name and operation. Qdrant checks the token signature and its per-collection read or write permission before running the query. Each authenticated operation is written to the audit log, so reviewers can see who accessed which collection. Confirm that your token claims match the collection names and access levels you configured in config.yaml.

Token issuance, permission check and audit entry for one Qdrant request.

What drives the effort of Qdrant access control and how to keep it down

This table lists the factors that change the scope of Qdrant access control and SSO work, and how to reduce each one. Read each row as a lever: the driver on the left grows the effort, and the right-hand column shows what to standardize or reuse to keep it manageable.

DriverWhy it changes effortHow to keep it down
Services and human roles calling QdrantEach application, pipeline and person needs a credential or token with a defined scope, and each one must be issued, rotated and removed.Route application traffic through a small number of service identities and limit human access to read-only or admin keys held by a named few.
Number of collections needing separate permissionsJWT tokens can grant read or write per collection, so every distinct collection adds a permission mapping to design, test and review.Standardize on a few collection-level roles, such as read-only and read-write, and group collections by data sensitivity rather than by team.
Existing identity provider or new token issuerIf your identity layer can issue the JWTs Qdrant validates, integration is mostly configuration. A new issuer adds hosting, key management and ownership work.Reuse the existing identity layer where it can issue tokens with the claims you need. Confirm claim handling and signing key setup with your identity team before design starts.
Number of environmentsDevelopment, staging and production each need their own keys, signing configuration and access reviews. Production data in several environments multiplies the controls to verify.Limit environments that hold production data, and use synthetic or masked data elsewhere. Keep one configuration pattern across environments.
Audit logging retention and reviewQdrant writes JSON audit logs of authenticated API operations. Retention periods, storage, log shipping and who reviews the logs are set by your policy, not by Qdrant.Ship logs to your existing logging platform, agree retention with compliance before go-live, and define a review cadence and owner in writing.
Compliance evidence the security team must collectAssessors often ask for key inventories, access reviews, change records and log samples. Each evidence type needs a source and a repeatable collection method.Ask the assessor or internal compliance lead for a list of evidence items early, then map each to a config file, log source or export. Confirm the exact requirements with the framework owner.
Network exposure and TLS requirementsBy default self-deployed Qdrant listens on all interfaces without authentication. Restricting network paths and enabling TLS for REST and gRPC adds verification steps for each entry point.Define the allowed clients and network paths first, then enable authentication and TLS together so the configuration is tested as one unit.

How access control differs across single node, cluster, Kubernetes and Qdrant Cloud

On a single self-hosted node, access control is one configuration surface. Self-deployed Qdrant listens on all network interfaces and has no authentication configured by default, so the first task is to set admin and read-only API keys, enable TLS and restrict network reach before any data loads. JWT validation, which Qdrant supports for per-collection read or write permissions since v1.9.0, runs inside the same process, so no separate gateway needs coordinating.

  • One key surface: Set admin and read-only API keys in the node configuration so every REST and gRPC request is checked in one place.
  • TLS on both protocols: Enable TLS for REST and gRPC, which Qdrant supports since v1.2.0, and plan how certificates are renewed on the host.
  • In-process JWT checks: When per-collection tokens are required, the node validates them itself, so the signing material must be present on that host.
  • Secret delivery: Keys usually reach the process through a file, an environment variable or a secrets manager on the host. Confirm which mechanism your tooling supports and keep secrets out of shell history and container images.
  • Local audit logs: JSON audit logging of authenticated API operations, available since v1.17.0, writes on the node, so you must ship those logs to your log platform and confirm retention and tamper controls there.

Confirm that an unauthenticated request to every bound port fails before you treat the node as ready for data.

Secrets, key rotation and exposure risks specific to Qdrant access

Qdrant's access controls only protect what is switched on, and the keys and tokens that gate it become the main attack surface. The four cards below cover the exposure, key sharing, token trust and logging gaps that most often weaken a self-hosted Qdrant deployment, each with the control that closes it and the check to run.

Open instance on every interface

A self-deployed Qdrant instance is not secure by default: it listens on all network interfaces and has no authentication configured. Any host that can route to the port can read, write or delete collections. Bind the service to the interfaces you need, restrict ingress to application subnets at the network layer, and enable API key or JWT authentication before the first data load. Confirm the current default listen address and authentication settings in the Qdrant security documentation for your version.

Qdrant security docs

One admin key shared everywhere

A single admin API key copied into many services, CI jobs and notebooks means no one can rotate it without breaking every consumer, and a leak grants full control. Issue read-only keys to query services and reserve the admin key for operators. Store keys in a vault or a Kubernetes secret store with access limited to the workloads that need them, and rotate on a schedule with a documented overlap window. Check which services hold the admin key today.

Token issuer trust misconfigured

JWT-based access with per-collection read or write permissions is only as strong as the signing key and issuer check behind it. If Qdrant accepts tokens signed by a key or issuer it should not trust, a caller can mint its own permissions. Pin the signing key or issuer your identity layer controls, validate issuer and audience claims, keep signing keys in a secret store, and test with a token from an untrusted issuer to confirm it is rejected. Confirm the supported JWT settings in the security documentation.

Qdrant security docs

Audit logs kept but unread

JSON audit logging of authenticated API operations gives you a record of who changed or read which collection, but only if the logs leave the node and someone reviews them. Logs stored only on the instance disappear with it, and unreviewed entries cannot show misuse. Forward audit output to your central log platform, set a retention period that matches your policy, and define alerts for admin key use, collection deletion and access from unexpected sources. Confirm the log format and fields for your release.

How to test that Qdrant access control works and fails safely

Test the access model before any application depends on it. The test plan has three parts: positive tests, negative tests and failure tests. Positive tests confirm that each role can perform the operations it is meant to perform. Run each API key (admin and read-only) and each JWT you issue against the operations that role should allow, such as search and upsert on the collections it is scoped to, and record the expected result next to each call. A key that works for search but is refused on a write it should not have is as much a finding as a key that fails a legitimate read.

Negative tests check that permissions stop where they should. Send a write with the read-only key and expect a refusal. Present a JWT scoped to one collection and attempt writes to that collection, then reads and writes against a second collection, and expect refusals on every operation outside its grant. Keep the collection names, token claims and expected status codes in the script so a reviewer can compare them with your permission design. Confirm the exact claim format and the access rules for your Qdrant version in the Qdrant security documentation before you write the expected results.

Failure tests are the ones teams skip, and they matter most. Present an expired token, a token signed with a key that is not your issuer's key, and a request with no credentials. Each must be rejected, and the service must not fall back to open access. Then connect without TLS to an endpoint where TLS is required and confirm the connection is refused. Also confirm the audit log records each of these attempts, since the audit log of authenticated operations is your evidence trail. Store the script in version control and rerun it after every Qdrant upgrade, key rotation or change to your identity provider, because a permission can break silently when a version or configuration changes.

Questions buyers and engineers ask about Qdrant access control and SSO

Does SSO work for self-hosted Qdrant, and what does Qdrant Cloud Premium add?

Self-hosted open-source Qdrant does not provide SSO as a built-in login. Access is controlled through API keys and JWT tokens that your identity layer issues, so your identity provider decides who gets a token and which collections it can reach. Qdrant Cloud's Premium tier, which carries a minimum spend, adds SSO along with private VPC links and a 99.9% uptime SLA, according to the Qdrant pricing page. Confirm with Qdrant sales exactly which SSO protocols and admin consoles the Premium tier covers before you assume they match your identity provider.

How much effort does an access control design take, and what drives it?

Effort depends mainly on how many collections, teams and service accounts need different rights, and on how your identity provider already issues tokens. A small deployment with one admin key and a single read-only consumer is a short exercise. A multi-team cluster needs a permission map per collection, token lifetimes, a rotation procedure and log routing, all of which add design and testing time. Ask any implementation partner for a written scope that lists collections, identity sources, environments and test cases, since those items set the quote more than the Qdrant configuration itself.

What does the work need from our side?

Plan to provide four things before work starts:

  • An identity team that can issue or review JWT claims and confirm token lifetimes and signing keys.
  • A collection inventory listing names, owners, sensitivity of payloads and which applications read or write each one.
  • Access to your log platform so Qdrant's JSON audit logs of authenticated API operations, available since v1.17.0, can be shipped and retained.
  • A change window for enabling authentication, since default instances listen on all interfaces with no authentication, so turning on keys can break existing clients.
Can our internal team set up Qdrant access control alone?

Often yes, if the team already runs identity and Kubernetes or Docker workloads and has someone who can test token scopes end to end. The main risk is not the configuration but the gaps: a read-only key left in a build pipeline, an admin key shared between services, or a JWT that grants write access on a collection it should only read. An outside review or a fixed-scope engagement helps when the team lacks time for this testing. DeployOpen implements and hardens self-hosted platforms inside your own infrastructure and can scope that work in writing.

Do JWT per-collection permissions replace the need for an API gateway?

No, not in every case. Qdrant's JWT-based access control, available since v1.9.0, grants read or write permissions per collection, which covers the data-level question well. An API gateway still adds value for rate limiting, request logging across services, centralized TLS termination and routing to multiple clusters, none of which Qdrant's token scopes handle. Many teams use both, with the gateway handling edge policy and Qdrant enforcing collection rights. Confirm what your security standard expects at each layer before you decide to drop the gateway.

How is API key rotation handled without downtime?

Rotation without downtime works by overlap: you issue a new key or token, move clients to it in stages, confirm traffic is flowing and only then revoke the old credential. Admin and read-only keys are set in Qdrant's configuration, so a rolling restart or config reload is part of the change, and this should be tested in a non-production cluster first. For JWTs, rotation depends on your identity provider's signing key rollover and token lifetime. Ask for a written runbook that covers each credential type, the change window, the rollback step and how the audit log records the switch.

What should we check when a permission change goes wrong?

Start with the audit log, which records authenticated API operations, so you can see which token made which call and whether it was denied or allowed. Next, compare the token's claims against the collection permission map, since a mismatch between a claim name and the expected collection is the most common cause of unexpected access or denial. Keep a snapshot or backup of the collection before a large permission change, because snapshot restore has version compatibility limits that you should check against your Qdrant version before relying on it.

How DeployOpen scopes, builds and hands over Qdrant access control

DeployOpen plans, implements, hardens and documents self-hosted open-source platforms inside the client's own infrastructure. For Qdrant access control and SSO, we start from the access model your organization needs, build it in your environment, and hand over configuration, tests and runbooks your team can operate.

How we scope

  • We map which applications, services and people need to reach each Qdrant collection and which operations each one needs.
  • We confirm whether your identity layer will issue the JWT tokens or whether API keys fit your model, and record the decision.
  • Engagements are fixed-scope, with access model, deliverables and timelines agreed in writing before work starts.

How we build

  • We configure admin and read-only API keys, TLS for REST and gRPC, and network isolation so the instance is no longer open by default.
  • We set up JWT claims that grant per-collection read or write permissions, and test that each token reaches only what it should.
  • We enable JSON audit logging of authenticated API operations and route the logs to your existing collection and retention tooling.

How we hand over

  • You receive the access configuration, key and token rotation steps, and the list of permissions granted to each role or service.
  • We document where SSO applies in your setup, including any difference between self-hosted Qdrant and Qdrant Cloud tiers, so reviewers can check it.
  • We run a documented test pass of denied and allowed requests and give your team the results and a walkthrough of the runbook.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, covering access changes as your applications evolve.
  • Each change to keys, tokens or audit settings can be reviewed and retested before it reaches production.
  • We prepare access control evidence for your compliance and security teams to review, without issuing any audit opinion or certification.

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.