Skip to content
Secrets StoreMarkdown

Secrets audit trail

Every request to the store and every change to a vault, its grants, shares and nominations recorded on the realm's audit trail, with the secret values left out.

Available, with limitsAPI

The store records two things on the realm’s audit trail: every request made to it, reads included, and every change it makes. Each record says who, when, and what was asked or changed. No record ever holds a secret’s value.

What’s missing today: the store’s records are written, but can’t yet be read back through the API. Reading them comes with the realm-wide trail search.

  • Who: nothing to call; every user’s requests are recorded.
  • Where: recorded by the store. Reading the store’s records isn’t offered yet.
  • First: nothing. Recording starts when the store is turned on.
RecordEventWritten whenWhat it holds
A requestACCESSEvery call to the store, read or write, allowed or refusedWho called, when, the method, the address called, and the answer’s status
A change to a secretCREATED, UPDATED, PATCHED, DELETEDA write, a merge, a delete, a destroy, a label or setting change, a grant given or taken backWho made it, when, and which fields changed; values, labels and the path left out
A one-time shareCREATED, DELETEDA share made; read, or taken away because its one recipient was deleted. An expired share is swept without a recordWho made or read it, and when
A nominationCREATED, PATCHED, DELETEDEmergency access nominated, asked for, refused, withdrawn or declinedWho, when, and the state it moved to
A deleted owner’s keyDELETEDA user’s or group’s key destroyed after they were deletedWhose key, and when

There’s nothing to turn on: every request and change is recorded from the moment the store is on.

LimitValue
Kept forthe life of the realm. See Retention and sites
Values on the trailnever
Reading the store’s recordsnot offered yet
SymptomCauseFix
A user’s trail shows no secrets activityReading a trail today returns sign-ins, tokens and decisions, not the store’s recordsKeep your own log of administrative steps until the realm-wide trail search arrives
A rotation or shred of the realm’s secrets key isn’t recordedChanges to the realm’s secrets key aren’t on the realm’s trail yetKeep your own record of each rotation and shred
  • No values on the trail. A secret’s values and labels are sealed and left out of every record.
  • A request’s address carries the secret’s path. The path is sealed where the secret is stored, but a request’s record holds the address it was sent to, which names the path. Choose paths that don’t themselves give a secret away: db/staging, not the password itself.
  • Reads are recorded. Every read of a secret is an ACCESS record under the user who read it.
  • One trail for the realm. The store’s records sit beside the realm’s other records. See Audit & Reports.
  • The realm’s secrets key isn’t on the trail yet. Rotating or destroying it writes no realm record. See Known limitations.

Reading the store’s records in one place comes with the realm-wide trail search: see What’s next for audit and reports.