Use the vault
Add, find, edit, reveal, copy and delete credentials in your Personal and Shared stores, and read who has seen each one, in the web app and the CLI.
Use the vault
Everything on this page works in Settings > Credentials Vault in the web app and with the safeguard vault commands. See Set up the vault if you have not opened it yet.
Find a credential
Choose Personal or Shared at the top of the page. The list shows each entry's name, type, username, address and when it was last changed or revealed. It never shows a secret.
safeguard vault list # shared entries
safeguard vault list --scope personal # your personal entries
safeguard vault show staging-login # one entry, by handle or idAdd --json to any of these for output a script can read.
Reveal and copy a secret
- Open the entry and choose Reveal. The page reminds you that every reveal is recorded with who asked and when.
- Choose Copy to put the value on your clipboard, or Hide when you are done.
The value hides itself after a minute, and when you switch store or leave the page. It is kept only in the open page, never in the address bar, the browser's storage or a notification.
Shared credentials become write-only for members
When Safeguard turns on the reveal needs a grant rule (it is off today), a member without the Reveal permission cannot reveal a shared credential that has no access policy, and cannot use it from the CLI (safeguard vault exec) either. Reveal is not offered, the page says the credential is write-only for you, and a request to reveal it is refused with WRITE_ONLY (HTTP 403). Scans keep using the credential. You can still add and replace the value. No other permission implies Reveal, including Edit and Admin, and no role does, workspace admin included. Ask your administrator for it if your work needs the value on screen or in a command. Personal credentials are not affected.
When your organization asks for an MFA confirmation before a reveal, one confirmation in a vault covers reveals in that vault for 5 minutes, the default Shared vault included. A reveal in another vault asks again.
The CLI has no reveal command. Scripts that need a value should use the entry's handle in the scan or command that needs it, so the value is never printed.
Edit a credential
Choose Edit on the entry. You can change the name, type, username, address, notes, tags and handle. The secret field reads New secret (blank keeps the stored one): leave it blank to keep the current value, or type a new one to replace it.
safeguard vault edit staging-login --username qa-bot-2
printf '%s' "$NEW_PASSWORD" | safeguard vault edit staging-login --secret-stdinGive a shared credential a handle
Only shared entries can be used by handle. Edit the entry and fill in Handle for automated scans, or pick the entry with From the vault in a scan form, which asks for a handle when the entry has none. In the CLI, safeguard vault add --ref <handle> sets it when you add the entry.
See who has seen a credential
Open the entry and choose Who has seen this. You see each create, change, reveal, scan read, import and delete, by whom, when and with what outcome.
safeguard vault history staging-login --limit 100The history of a personal entry is shown only to its owner. See Audit for what is recorded.
Delete a credential
Choose Delete and confirm. The stored secret is removed, and anything using it, such as a scan that names its handle, stops working. It cannot be recovered. Its history is kept.
safeguard vault delete staging-login # asks first
safeguard vault delete staging-login --yes # does not askThe CLI's delete prompt asks you to type the entry's handle. For an entry without a handle, use --yes.
Messages you may see
| Message | What it means |
|---|---|
| Credentials cannot be stored on this deployment yet. | The vault has no encryption key on this deployment, so it refuses to store or read anything. Contact Safeguard. |
| Stored under a key this deployment no longer holds. Re-enter it to use it. | The entry was encrypted under a key that has since been retired. Edit the entry and type the secret again. |
| You are not allowed to read that credential. | Your sign-in does not allow that action, for example a session that carries no workspace. Another person's personal entry shows "That credential no longer exists." instead. |
| That credential no longer exists. | It was deleted, or it is not in a store you can see. |
Set up the vault
Open the Credentials Vault in the web app or the CLI, add your first shared credential with a handle, and check that a scan can read it.
Vault and privileged access status
What the Safeguard vault does today for privileged access, and what is coming soon. Use this page to see which controls are available and which are not yet.