Problem
Card numbers, national ids and similar values spread through databases, logs, analytics and backups, putting all of them in compliance scope and making each a breach target.
Also known as: data-tokenization, pci-token-vault, format-preserving-tokens
Replace sensitive values with meaningless tokens so most systems never store or see the real data.
Card numbers, national ids and similar values spread through databases, logs, analytics and backups, putting all of them in compliance scope and making each a breach target.
Tokenization swaps a sensitive value for a surrogate with no mathematical relationship to it. Unlike encryption, there is no key that reverses a token outside the vault, so systems holding only tokens are out of scope for most sensitive-data controls.
Many teams buy this as a managed service from a payment processor or data privacy vendor instead of building a vault, which also transfers part of the compliance burden. If you build it, isolate it in its own account and network, and have it independently assessed before storing production data.
Browser -> hosted field / vault endpoint: PAN 4111...1111
Vault: encrypt value (envelope), store row {token, ciphertext}
Vault -> App: tok_9f2c71a0
App DB: orders.card_token = tok_9f2c71a0
Charge: App -> Payment service -> Vault.detokenize(tok) [authz + audit]
-> processor
Analytics sees only tok_9f2c71a0
Keep the capture path narrow, for example iframes or direct-to-vault posts, so raw data skips your application servers.
Medium — hardened vault service
High — strict access control and DR
Medium
Vault outage halts payments or onboarding
Overbroad detokenize permissions recreate the original exposure
Raw values leak into logs before reaching the vault