Keep Your Customers' SaaS Data in Your Own Storage: Residency, Retention and Security Reviews
Where synced customer records live, what Truto still holds, and how to answer the residency and retention questions in a security review.
The Truto Team
·
·
4 min read
Your team’s apps in
A security review asks where your customers' data lives, who can reach it and when it is deleted. If an integration vendor holds a synced copy, your answer includes their storage too. With a datastore, the synced records go into storage you own.
For the setup, read How to sync your customers' SaaS data into your own database, warehouse or bucket.
Where the records live
A datastore is a bucket, database or vector index of yours that Truto can write to. Truto supports S3 and S3-compatible storage, Google Cloud Storage, Azure Blob Storage, Postgres, BigQuery, Snowflake, Pinecone and Qdrant (Datastores docs).
A sync job reads each connected customer account and writes the records into that datastore. Truto keeps no copy of your customers' records; the sync writes them to your own storage.
So the answers about the records come from your own setup:
- Region. The bucket, database or index is in the region you created it in.
- Access. Your cloud account's access rules decide who reads the data.
- Encryption at rest. Your storage's encryption settings apply.
- Retention. Your lifecycle rules, partitions or delete jobs decide when records go.
- Backups. Your backup policy covers them like your other data.
What Truto still holds
A sync job is not stateless. Be exact about what stays with Truto:
| Item | What it is | Source |
|---|---|---|
| Account credentials | The customer's OAuth tokens or keys, encrypted | Key store |
| Datastore credentials | Encrypted and write-only; no response returns them | Datastores |
| State values | Values such as the last sync time; deleted after about 30 days unused | V4 reference |
| Run logs | Kept for your plan's log retention | Pricing |
Log retention is 7 days on Free, 30 days on Pay as you go and 90 days with the Pro add-on (pricing).
With the Pro add-on, the account credentials can also stay in your own AWS Secrets Manager, encrypted with your own KMS key. Truto then keeps only a reference (key store).
Truto also keeps the job definition, its schedules and its version history. These hold your configuration, not your customers' records.
Datastore credentials
Truto encrypts every datastore secret: secret_access_key, credentials, sas_token, account_key, connection_string, private_key and api_key. No response returns them (Datastores docs).
Two more rules protect them:
- No secret goes to a new host. To change a host field, such as
bucket,regionorbase_url, you must send the secret again in the same request. Truto refuses to send a stored secret to a new host. - Public
httpsonly. Abase_urlorindex_hostmust be a publichttpsURL.
Give the datastore a key with the least access it needs. For a bucket, that is write access to one prefix. For Postgres, that is a role that can write the sync's tables only.
Keep each customer's data apart
A datastore belongs to one environment. Sync jobs in that environment can write to it, and a job cannot use another environment's datastore. Truto checks the datastore id in a run's args before the run starts (write sync job output).
Inside your storage, the job decides where each customer's records go:
- Buckets. Put each account under its own path, such as
crm/contacts/{{args.integrated_account_id}}. - Postgres. Add a tenant column, and use it in
conflict_columnsforupsertRows. - Pinecone. Write each customer to its own namespace with
upsertDocuments.
A separate path, column or namespace per customer makes a deletion request a single call. It also lets you give one customer's data its own retention rule.
Region of processing
The records pass through Truto while a run moves them. Every plan, Free included, offers US or EU data residency; you pick the region at sign-up. Enterprise adds a single-tenant deployment in a pinned region (pricing). Truto's sub-processors are listed in the DPA.
Match the two regions. An EU customer's data can run on Truto's EU region and land in a bucket or database in the EU.
Deletion requests
When a customer leaves or asks for deletion, you delete the records in your own storage, with your own tools. A sync job can also delete through the datastore methods: deleteRows in Postgres, deleteDocuments in Pinecone and deletePoints in Qdrant (method inputs).
Datastore or SuperQuery
Truto has a second way to keep synced data: SuperQuery. SuperQuery is a store that Truto manages. You read it through the same /unified/... endpoints (how Truto works).
| Question | Datastore | SuperQuery |
|---|---|---|
| Who holds the records | You, in your storage | Truto |
| How you read them | Your own queries | Unified API calls |
| Who sets retention | You | Truto |
Pick the datastore when the security review needs the records in your own account.
Pricing
Datastores are part of the Pro add-on, at $499 a month, with a 30-day trial on the Free plan. API calls cost $5 per 100,000 from the first call, and connections are free. Calls on Truto's managed Google and QuickBooks apps are priced separately (pricing).
For how an AI agent reads this synced copy next to live calls to the app, see Synced data or live API calls: how an AI agent uses both.
FAQ
- Where does synced customer data live when Truto writes it to a datastore?
- In your own storage account. A datastore is your S3, Google Cloud Storage or Azure Blob bucket, your Postgres, BigQuery or Snowflake database, or your Pinecone or Qdrant index. You pick its region, its access rules and its retention.
- What does Truto keep when it syncs to my storage?
- Truto keeps no copy of your customers' records; the sync writes them to your own storage. Truto keeps the connected account's credentials and the datastore's credentials, both encrypted, the job's state values such as the last sync time, and run logs for your plan's log retention.
- Can I choose the region where Truto processes the data?
- Every plan, Free included, offers US or EU data residency; you pick the region at sign-up. Enterprise adds a single-tenant deployment in a pinned region. Your datastore's own region is your choice.
- How do I delete a customer's synced data?
- Delete it in your own storage, with your own tools. A sync job can also delete through the datastore methods, such as deleteRows in Postgres, deleteDocuments in Pinecone and deletePoints in Qdrant.
- Is this the same as SuperQuery?
- No. SuperQuery is a store that Truto manages, and it holds the synced records. A datastore is your own storage, so the records stay in your account.