- PII tokenization (
UserCreate/UserGet) — stores a complete user profile (JSON, N fields) as one encrypted record and returns a single UUID token representing the whole profile. Builds secure hashed search indexes overemail,phone,login, and acustomfield for efficient lookups. This is the user-table replacement pattern; see the PII Vault page for full detail. - Format-preserving tokenization (
TokenCreate/TokenGet) — tokenizes individual sensitive values such ascredit-card numbers(Luhn-valid) and Unix timestamps. Returns both a UUID and a format-preserving token in the same response. This is the PCI / single-value pattern, covered in the rest of this page.
Supported data types
Key features
Automatic Expiration
In Databunker Pro, expiration allows you to set a lifespan for sensitive data tokens, ensuring they automatically expire after a defined period. Useslidingtime for a relative window (e.g. 30d, 1h) or finaltime for an absolute Unix-timestamp expiry.
Unique Record Support
This unique flag is used for data deduplication. It ensures that each record is saved only once, and the same token value is returned for identical records. If the original record has an expiration flag set, its expiration countdown will be reset from the beginning.Dual Token Generation
By default, Databunker Pro generates two tokens: one in UUID format and another in a format-preserving manner.Getting started
Bulk tokenization
For batch workloads — migrations, nightly imports, mass detokenization — Databunker Pro creates, reads, and deletes many tokens in a single call.Create tokens in bulk
TokenCreateBulk takes an array of records and returns a token pair for each. slidingtime / finaltime and unique apply to the whole batch.
Read and delete in bulk
Bulk read and delete return or destroy plaintext for many records at once, so they require a short-lived unlock UUID as an extra authorization step. CallBulkListUnlock first, then pass the returned unlockuuid to BulkListTokens or BulkDeleteTokens along with the token UUIDs.