Safeguard Docs
Credentials Vault

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.

Troubleshooting

I cannot find Settings > Credentials Vault

Safeguard switches the page on per workspace. Ask your Safeguard contact or write to hi@safeguard.sh. Until then you can use the vault from the CLI: safeguard vault list, safeguard vault add and the other CLI commands work for every workspace.

Error codes

The vault answers failures with a short code. The app shows its own sentence for each; the CLI shows the code and a reason.

CodeWhat it meansWhat to do
VAULT_NOT_CONFIGUREDThe deployment has no encryption key, so the vault refuses to store or read anything.Contact Safeguard.
UNAUTHENTICATEDYou are not signed in, your session expired, or the request named a different workspace from your sign-in.Sign in again (safeguard login for the CLI).
NOT_FOUNDThe entry does not exist, was deleted, or is in a store you cannot see.Check the handle and the store (--scope personal or shared).
FORBIDDENYour sign-in does not allow that action on that store, for example a session that carries no workspace.Sign in to the right workspace. If the team needs a personal credential, its owner adds it to Shared.
NAME_REQUIREDAn entry needs a name.Add one.
SECRET_REQUIREDA new entry needs a secret.Type or pipe the secret.
BAD_SCOPEThe store must be PERSONAL or SHARED (personal or shared in the CLI).Fix the scope.
TOO_MANY_ITEMSAn import batch has more than 500 logins.Use the CLI, which splits large exports into batches.
VAULT_ERRORSomething failed on Safeguard's side. Nothing was changed.Try again, then contact Safeguard.

A scan says it cannot read the credential

  • Check that the entry is in the Shared store and has a handle. Personal entries and entries without a handle cannot be read by a scan.
  • Check the reference: sgvault://<handle>, with nothing before or after it in the field.
  • Run safeguard vault test <handle> to read it the way a scan on your machine would. It prints OK or the reason, never the value.
  • If the entry was deleted and added again, give the new entry the same handle.

"Stored under a key this deployment no longer holds"

The entry was encrypted under a key that has been retired. Edit the entry and type the secret again. The rest of the entry is unchanged.

An import skipped logins

A login whose site and username are already in your Personal store, or that is repeated in the file, is skipped by default. Run the import again with --on-duplicate update to replace the stored passwords. A login with no password, or with neither a site nor a name, is rejected and listed in the result.

On this page