Skip to main content

Module linked

Module linked 

Source
Expand description

A linked entry: an entry that says where a key lives and who reads it, and holds no value (docs/specs/SPEC_VAULT_LINKED_ENTRIES_FLEET_VAULT_AND_BATCH_IMPORT_2026_11_15.md §2).

A key that a machine role reads must stay where that role can reach it, so it never gets into the Vault. A linked entry lets the Vault say that the key exists, where it is, who reads it, when it expires and whether it changed. It is an ordinary entry of an ordinary kind, marked by the plain field link set to only, with the place in the machine copy’s fields (super::source_link). Its check reads the place’s description and never the key, so no value reaches srv and nothing needs the person’s yes.

Structs§

CopyChecked
What a check found at one of a linked entry’s other places.
Found
What each place’s description came to: the entry’s own place, then its other places in order. No value is in a description. None is a CI secret no read was started for (CheckPlan::no_github).
VaultCopyCheck
What is known of one of the other places an entry names, for its “Also kept at” line. No value.

Enums§

Standing
How a linked entry stands, by its newest check.

Constants§

BACKED
A linked entry whose key the Vault reads from its place at each use and keeps no copy of: the secret in AWS Secrets Manager is the authority (SPEC_VAULT_SHARED_ACROSS_MACHINES_LAN_AND_CLOUD_2026_11_01.md §11.1).
CHECKED_COPY
The Activity action of a check of one of a linked entry’s other places. Its own action, so the newest checked line is always the entry’s own place, and an agent’s check counts once toward the hour’s limit.
COPIES
Other places the same key is kept, one line each: kind: location#key.
FIELDS
KIND_TITLE
The KeePass field that marks a linked entry. It holds the entry’s kind: a link has no secret field to say it.
LINK
The field that marks a linked entry, and the one thing it may say.
LINKED
The Activity action of an entry made as a link.
MAX_COPIES
MAX_READERS
ONLY
READERS
Who or what reads the key, one line each: invoice-sync (lambda): at run time. Free text; the Vault enforces none of it.
ROTATED
When the key was last changed, as recorded: a date. A linked entry’s own, since the Vault holds no value to date.
SET_WHEN_MADE
Why a change that would make an entry a link, or a link an entry with a value, is refused.
TITLES
What is said of the key, as a KeePass export names it, so a database written from the Vault brings it back.
UNCHECKED_DAYS
A linked entry nobody has checked for this many days is counted as unchecked.

Functions§

about
What an entry records about its key beside the place, as the person reads it before an agent changes it: who reads it, when it last changed, where else it is kept, one of them a line, so the card can show each on its own line and mark the ones a change touches. Empty when it records none of them.
copies
The other places an entry says its key is kept, in order. A line that names no place is left out: validate refuses one before it is saved.
copy_checks
Each other place the entry names, with the newest check of it as the entry is now. A check leaves a line for a copy it can describe; for one it can’t, that is said here in place of a check, so the pane shows it and not only the answer the asking agent got.
describe
Reads the description of the entry’s place and of each other place it names, with the asker’s access. A copy in AWS is described as the entry’s own place is, under the same region and login: when the entry’s place is not in AWS there is no login to describe one under, and nothing is run for it. A CI secret is read with the GitHub CLI of this computer, wherever the entry’s own place is.
fields_for
The fields of a linked entry for the secret at source: the mark, the place, and what the asker says of it (said: readers, rotated, copies, an expiry date, the kind’s own plain fields). The place is source, whatever said names.
fields_for_backed
fields_for for a backed entry: the same place, marked as one the Vault reads its value from at each use.
finish
Records what the descriptions came to and answers it: a line for the entry’s own place, and one for each other place that was asked. A place no read was started for gets no line, and answers with its newest stored result. Never fails: a place that can’t be described is an outcome.
is_backed
Whether the entry with these fields is backed: its value is read from AWS Secrets Manager each time it is used.
is_backed_row
is_field
Whether name is one of a link’s fields, which every kind of entry may have.
is_linked
Whether the entry with these fields is a link: it holds no value (a backed entry is one, its value lives in AWS).
is_linked_row
lines
The lines of a field that holds one thing a line (readers, copies), trimmed, without the empty ones.
make
Makes the linked entry a batch’s link item asked for. Nothing is read: the entry is the place and what is said of it. Its line carries the agent’s reason and the batch’s references.
mark
The link mark an entry’s fields carry: only, backed or none. Whether an entry is a link, and which kind, is set when it is made, so a change of this value is refused (SET_WHEN_MADE), only to backed and back included.
no_value
Why an agent can’t be given this entry’s value, when the entry is a link: it has none. Nothing is asked of the person, because there is nothing to reveal.
note
The record of a link a batch made, or did not make (done, failed): who, which place, why. Nothing was read.
place_text
A place as a line of copies writes it, and as a refusal names it: aws-secret: staging/app#db.password.
standing
How row stands and whether it has gone unchecked ([stands]), when it is a linked entry.
takes_no_value
Why row can’t be given a value (a rotation, a capture, an import into it), when it is a link; instead says what to do.
validate
Whether the link’s fields in fields are ones the Vault keeps, for an entry that holds a value (has_value) or none. A linked entry names its place and holds nothing; who reads a key and where else it is kept may be said of any entry.