What a self-hosted Hyperswitch card vault changes for PCI DSS requirement 3
A merchant or platform team that stores PAN in its own Hyperswitch vault has to answer PCI DSS requirement 3 for its own environment. The vault design helps with two parts of that answer: the card vault (locker) is a separate Rust service built for PCI DSS requirements, and the Hyperswitch IAM documentation describes distributed key management in which key custodians must collaborate to start the application, so no single person can alter or access the vault alone. The rest stays with you: choosing a method from requirement 3.5.1 to render stored PAN unreadable, applying it to backups, audit logs and troubleshooting logs, and running the key protection procedures in requirement 3.6.1.
PCI DSS applies by role and by data flow, not by the software you picked. The Hyperswitch docs state that in the self-hosted, in-house PCI model the merchant is fully responsible for PCI DSS certification and data handling. That means your team owns the key custodian roster, the key storage location and form, the separation of key-encrypting keys from data-encrypting keys, and the evidence trail that shows each control operates. Before you commit to this model, confirm with your acquirer and assessor which self-assessment or Report on Compliance applies to you, and compare that with the external vault models Hyperswitch documents, since those change what your environment stores.
DeployOpen plans, deploys and hardens the Hyperswitch stack in your infrastructure, and prepares the systems, configuration records and evidence that your assessor will review. DeployOpen does not issue reports, attestations or certifications; a Qualified Security Assessor or your acquirer-approved process does that. Ask for the scope of the work in writing before it starts: which components are in the cardholder data environment, who holds each key custodian role, how the requirement 3 evidence is collected and where it is stored, and what retesting follows any finding. Those answers determine whether the assessment proceeds smoothly or stalls on missing records.
Mapping PCI DSS requirements 3.5.1, 3.6.1 and 3.6.1.2 to the Hyperswitch vault
This table maps each PCI DSS requirement 3 control to the Hyperswitch vault capability that addresses it, the setting the merchant must own, and the question still open for their environment. Read each row as a question to answer in your own build, because the platform supports a control but does not satisfy it on its own.
| Requirement | Hyperswitch vault capability | Merchant configuration and open items |
|---|---|---|
| 3.5.1 Render stored PAN unreadable | The Hyperswitch card vault (locker) is a separate Rust service built for PCI DSS requirements, which stores card data instead of the core app server. | Confirm which accepted method your PAN storage uses (strong encryption with key management, hashing, truncation or index tokens) and document it for the assessor. |
| 3.5 Non-primary storage of PAN | Vault storage is separate from the router, but PAN can still appear in backups, audit logs and troubleshooting logs outside the vault. | Inventory PostgreSQL backups, Redis, log pipelines and the Control Center, then confirm none holds unreadable PAN or leaks it in logs. |
| 3.6.1 Key protection procedures | The Hyperswitch Vault uses distributed key management, where key custodians must collaborate to start the application, so no single person can alter or access the vault alone. | Name the key custodians, limit them to the fewest people possible, and document how key-encrypting keys are kept separate from the data they protect. |
| 3.6.1.2 Secret and private key storage | The vault design supports keeping key material encrypted under a separate key-encrypting key, which is the storage form the requirement accepts. | Confirm whether your key store uses an HSM or key-splitting, and record where every secret and private key is stored at all times. |
| 3.6.1.1 Cryptographic architecture (service providers only) | Not a merchant requirement. It applies only to service providers and asks for a documented cryptographic architecture and an HSM inventory. | Confirm with your assessor whether this applies to you. If your organization acts as a service provider to others, document algorithms, key strength, expiry and HSM inventory. |
| Key custodian access and change control | Distributed custodian control gates vault startup, which gives a recordable event for access reviews. | Ask your QSA or SAQ advisor how custodian approvals, key rotation and changes to the vault are logged and reviewed. |
| Use of the SaaS or external vault models | The external PCI vault and SaaS vault models can move PAN storage out of your environment, which changes which requirements you must evidence. | Confirm with the vendor which parts of requirement 3 remain yours under your chosen deployment model before you choose it. |
How the vault renders stored PAN unreadable and where it must not leak
Requirement 3.5.1 of PCI DSS lists four accepted ways to render stored primary account numbers unreadable: one-way hashes of the full PAN based on strong cryptography, truncation, index tokens, or strong cryptography with key-management processes. A self-hosted Hyperswitch vault that must retrieve the card number to charge it later cannot use hashing or truncation for that purpose, because the full PAN has to come back out. That leaves strong encryption with key-management processes as the relevant method for a stored-PAN design. The vault's encrypted storage is therefore the control an assessor will test first, and the question for your team is whether every copy of the PAN is covered by it, not only the primary table.
Requirement 3.5 reaches beyond primary storage. It also covers backups, audit logs and troubleshooting logs, so a PAN that is encrypted in the vault but appears in a PostgreSQL replica, a Redis cache entry, a router request log or a debug dump is still a finding. Check each component around the vault: the Router request and response logging, error traces forwarded to observability tooling, Redis keys and the scheduler queue, PostgreSQL replicas and snapshots, and any backup of the vault's own database. Confirm with your QSA how they will sample these locations and whether they expect a documented search method. Hashing and scope questions also come up here. PCI SSC FAQ guidance on hashing a PAN and on scope is worth reading with your QSA before you decide that any hashed value is outside the cardholder data environment.
How key custodians and key storage are set up in practice
Requirement 3.6 turns on who can touch keys and where key material lives. The cards below walk through how Hyperswitch's distributed key model maps to those expectations, starting with custodian selection and ending with the three storage forms an assessor will accept.
Distributed key management at startup
The Hyperswitch IAM documentation says the Hyperswitch Vault uses distributed key management, in which key custodians must collaborate to start the application. No single person can alter or access the vault alone. Your design should confirm how many custodians must be present to start the vault, how that quorum is set, and what happens to the vault when a custodian leaves or a startup ceremony fails. Record the answers before the assessor asks.
Hyperswitch IAM docsFewest custodians under 3.6.1
Requirement 3.6.1 asks you to restrict key access to the fewest custodians necessary. Name each custodian by role, keep the list short, and separate the people who hold key shares from the people who administer the servers, databases and deployment pipeline. Where one person could both start the vault and read its database, the separation of duties fails. Document the custodian roster, the approval path for changes, and the revocation steps when someone changes roles.
Key-encrypting keys at least as strong
Requirement 3.6.1 also requires key-encrypting keys to be at least as strong as the data-encrypting keys they protect. In a Hyperswitch vault, confirm the algorithm and key length of the key that wraps the card data keys, and record it in your key inventory. Keep the KEK in a separate location from the data it protects. Ask your Hyperswitch deployment team which key sizes the vault uses in your version, and verify them against the build you actually run.
Three permitted storage forms
Requirement 3.6.1.2 requires secret and private keys to be stored at all times in one of three forms: encrypted under a separate key-encrypting key, inside a secure cryptographic device such as an HSM, or as at least two full-length key components or shares. Pick one form per key class and document it. Mixing forms across environments, such as shares in production and plain files in staging, is a common finding that assessors raise.
PCI DSS SAQ DKMS and HSM backend choice
The choice between a cloud KMS, an HSM or another key backend determines how the storage form in 3.6.1.2 is met and who operates the device. This page does not compare backends. Confirm which backend your environment will use, who holds administrative rights to it, and whether its audit logs reach your evidence store. Treat the backend decision as a dependency that must be closed before custodian roles are finalized.
Custodian and key evidence
An assessor will ask for the custodian roster, the key inventory with storage form and strength for each key, the startup ceremony records, and proof that access was restricted and reviewed. Keep these as dated records produced during normal operations rather than rebuilt for the audit. Ask your QSA or acquirer which format they expect and how often they want access reviews shown.
Configuration sequence for a compliant vault
This sequence turns a self-hosted Hyperswitch vault choice into a documented, evidence-backed configuration that maps to PCI DSS requirement 3. Each step closes with an output an assessor can inspect.
Confirm the vault model first
Decide whether the stack will use the native Hyperswitch Vault with in-house PCI, self-hosted orchestration with an external PCI vault provider such as VGS or Tokenex, or self-hosted orchestration with the SaaS Hyperswitch Vault. The Hyperswitch docs state that under the in-house model the merchant is fully responsible for PCI DSS certification and data handling, so this choice sets the scope of every later step. Record the decision and the reason for it, signed off by the people who own compliance and payments. Done means one approved model is written down, and the team can name the controls it inherits and the controls it owns.
Document the cardholder data flow
Map every point where PAN enters, moves through, or leaves the environment: checkout SDKs, the Router, the card vault service, PostgreSQL, Redis, the scheduler, Control Center, logs, backups and any connector calls. Include the network paths between components and the systems that could affect the security of the cardholder data environment. Your engineers draw the diagram, and your security lead reviews it against the running cluster. Done means a dated data flow diagram exists, every store of PAN is listed, and each store has an owner.
Select the requirement 3.5.1 method
Choose how stored PAN will be rendered unreadable: one-way hashes of the entire PAN based on strong cryptography, truncation, index tokens, or strong cryptography with key-management processes. For a vault that must return the PAN for payments, strong cryptography with key management is the method the vault design usually depends on, but confirm it against your own use case and your assessor's view. Hashing choices should be checked against the PCI SSC guidance on hashed PANs and scope before you commit. Done means the chosen method, its rationale and the paths where PAN is stored under that method are recorded.
Define custodians and key storage
Name the key custodians, the smallest set of people who can access key material, and decide where each key is kept. Requirement 3.6.1 expects access restricted to the fewest custodians, key-encrypting keys at least as strong as the data-encrypting keys they protect, keys stored separately, and the fewest possible locations and forms. Requirement 3.6.1.2 allows secret and private keys to be held encrypted under a separate key-encrypting key, inside an HSM, or as at least two full-length components. Your security and operations leads approve the custodian list and storage design. Done means a custodian register and a key storage map exist, and each key has one documented home.
Configure distributed key startup
Set up the Hyperswitch Vault so that key custodians must collaborate to start the application, which means no single person can alter or access the vault alone. Test the startup procedure in a non-production environment with the custodians present, and confirm that a single custodian cannot complete it. Record the custodian quorum, the startup runbook and the change process for custodian membership. Done means a test startup log shows the quorum requirement working, and the runbook is approved and stored where custodians can reach it during an incident.
Lock down backups and logs for PAN exclusion
Extend the scope of requirement 3.5 beyond the primary database to backups, audit logs, troubleshooting logs and any observability pipeline. Confirm that PAN never reaches those stores in clear text, by testing with known test cards and checking application, proxy and database logs. Encrypt and restrict backup access the same way as primary data, and confirm that restore procedures do not reintroduce unprotected PAN. Done means a documented test shows no clear-text PAN in logs or backups, and the backup and log owners have signed the results.
Collect evidence before the assessment
Gather the artifacts an assessor will ask for: the vault model decision, the data flow diagram, the 3.5.1 method rationale, the custodian register, key storage records, startup test logs, backup and log test results, and access reviews for custodians. Confirm which parts of the design are inherited from an external vault provider and which are yours, and request their own attestation where you rely on it. Ask your acquirer or QSA which templates and evidence formats they expect, since PCI DSS validation is documented on official SAQ or ROC templates with an Attestation of Compliance. Done means an evidence index maps each artifact to the requirement it supports and has a named owner.
Questions merchants ask before a self-hosted vault assessment
Does choosing a self-hosted vault take my card data out of PCI DSS scope?
No. Running the vault yourself keeps cardholder data inside your environment, and the Hyperswitch documentation states that under the self-hosted, in-house PCI model the merchant is fully responsible for PCI DSS certification and data handling. The vault choice changes which systems carry the requirement 3 work, but it does not remove the obligation. Scope also covers the router, databases, Redis, logs, backups and any admin path that can reach the vault. If you move to an external PCI vault provider or the SaaS Hyperswitch Vault, confirm with your acquirer and assessor exactly which components still touch PAN before you reduce scope on paper.
Who is paid for what in a QSA or consultant engagement?
The Qualified Security Assessor is paid to perform the assessment and issue the Report on Compliance, which is a formal validation step. A consultant is typically paid to prepare the environment, document the architecture, build the evidence and remediate gaps before the assessor arrives. Your internal team carries recurring work such as key rotation, access reviews and change records after the assessment ends. Ask each party for a written statement of which deliverables it owns, who signs the Attestation of Compliance, and whether remediation work is inside or outside the quoted scope. Separate one-time preparation from annual or quarterly recurring activity so the budget is not mixed up.
What drives the effort for a self-hosted vault assessment?
Four factors move effort most:
- The vault model you run, since in-house vaulting puts the full requirement 3 work on your team while an external vault narrows it.
- The number of key custodians and how they are named, documented and separated.
- The scope of logs, troubleshooting output and backups, because requirement 3.5 covers non-primary storage such as audit and troubleshooting logs.
- The number of systems that can reach PAN paths, including databases, replicas and caches.
Each additional system that touches cardholder data adds documentation, testing and evidence. Ask any quote to list the systems in scope and the vault model it assumes.
What does my team need to provide before the work starts?
Your team needs to name the key custodians and confirm they accept the role in writing, because Hyperswitch's distributed key management requires custodians to collaborate to start the application. You also need access to the current architecture, network diagrams, data flow records and the configuration of each vault component. Change records for key rotations, deployments and access grants are needed to show the controls operate over time, not just on paper. Expect to provide a named technical owner who can answer questions quickly during the assessment. Confirm these inputs in the quote so the schedule does not depend on information that is hard to find.
Can my own team run the PCI DSS requirement 3 work internally?
Often yes, if the team has cryptographic key management experience, documentation discipline and a clear owner for the assessment. Requirement 3.6.1 asks you to restrict key access to the fewest custodians, separate key-encrypting keys from the data they protect and keep keys in the fewest possible locations and forms. Those controls need engineers who understand the storage options, such as encryption under a separate key, a secure cryptographic device or split key components. An internal team still needs an assessor to validate the result, and the assessor's findings may require changes that delay go-live. Estimate internal effort by listing the controls you already operate and the evidence each one produces.
How does PCI DSS v4.0.1 affect the requirement 3 work?
PCI DSS v4.0.1 was published on 11 June 2024 as a limited revision of v4.0 with no added or deleted requirements, and it is the only active version since v4.0 was retired on 31 December 2024. The 51 future-dated v4.0 requirements became effective on 31 March 2025, so an assessment today is measured against v4.0.1. Requirement 3 wording in your documentation and evidence should cite v4.0.1 numbering. The PCI SSC opened a request for comments on the next iteration between 3 June and 20 July 2026, but no release date for a new version had been announced as of October 2026. Confirm with your assessor which version and reporting template apply to your assessment date.
Which evidence will the assessor ask for first?
Assessors usually start with the cardholder data flow and the list of every location where PAN is stored, then ask how each location is rendered unreadable. For the vault itself, expect requests for the key management design, the custodian roster, key storage records, and proof that keys are held encrypted, in a secure cryptographic device, or as split components. They will also ask for log and backup samples to confirm PAN is absent or protected there. Prepare a written list of accepted methods for each data location so the answers match the controls you run. Ask your assessor to confirm the exact evidence list in writing before you begin.
What should a written quote for this work include?
A useful quote states the vault model in scope, the list of systems and data locations covered, and the number of key custodians assumed. It should separate one-time preparation, the assessment itself and recurring activities such as key rotation support and evidence refresh. Ask for the named deliverables, the version of PCI DSS used as the baseline, and the assumptions about client inputs, including who provides architecture access and change records. Confirm how remediation findings are handled, whether retesting is included, and who signs the Attestation of Compliance. DeployOpen plans and documents this work inside your infrastructure and prepares evidence for the assessor, but it does not issue audit reports or attestations, so the quote should make that split explicit.
Where to check each requirement 3 claim
Check every requirement 3 claim in your design against the primary documents before you rely on it. Start with the PCI SSC SAQ D for Service Providers document, which sets out the wording of requirements 3.5.1, 3.6.1 and 3.6.1.2 that your assessor will test against. Read the requirement and its testing procedures together, and note the SAQ D notes to 3.5.1, which extend the rule to backups, audit logs and troubleshooting logs. Then compare each claim with the Hyperswitch vault model pages, starting with the self-hosted and in-house PCI model, which states that the merchant carries full responsibility for PCI DSS certification and data handling. Record which document supports each sentence in your design, so a vendor statement is never the only evidence for a control.
Confirm version currency before you cite any requirement number. The PCI SSC blog post on PCI DSS v4.0.1 records that v4.0.1 is the only active version, since v4.0 retired on 31 December 2024. Check the PCI SSC website for any newer version, because the SSC ran a request for comments on v4.0.1 in mid-2026 and, as of October 2026, had announced no release date for a successor. Also confirm the Hyperswitch release your build uses, since the Hyperswitch vault documentation and the card vault repository can change between monthly releases. Write the version of each source, and the date you read it, into your evidence file.
Treat the Hyperswitch Identity and Access Management documentation as the source for key custodian behavior, not as proof of your own key procedures. The documented distributed key management model means custodians must collaborate to start the vault, but your assessor will want to see who the custodians are, how they are authorized, and how the key-encrypting keys are stored in your environment. Ask your Hyperswitch contact and your QSA or acquirer to confirm which requirement 3 tests they will apply to your model, and whether a documented customized approach would be accepted for any control you implement differently.
How DeployOpen scopes and evidences a Hyperswitch vault for PCI DSS
DeployOpen plans, implements, hardens and documents self-hosted Hyperswitch inside your own infrastructure, including the card vault and the key management around it. The work is scoped against the PCI DSS requirements your assessor will test, and the evidence is produced as the build goes, not reconstructed at assessment time.
How we scope
- Confirm which vault model you run: in-house PCI, external PCI vault provider, or SaaS vault with self-hosted orchestration.
- Map every system that stores, processes or transmits PAN, including backups, audit logs and troubleshooting logs.
- Agree in writing which requirement 3 controls are in scope, and which ones your assessor must confirm with you.
- Record the scope boundary and assumptions in the written scope before any build work starts.
How we build
- Configure PAN rendering controls in the vault and the surrounding services, with each method documented and tested.
- Design key custodian roles and the distributed key management startup procedure, so no single person can access the vault alone.
- Set key storage so keys are split across separate locations or held in a secure cryptographic device, as your design requires.
- Test that PAN does not appear in logs, backups or error output, and retest after each configuration change.
How we hand over
- Deliver a requirement 3 control map linking each control to its configuration, owner and test result.
- Document key custodian procedures, key lifecycle steps and the evidence to collect for each one.
- Provide a list of the artifacts your QSA or internal assessor will ask for, with where each one is stored.
- Walk your security and operations teams through the runbooks so they can run the controls without us.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer, after the fixed-scope engagement ends.
- Review control evidence before each assessment cycle, so gaps are found by your team rather than the assessor.
- Re-check the vault and key configuration when Hyperswitch releases change dependencies or components.
- Confirm the current PCI DSS version and any future-dated requirements with your acquirer or assessor before each review.

