Expand description
POST /api/v1/vault/check: an agent asks whether an entry’s machine copy still holds the entry’s value
(backend::vault::source_link). srv reads the other place with the agent’s own access (the host’s AWS setup for
a native agent, a broker session for a container agent’s grant), compares inside srv and answers same,
different or could not read with why. No value comes back, and a place that refuses the read is the answer.
A CI secret is read with the GitHub CLI signed in on this computer, which is the person’s login
(backend::vault::github_secret). A native agent already runs as the person. A container agent does not, so its
check starts that read only for an entry it holds the person’s standing approval to use; without it the answer is
the newest stored result, the reason and what to do. Every read that is started is one line in Audit.
Structs§
Constants§
- AUDIT_
ACTION 🔒 - The Audit action of a read of a CI secret’s listing entry.
Functions§
- approved 🔒
- Whether the person answered Always to this agent’s use of the entry’s value, in a Vault the agent may use: the standing approval a container agent’s read of a CI secret needs.
- audit_
reads 🔒 - One Audit line for every CI secret the check read, an action of the agent’s or of the person’s: who, which entry, which repository and the outcome. A place no read was started for has none.
- could_
not_ 🔒read - A check that ended before the place was read, recorded like any other.
- error 🔒
- handle_
vault_ 🔒check POST /api/v1/vault/check- held 🔒
- Why a container agent’s check starts no read of a CI secret, and what to do. A link holds no value, so nobody can have answered Always for it.
- person_
check 🔒 - The person’s check, from the Vault pane: read with this computer’s own logins, and recorded.
- person_
check_ 🔒with - read_of 🔒
- What the check found at
place, one of the plan’s CI secrets;Nonewhen no read of it was started. - refusal 🔒
- Why a check was not started, as a status: an entry the agent can’t use is not there, and the hourly limit is a “try later”.
- run 🔒
- Reads the place as
whoand compares. A container agent reads an AWS secret under the grant the link names; when it has none, or the broker refuses, that is what the check found. Its read of a CI secret needs the person’s standing approval of the entry (approved).