Security model
How the Credentials Vault encrypts secrets, how it decides who may read them, what Safeguard staff can and cannot do, and the limits you should know before storing production credentials.
Security model
This page describes the vault as it works today. Changes that are rolling out are listed at the end and are not in effect yet.
Encryption at rest
- Each secret is encrypted with AES-256-GCM before it is stored, with a fresh random nonce for every write. The authentication tag means a stored value that has been altered fails to decrypt rather than decrypting to something else.
- The keys are held by Safeguard's platform, outside the database. They are not in a separate key management service today.
- Each stored value names the key it was written under. That lets Safeguard rotate keys: a new key takes over for new writes, and older entries move to it as they are read.
- The vault fails closed. If a deployment has no key configured, it refuses to store or reveal anything. It never generates a temporary key and never falls back to a built-in one.
- An entry written under a key the deployment no longer holds is reported as such ("Re-enter it to use it") instead of appearing empty.
Who can read what
Identity comes only from your signed-in session. The vault does not accept a workspace, user or owner named in a request: it takes them from your verified sign-in, and a request that names a different workspace is refused.
| Personal entry | Shared entry | |
|---|---|---|
| Its owner | List, reveal, change, delete, read history | n/a |
| Other workspace members | Cannot see it exists | List, reveal, change, delete, read history |
| A scan in your workspace | Never | Reads it by handle when the scan runs |
| Members of other workspaces | Never | Never |
| Safeguard staff | Can delete it (for offboarding). Can never reveal it or read its history | Can reveal, add, change and delete shared entries through Safeguard's internal admin console, for example when supporting you. Every such action is recorded in the entry's history |
An entry that a caller may not see answers "not found" rather than "forbidden", so the vault cannot be used to discover which entries exist.
Scans
- A scan reads a shared entry by its handle, for the workspace the scan belongs to. It can never read a personal entry, and it cannot add, change or delete entries.
- The value is held in memory for the length of the scan. It is replaced with
[redacted]in scan logs, error messages and uploaded results. - If a scan cannot read a credential, it fails with the reason. It never runs with an empty credential.
In the browser
- Lists and API responses never carry a secret. Only a reveal returns one.
- A reveal is a deliberate action, recorded before the value is returned.
- A revealed value stays in the open page only. It is never put in the address bar, the browser's storage or a cache, and it hides itself after a minute.
Logs and errors
No secret, encrypted value or key appears in any audit record, log line, error message or web address. Errors are reported as short codes, and the app shows its own sentence for each.
Limits to know
- Shared entries can be revealed by every member of the workspace. Store a credential as shared only if everyone in the workspace may see it.
- Safeguard staff can reveal, add, change and delete shared entries through the admin console, recorded in the entry's history. Personal entries are out of their reach.
- Because Safeguard holds the encryption keys, Safeguard's infrastructure could in principle decrypt shared and personal entries. Access to those keys is restricted to the platform.
Rolling out
These change the model above when they arrive and are not in effect today. See PAM capabilities rolling out.
- Per-vault keys wrapped by a key management service, with crypto-shredding when a vault is deleted.
- A permission model where reveal is granted only explicitly, with MFA step-up, and admin self-grants that need a second admin.
- Shared credentials without operator reveal: the admin console loses its reveal of customer credentials.
- Use without reveal, so people and agents can use a credential without ever seeing it: leases,
safeguard vault execand credentials in Compute sandboxes.
Audit
What the Credentials Vault records for every create, change, reveal, scan read, import and delete, who can read each credential's history, and what is never recorded.
Troubleshooting
What the Credentials Vault's messages and error codes mean, and how to fix the common problems with the vault page, scans that use a handle, the CLI and imports.