Revoking Qdrant JWTs with value_exists without rotating the API key
A Qdrant JWT carrying a value_exists claim is valid only while a point matching the given key and value pairs exists in the named collection, so revoking one token means deleting the matching point from that control collection. When a service, user or integration must lose access now, this lets you cut off that one credential without changing the cluster API key, which would also break every other client that holds it. This behavior is documented in the Qdrant security docs. Teams usually need this when a token has leaked, a contractor's access ends mid-project, or a service is decommissioned but its scoped token would otherwise remain valid until its expiry.
The design work happens before the first token is issued. Decide which collection holds the control points, who may write to it (ideally only your identity layer, with no client holding write permissions), and what each point's payload looks like, for example one point per issued token or per principal, keyed by a field your tokens already carry. Confirm the exact claim syntax, how key and value pairs are matched, and how the check behaves under your Qdrant version by testing in a non-production cluster, since the claim format is easy to get subtly wrong. Also decide what happens when the control collection is unavailable, because a token that depends on it fails closed for every client that uses it.
Be clear about the limits. Deleting a point stops new requests from succeeding, but it does not change the signing key, so it does not help if the signing secret itself is exposed. In that case you still need the rotation runbook covered in the sibling topic on rotating API keys. Revocation also works only for tokens that use the claim, so any token issued without it cannot be cut off this way. Test revocation end to end: issue a token, confirm access, delete the point, confirm the next request is refused, and record the result as evidence for your access review.
Revocation options compared: value_exists, key rotation and token expiry
This table compares three ways to cut off a Qdrant JWT: value_exists revocation, rotating the API key, and waiting for token expiry. Read each row against your own service map to see what each method reaches, how many clients it affects, and when it is the right tool. The main takeaway is that value_exists is the narrowest option, while key rotation is the broadest and most disruptive.
| Criterion | value_exists revocation | API key rotation | Short token expiry |
|---|---|---|---|
| What it revokes | Specific tokens whose claims match a point in the control collection | Every JWT signed with the old API key, plus clients still using that key | Individual tokens once their expiry time passes, with no early cut-off |
| Blast radius | Only tokens that depend on the control point, so other services keep working | Every client, service and secrets store that holds the old key or tokens signed with it | Only the tokens issued in the window, but any token already issued stays valid until it expires |
| How fast it takes effect | Confirm with your test cluster how quickly a deleted point stops matching in your version | Confirm the rollover behavior and restart steps for your version before planning a window | Only after expiry; the lifetime is set at issue time by your identity layer |
| Operational effort | Insert or delete a point in a collection, with the collection kept under access control | Coordinated change across clients, secrets stores and rolling restarts | Shorter lifetimes mean more token issuance and refresh traffic |
| Best fit | Revoking one user, device or service without disturbing others | Suspected compromise of the API key itself or a planned key lifecycle event | Routine hygiene where a short exposure window is acceptable |
| Does not cover | The API key, unauthenticated paths, or a control collection that is itself writable by a compromised client | Tokens that were never signed with the old key, or misuse by a holder of a valid new token | Immediate revocation of a stolen token within its lifetime |
| What to confirm | The exact claim syntax and the version that supports it in your environment | Whether alt_api_key rotation invalidates existing JWTs in your version | Your identity layer's maximum lifetime and refresh behavior |
How to design the control collection that holds revocation points
The control collection is the switch that decides whether a token still works, so its design matters as much as the token itself. The decisions below cover where the collection lives, who can change it, and how each point maps to an issued token. Get these right before the first token is issued.
Keep it separate from business data
Place revocation points in a dedicated collection that holds no customer vectors or business payloads. A separate collection means a search service that reads business data never has a reason to touch the control records, and a cleanup or reindex job on business data cannot remove a revocation point by accident. Name it for its purpose, such as a clearly labeled control collection, so operators never confuse it with a data collection.
Choose key and value pairs carefully
The value_exists claim matches a point by the key and value pairs you give it, so those pairs must identify the token or subject precisely. Use a stable identifier you issue per token, such as a token ID or a subject plus session ID, rather than a broad attribute like a team name that would revoke many tokens at once. Confirm that the payload field you match is indexed and that every issued token uses the same field names.
Qdrant security docsMap one point to one token
Create one point for each token you want to be able to revoke, and write the token's identifier into that point's payload when you issue it. This keeps revocation surgical: deleting one point invalidates one token and nothing else. Decide before launch whether long-lived service tokens also get a point, because a token without a point can only be stopped by changing the API key.
Restrict write access to the collection
Any principal that can insert or delete points in the control collection can grant or withdraw access across the cluster. Limit writes to the identity service or a small revocation job that runs under an admin key, and keep read-only and per-collection JWT holders out of it entirely. Review who holds the admin key and where it is stored, because a leaked admin key can rewrite the control collection directly.
Keep admin-only access to the collection
Set the control collection to be reachable only with admin credentials, and confirm that no JWT with broad read permission can list its points. A token holder who can read the collection learns which token IDs exist and which are active, which is useful reconnaissance. Test the restriction by calling the collection with a scoped token and confirming the request is refused.
Record deletions for audit
Deleting a revocation point is the act that restores a token's trust state, so the event needs a record outside the collection itself. Store the token ID, the operator or service that made the change, the time, and the reason in your own logging or ticketing system, and keep audit logging enabled on the cluster to capture the authenticated delete call. Without this record, a removed point leaves no trace of why access changed.
Setting up value_exists revocation in a self-hosted cluster
This sequence turns on JWT-based access control, builds a control collection whose points act as revocation switches, and issues tokens that depend on those points. Each step closes with a check, so you can confirm that revoking one token blocks it without touching the API key or other clients.
Enable JWT-based access control
The cluster operator turns on JWT-based access control as the Qdrant security documentation describes, after an admin API key is configured and the instance is no longer open. Confirm the exact configuration keys and the JWT settings for your version in the docs, since per-collection JWT access has been available since v1.9.0. Verify the setup by sending one request with no key, which should be rejected, and one with the admin key, which should succeed.
Create the control collection
Create a small, dedicated collection that holds nothing but revocation records, separate from any collection that stores vectors for applications. The platform team creates it with the admin key and limits write access to the identity service and the operators who manage revocations. Verify the collection by inserting a test point with the admin key and reading it back, then deleting the test point.
Decide the key and value pairs
Agree on the payload fields that identify what a token represents, such as a token identifier, a service name, or a user identifier, and the values each point will carry. Keep each point tied to one revocable grant so that deleting it cancels exactly one grant. Write the mapping down and check that every token type your identity layer issues maps to one field and one lookup, with no grant depending on several points at once.
Issue tokens with the value_exists claim
Your identity layer signs each JWT with the cluster's API key and adds the access claim along with a value_exists claim that names the control collection and the key and value pairs from the mapping. Confirm the claim structure and expiry handling in the security documentation before coding it. Verify by decoding a sample token in a test environment and checking that the collection name and pairs match the control point you created.
Test that a valid token works
Insert the control point that matches the token's pairs, then send a search request with the token to a collection the token is allowed to read. The request should succeed, which shows that the claim is evaluated against the matching point. Record the request, response status, and the point identifier in your test log so the result can be repeated after each change.
Confirm revocation blocks the next request
Delete the control point that matches the token, then send the same request with the same unexpired token. Because the claim is valid only while a matching point exists, the next request should be refused, and the refusal should match the status code your docs describe for rejected tokens. Verify by repeating the test once more after reinserting the point, which should restore access, and keep both results in the change record.
Know when rotation is still required
Revocation through value_exists covers individual tokens, but it does not replace key rotation. If the cluster API key is exposed, every JWT signed with that key is at risk, so the key must be rotated and the tokens reissued, as covered in the rotation topic. Document this rule in the runbook and confirm the effect of a key change on existing JWTs in the docs before the first rotation.
Request flow when a JWT carries a value_exists claim
The flow starts when a client sends a request to Qdrant with a JWT that includes a value_exists claim. Qdrant first verifies the token signature, then queries the named control collection for a point matching the key and value pairs in the claim. If the point exists, the request proceeds under the token's access rules. If it has been deleted, Qdrant rejects the request. The revocation admin, who holds the Qdrant admin key, is the only party that changes the control collection, so check that this key stays out of client hands.
Qdrant checks the JWT signature, then the control collection, before allowing a request.
Security risks in revocation design and how to contain them
A value_exists revocation check is only as strong as the collection it reads from. The risks below connect the control collection, the keys that reach it, the logs that prove a revocation happened, and the clients that may keep old tokens alive.
Write access broader than admins
Anyone who can upsert or delete points in the control collection can grant or withdraw access for every token that depends on it. Limit write permission on that collection to the service that manages revocations, and confirm that no team or service key can write to it by accident. Review who holds admin keys, because those keys can change any collection. Illustrative check: a read-only key used by a reporting job should fail any write to the control collection.
Qdrant security docsControl collection shares client keys
If the control collection is reachable with the same keys that clients use for search, a compromised client can read the revocation list or tamper with it. Keep the control collection on keys and paths that application services never receive. Confirm which keys can reach it, and whether the collection is exposed on the same port and network as application traffic.
Audit logs as revocation evidence
Audit logging of authenticated API operations is documented from v1.17.0, so it can show who changed the control collection and when. Treat it as evidence that a revocation was made, not as the mechanism that blocks a token. Confirm your cluster runs v1.17.0 or later, enable audit logging, and ship the logs to storage that the Qdrant operators cannot edit.
Cached clients keep old tokens
A client that caches a JWT, or a connection pool that reuses an existing session, can keep sending a token after its point has been removed. Check how long each client retains tokens and connections, and test that a deleted control point stops access in every client type you run. Plan for the case where a removed point still works in a client that has not reconnected, and include forced client restarts in the revocation runbook.
Control point deletion errors
A missing or mistyped key-value pair in a control point can revoke many tokens at once, or fail to revoke a token that should be stopped. Store the control points with a fixed schema, require a review step for bulk changes, and test each revocation with a token you control before relying on it. Keep a record of the point contents so a mistaken deletion can be traced and reversed.
Key rotation still required
A value_exists check does not replace rotating the API key after a suspected key leak, because an attacker holding the admin key can change the control collection or the key itself. Use revocation for individual tokens and rotation for key compromise. Confirm the rotation procedure and who can start it, and rehearse both paths before an incident.
When API key rotation is still required after revoking a token
Revoking a single token with a value_exists claim does not fix a problem that sits above the token. Rotate the API key whenever the thing that signs or authenticates tokens may be known to someone outside your control. That includes a suspected compromise of the admin key or the read-only key, a leaked JWT signing secret, or an incident broad enough that you cannot say which tokens were minted from which key. A control-collection point can invalidate one token. It cannot tell you whether an attacker who held the admin key can still mint new tokens or call the admin endpoints directly.
Other triggers are organizational. When an operator who had access to the API key, the signing secret, the configuration files or the secrets store leaves the team, or changes roles, the safe assumption is that the key may have been copied. Revocation by point removal does not address that exposure, because the departing person can still hold the static key. The same applies after a shared credential appears in a ticket, a chat log, a CI variable with broad access or a container image layer. Confirm who could have read the key in your secrets platform and your deployment pipeline before you decide that revoking tokens is enough.
Plan the two processes together. Revoking tokens is a fast, scoped response, while rotation changes the key and affects every JWT signed with the old key, so the rotation runbook must say how those tokens are handled. The sibling topic on rotating Qdrant API keys without downtime covers that effect and the alt_api_key sequence. Before an incident, decide who can trigger each path, where the new key is stored, and which clients must be updated, and rehearse both in a non-production cluster. Confirm the exact behavior of your Qdrant version against the Qdrant security documentation before relying on it.
Limits to confirm before relying on value_exists
The value_exists check depends on the Qdrant version, the control collection, cluster behavior and how clients report failures. Confirm each item in your own environment before you treat a token revocation as effective.
Version support in your deployment
Confirm that the Qdrant version you run supports the value_exists claim along with the JWT access control it depends on. The claim belongs to the JWT feature set documented in the security docs, so check the release notes for the exact version where your build starts honoring it. Pin the version you tested and re-check the claim behavior before every upgrade, since the control path must keep working after a minor release.
Qdrant security docsControl collection in a cluster
Find out how the control collection is replicated and sharded before you put revocation data in it. Confirm whether a point written to one node is visible to a query on another node at the moment the check runs, and which consistency settings apply to reads. A revocation that reaches some replicas later than others would leave a token valid for a window you need to measure.
Behavior during node failure
Test what happens to token checks when a node holding part of the control collection goes down. Confirm whether requests fail closed, return an error, or succeed using a surviving replica. Also confirm what happens when the node comes back and catches up. Your revocation procedure should state what staff should do if the control collection is unavailable.
Latency of the extra check
The claim adds a lookup to every request that carries a token with it. Measure the added latency on a test cluster with your payload sizes, filter shapes and request rates, and confirm that the control collection points are indexed for the fields you match on. Compare the result with your service-level targets before rollout, and repeat the measurement after each collection change.
Client handling of rejected tokens
Confirm how each client SDK and your own services surface a rejected token. Check whether a revoked token returns the same error as an expired or malformed token, and whether the response code is one your retry logic should treat as permanent. Make sure clients do not retry in a loop, and that users or services see a clear message to request a new token from the identity layer.
Limits of revocation without key rotation
Remember that revoking a token through the control collection does not replace a compromised API key. If the signing key is exposed, tokens can be forged until the key changes, so plan rotation separately. Confirm with your security team which events trigger key rotation and which trigger only point deletion, and document both procedures before you need them.
Questions teams ask before revoking Qdrant tokens
How much effort does revoking Qdrant tokens with value_exists take?
Effort is driven mostly by how many services hold JWTs and how cleanly your identity layer already issues them. The Qdrant side is small: a control collection, a point per token or per grant, and a JWT claim that names the collection and the key and value pairs to match. The larger work is in your own systems, where you need to decide what each token maps to, where the control point is created and deleted, and how revocation is tested. Teams that already issue scoped JWTs for jwt_rbac usually finish this faster than teams starting from unauthenticated access. Ask any partner for a written scope listing the services, the identity layer changes and the test cases before agreeing to a fixed price.
Can our team set up value_exists revocation without outside help?
Yes, if your engineers can read the Qdrant security documentation, run a test cluster and change the code that issues tokens. The mechanism is a single claim checked by the server, so the hard parts are operational: choosing a control collection that only admin keys can write, keeping its points consistent with what your identity layer believes, and testing that a revoked token is rejected. Teams without an identity engineer or without a safe place to test usually benefit from a short outside review of the design. DeployOpen can plan, implement and test this work in infrastructure you control under a written scope.
What does our team need to provide before starting the work?
You need three things. First, the identity layer that signs and issues Qdrant JWTs, with a clear owner and a way to change what each token contains. Second, admin API key access on the cluster, so the control collection can be created and written, and a plan for storing that key as a secret. Third, a test cluster that matches production settings closely enough to prove that revocation works and that normal reads and writes are unaffected. Also list the collections each service uses and who approves changes to the control collection. Missing any of these usually adds discovery time to the engagement.
How long does it take for a revoked Qdrant token to stop working?
A token with a value_exists claim is valid only while a matching point exists in the named collection. Once you delete or change that point, requests that depend on it should be rejected, so the revocation depends on the point change itself rather than on the token expiry. Confirm the exact timing in your environment before relying on it for incident response. Test it on your own cluster by deleting a control point, sending a request with the token, and checking the response. Record the result as part of your runbook, including any delay introduced by client caching or proxies in front of Qdrant.
Does value_exists replace API key rotation?
No. value_exists revokes individual tokens without changing the API key, but it does not remove the key itself. If the admin key or read-only key is exposed, every holder of that key can still act, so rotation is still needed. Rotate the key when a secret may have leaked, when a person with access leaves a role that held it, or when your policy sets a schedule. Use value_exists for narrower events, such as a single service being decommissioned or a token being issued to the wrong party. Keep both procedures in the same runbook so responders know which one applies.
Which Qdrant security controls should we set up alongside token revocation?
Token revocation works best as one layer in a larger setup. Enable admin and read-only API keys, turn on JWT access control per collection, and restrict the network so only approved clients reach the REST and gRPC ports. Enable audit logging so you can confirm which tokens were used and whether requests after a revocation were rejected. Protect snapshot endpoints, because snapshots hold every vector and payload. Confirm the setting names and version requirements against the Qdrant security documentation for your release before you configure them.
What should our compliance team ask for as evidence of token revocation?
Ask for the written design of the control collection, the list of claims each token type carries, the procedure for creating and deleting control points, and test records showing that a revoked token is rejected. Ask for the audit log entries that show the revocation and the rejected requests, and for the runbook that names who can change the control collection. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports or certifications. Independent auditors decide whether your controls meet the requirements that apply to you.
How DeployOpen scopes and delivers Qdrant token revocation
DeployOpen plans, implements, hardens and documents self-hosted Qdrant inside your own infrastructure, including the token revocation path described on this page. The work is scoped in writing before it starts, so the collection that backs value_exists, the JWT issuing service, the client services that receive tokens and the operational runbook are all named in the agreement. Ownership of each piece is part of that scope. Your identity or application team usually owns token issuance, while the Qdrant configuration and control collection design sit with the platform or security team. Settling that split early prevents a revocation design that works in a test cluster but depends on an application nobody administers.
A revocation review is a natural part of a security assessment. DeployOpen can test the revocation path as part of a security review, checking that a token stops working once its matching point is removed, that the revoked state holds across every node of your cluster, and that services fail closed when the control collection is unavailable. The findings come with fixes and a retest, and the test plan should cover the endpoints your clients actually call. Ask any partner, including DeployOpen, to confirm in the written scope which Qdrant version, deployment path and identity layer the testing covers, since the behavior of the claim depends on the environment.
Ask for a written scope that lists the Qdrant version and deployment model, the control collection and its access rules, the revocation procedure and who runs it, the test cases and retest criteria, and the handover of runbooks to your team. Confirm the schedule and cost in the quote rather than assuming them from this page. Certification evidence and audit reports come from independent auditors, not from DeployOpen, so plan for those separately if your assessment requires them.

