Show HN: Onshore – open-source data residency and data sovereignty solution Onshore, an open-core data residency vault, launched with a free Community edition that includes an AI gateway letting developers point OpenAI or Anthropic clients at Onshore with a one-line change so names, ID numbers, phone numbers and account details are swapped for placeholders before prompts leave a country. The vault encrypts each value individually, keeps keys in a separate key service requiring 3 of 5 key holders to unseal or in a customer HSM, and records access in a hash-chained audit log with signed checkpoints; detection ships with country packs for the US, UK, EU, Canada, Brazil, India, Singapore, the Gulf and Africa. Self-hosting requires Docker with Compose v2 and Go 1.27 or later for the log scan, with one install per country linkable under a single console. Website https://www.onshorevault.com · Documentation https://docs.onshorevault.com · API reference https://docs.onshorevault.com/api-reference/ · SDKs https://docs.onshorevault.com/developers/sdks/ · Editions https://docs.onshorevault.com/get-started/editions/ Onshore is an open-core data residency vault. It swaps national IDs, bank accounts, phone numbers, names and amounts for tokens or placeholders before they leave a country. Your apps, logs, AI tools and vendors keep working with tokens, and the real values stay in a vault in the country they belong to, behind access rules and a tamper-evident audit log. When you're breached, attackers get tokens instead of your customers' identities, and you can prove exactly what was touched. Use AI without handing it your customers' data. Point your OpenAI or Anthropic client at Onshore's AI gateway with a one-line change. Before a prompt leaves the country, the gateway swaps names, ID numbers, phone numbers, account details and other personal data for placeholders or realistic stand-in names, so the model works on the task without ever seeing who it's about. Replies come back with the real values restored, but only for people whose access rules allow it. The AI gateway is in the free, open source Community edition. Core - Vault. Each value is encrypted on its own; keys live in a separate key service 3 of 5 key holders to unseal or your own HSM. Your systems store tokens. - Detection. Finds sensitive values in text, logs and files, with country packs for the US, UK, EU, Canada, Brazil, India, Singapore, the Gulf and Africa, and data types of your own. Optionally adds language models spaCy, transformers or Stanza to find names and places in free text. - Access rules. Default deny. Who may see what, plaintext or masked, for which purpose, from which network, at what time, up to how many an hour. - Audit and evidence. A hash-chained audit log with signed checkpoints, and signed reports for regulators. Stop the leaks - Log pipelines tokenize identifiers before logs reach outside tools. - AI gateway and cloaking send prompts to any model without identifiers, and restore the replies for people allowed to see them. - HTTP proxy tokenizes values in calls to outside vendors, in JSON, forms, XML and files. - Support tool adapters and file redaction clean tickets, documents, scans, recordings and DICOM medical images. Collect and prove - Secure components collect and show values in a frame served by the vault web, iOS, Android, React Native , so your servers never see them. - Residency map shows every system and vendor that holds or receives data, and whether each flow is protected. - Data subject requests: find a person, export, restrict and erase. Run it your way - Self-host one install per country, link installs across countries under one console, or use Onshore Cloud. - Sign in with authenticator codes or passkeys; single sign-on SAML, OIDC , SCIM and LDAP. |