Iron Vault glossary
One name per concept, in docs and code alike. Definitions follow the product specification.
Adding a term: add it here before the code that uses it. Keep entries alphabetical, give one one-sentence definition, name the owning bounded context, and cite the specification section that introduces it. Fill in the Rust type once one exists.
Bounded contexts
From implementation spec §1. Each crate owns its model; crates do not reach into each other’s private storage models.
| Crate | Owns |
|---|---|
iron-vault-policy | Caller grants, routes, slots, markers, and the final outgoing-request decision; pure, no I/O |
iron-vault-kinds | Credential resolution, token lifecycle, and provider signing rules |
iron-vault-store | Vault identity, recipient envelopes, record files, approval metadata, durable transactions and recovery |
iron-vault | Service binary, HTTP/admin interfaces, CLI client, config loading, deployment adapters and scrubbing |
iron-vault-tpm-protocol | The TPM signing helper’s wire protocol, the TPM key blob’s framing, and the TPM approval PIN; pure, no TPM |
iron-vault-tpm-signer | The TPM signing helper: the TPM approval key, its signatures and the lockout reserve; the only crate that links tpm2-tss |
Actor disambiguation
| Term | Meaning | Protected install | Development |
|---|---|---|---|
| Owner | The person at the end of the authority chain | Alice, but only by passing sudo | Alice |
| Service account | The OS account that runs the service and owns its config (0600), vault and runtime directory. The code’s ExpectedOwner is this account’s uid. | iron-vault | Alice’s login account |
| Admin principal | An OS account the admin socket accepts, checked from the socket’s peer credentials | root | the invoking user |
| Login account | The owner’s everyday OS account | alice, which has no authority | the same account as the service account |
| Host administrator | Anyone who can become root, e.g. through sudo. Outside the threat model (§2). | Alice, if she’s in sudoers | not applicable |
Terms
| Term | Definition | Context | Rust type | Spec |
|---|---|---|---|---|
| Abandoned grant | A refresh token’s grant that no OAuth account record uses any more: the old one after rm of an account record or a login that moves the record to another account or client, or the new one of a login that ends after redeeming its code, when no account record holds its verified account with that client. The service revokes it best effort once the change has settled in Ready and the service-wide lock is released: an rfc7009 definition gets a revocation request, a none definition a notice telling the owner to revoke at the provider; a failed revocation is a notice and an audit event, never a failed command. A change that committed but did not settle in Ready sends nothing: the owner is told to revoke at the provider, and the event says not_serving. A grant some record still uses is never revoked, since a provider may end the whole grant with one token. See oauth.md. | iron-vault | AbandonedGrant, RevocationFailure | future spec §1 |
| Access token | The short-lived bearer token a provider issues for an OAuth account record, which the service puts into the route’s header slot. It lives only in the record’s token slot, never in a record, and carries the record ID it was issued for, so an account record resolves only a token of its own. See oauth.md. | iron-vault-kinds | AccessToken, resolve_token | future spec §1.2 |
| Active policy | A validated config activated against this service’s credential catalog and account directory: the routes it may serve, with routes whose credential record is unusable marked unavailable, and the uid each peer caller’s account had at activation. | iron-vault-policy | ActivePolicy | §6, §7, §12 |
| Admin command | What an admin request asks the service to do, named by its command ID; the admin server dispatches each one to the handler registered for it. | iron-vault | AdminCommand, AdminHandler | §5 |
| Admin operation | The class of admin command the service state gate decides on (ping, status (which list shares), unlock, lock, reload, approve, repair, vault change (the credential changes, every recipient and approver command, and export), initialize (init and import), issue caller token, recovery check); each wire-level admin command maps onto exactly one class (AdminCommand::operation), and a state allows only some classes. | iron-vault | AdminOperation | §15, §16 |
| Admin principal | An OS account the admin socket accepts, checked from the socket’s peer credentials: root in a protected or container install, the invoking user in development; never the service account or the owner’s login account in a protected install. | iron-vault | AdminPrincipal, AdminPrincipals | §5 |
| Admin protocol | The framed byte protocol on the admin socket: one admin request per connection, then zero or more prompt and owner-input round trips, then one admin response; versioned, with exactly one encoding per value. See admin-protocol.md. | iron-vault | admin::protocol | §5 |
| Admin request | One command with its arguments, sent by the CLI as the first frame of an exchange; the service, not the CLI, then decides what to prompt for. | iron-vault | AdminRequest | §5 |
| Admin response | The final frame of an exchange: success, carrying the command’s result when it has one, or an error with a stable error code and a message the service wrote, which never contains owner input. | iron-vault | AdminResponse, ErrorCode | §5 |
| Admin socket | The Unix socket admin.sock in the runtime directory on which the service serves the admin protocol: owned by the service account with mode 0600, never connectable at a wider mode, and serving only peers whose peer identity is an admin principal, checked before a byte is read. | iron-vault | AdminSocket, admin::server | §5, §7 |
| Admission pause | The part of an approval transaction in which no request is admitted: from the move to Checking, made just before the commit, until the config check that follows ends in Ready or Unavailable. Entering it is one store of refuse in the snapshot holder, and a request’s one load from the holder is its admission, so no request is admitted under the old policy after the commit. Requests arriving during it get 503 checking. An approval started from Unavailable (policy invalid) makes no move to Checking, because requests already get 503 policy invalid; its pause lasts until Repaired and the config check that follows end. See config-approval.md. | iron-vault | SnapshotHolder::pause, AdmissionPause, ServiceEvent::ApprovalCommitting; the store’s commit takes it as AdmissionPaused | §12, §15 |
| Approval envelope | The byte format of config.toml.sig: a format version, the signature algorithm, the approver ID of the signer, the approval payload and the signature over that payload’s exact encoding. It carries no public key; each approver’s key is pinned in protected vault metadata, and the approver ID names which one to verify against. | iron-vault-store | ApprovalEnvelope | §12, implementation spec §2.2 |
| Approval passphrase | The owner’s non-empty secret that opens one software approver’s approver key envelope, and nothing else. It is a separate concept and type from the vault-unlock passphrase, and is never derived from it or interchangeable with it: unlocking the vault must never imply authority to approve a config. Held in memory cleared on drop and never displayed. Chosen at vault initialization, or at approver add for a later software approver, under the passphrase rules. | iron-vault-store | ApprovalPassphrase | §12 |
| Approval payload | The bytes a config approval signs: the fixed purpose iron-vault-config-v1, the vault ID, the approval version and the config digest, in one deterministic, versioned encoding. | iron-vault-store | ApprovalPayload | §12 |
| Approval recovery | The first part of every config check, decided from the committed approval alone: serve the published pair when it verifies as the committed approval, finish publishing the committed transaction when its pending config and staged approval wait to be published, and otherwise refuse with a recovery failure and touch nothing. Pending and staged files beside a published pair that verifies are uncommitted leftovers and are discarded, their versions staying consumed. It reads the approval state and never writes it. The recovery failure is the store’s counterpart of the failure reason, which the service maps it to: recovery needed when a committed transaction cannot be completed or a config file is there but cannot be read, policy invalid when nothing is committed or the published pair does not verify. See config-approval.md. | iron-vault-store | recover_approval, RecoveredApproval, ApprovalRecoveryError, RecoveryFailure | §12 |
| Approval signer | The owner’s second factor for owner presence, separate from the unlock method: whatever signs approval payloads for one pinned approver, such as the software signer or the TPM signer, with YubiKey signers later. The owner may enroll several, each with its own label, and any one of them approves. It signs only typed payloads, each starting with its own magic, never arbitrary bytes, so it cannot be used as a general signing oracle: approval payloads, and for a TPM signer also presence payloads and migration proof payloads. Every kind produces the same approval envelope. | iron-vault-store | ApprovalSigner | §12, implementation spec §2.2 Q-9 |
| Approval state | The protected approval metadata of one vault, in the state-directory file approval.age: the vault ID, its state generation and peer generation, the pinned approvers (from 1 to 16), the highest reserved version and the committed approval. It is sealed to the vault public key and authenticated with a MAC keyed from the vault identity, and every change is one durable replace, so its counters never go backwards while the state directory is intact. | iron-vault-store | ApprovalState | §12, §13 |
| Approval summary | The service’s own account of what an approval changes, which the owner reviews before the approval passphrase and the audit log records: a header (vault ID, the version to be committed, the config digest, the committed version), then a deterministic diff of the pending validated config against the active one, in fixed sections (callers, route grants, routes, listeners, limits, logging, recovery, “text changed” alone, or “same config as version N” alone), each in name order with configured names escaped, then an accounts section naming the verified account each route reaches through an OAuth account record. Its headline is one bounded line of counts per section. The CLI’s display of it is never evidence of what was signed. See config-approval.md. | iron-vault-policy | ApprovalSummary, summarize | §5, §12 |
| Approval transaction | The six ordered steps that make a pending config the active one: write the pending config durably, reserve a version, sign, stage the approval, commit, then publish and run the config check. Each step is durable before the next starts, the commit is its one commit point, and it runs under the service-wide lock. The store owns the durable steps, as types that run them in order: a pending config is prepared (reserved, signed and staged), and a prepared approval is committed and published only with proof that admission is paused. The binary owns the approval summary, the prompts, the admission pause and the state transitions. See config-approval.md. | iron-vault-store, iron-vault | PendingConfig, PreparedApproval, CommittedApproval, ApprovalError | §12 |
| Approval version | A per-vault unsigned 64-bit counter that strictly increases for every reserved signing attempt; always positive, and it never wraps. | iron-vault-store | ApprovalVersion | §3, §12 |
| Approver change | Enrolling or removing one pinned approver: one durable replace of the approval state, its commit point, keeping both counters, plus the software signer’s own key file, written before an enrollment commits and removed after a removal commits. approver add and approver remove each run one, from Ready, under the service-wide lock, after owner presence from a pinned approver. See approval-signers.md. | iron-vault-store, iron-vault | §12, §14 | |
| Approver ID | A random UUID v4 that names one pinned approver, generated when the approver is enrolled and never reused. The approval envelope carries it outside the signed payload, which is safe because a changed ID selects a different key and the signature then fails. | iron-vault-store | ApproverId | §12, §14 |
| Approver key envelope | The state-directory file approver-<approver ID>.age, one per software approver, the ID in lowercase hyphenated form: that software signer’s 32-byte Ed25519 private key as a plain age file with exactly one scrypt stanza, opened only by that approver’s approval passphrase. See storage-formats.md. | iron-vault-store | seal_signer_key, open_signer_key | §12 |
| Approver order | The order in which an approver prompt offers the pinned approvers: the approver that signed the active approval first, then the others by enrolment time, earliest first, ties broken by approver ID; with no active approval, enrolment order alone. Nothing stores a preference: approving once with another approver puts it first. approver list prints approvers in this order. See approval-signers.md. | iron-vault | §14 | |
| Approver prompt | The prompt that asks one pinned approver to authorize owner presence or a config approval, naming it by its label, such as Approval passphrase for "work laptop". With more than one approver it is switchable: before answering, the owner may switch to the next approver in approver order. A wrong answer ends the exchange and never moves on to another approver. See approval-signers.md. | iron-vault | §14 | |
| Audit event | One record in the audit log of an administrative change, approval step, lock transition, corruption, policy failure or other security fact, separate from request events: a typed struct with a fixed event name, level, message and fields, emitted under the target iron-vault.audit, which no module path prefix-matches, so no header value or URL has a field to go into. See audit-logging.md. | iron-vault | audit::AuditEvent, audit::AUDIT_TARGET | §18, §12 |
| Authorized request | The immutable plan for one request: the route it selected, its method, its upstream path and its query, after the caller’s grant and the route’s method and path restrictions all passed. | iron-vault-policy | AuthorizedRequest | §6, §8, §9 |
| Basic token | The base64 encoding, standard alphabet with padding, of a Basic credential’s UTF-8 username:password; the slot value a Basic slot writes as Basic <token>. The username is non-empty and has no : (RFC 7617 §2). | iron-vault-kinds | CredentialMaterial::Basic | §9, future spec §2.2 |
| Binding digest | The BLAKE2b-256 digest, personalized with iv-migration-v1, of a migration challenge’s canonical encoding: its vault ID, migration operation, destination recipient, nonce, issue time and expiry. A signing source-owner method signs it, and the service takes a challenge out of its pending slot only by it, so a proof for one pending migration matches no other. See migration-authorization.md. | iron-vault | BindingDigest | §16 |
| Bound credential | A slot value together with the permitted origins of the credential record it came from, borrowed from one resolved credential so the final outgoing-request check can never pair one record’s secret with another record’s destinations. | iron-vault-policy | BoundCredential | §6, §9, future spec §2.2 |
| Bundle check | One check that import step 4 runs on a migration bundle with the vault identity the export passphrase opened, before it trusts or writes any of the bundle: the manifest and approval state open, name the header’s vault ID, pair and hold a committed approval; the header’s counts, the config’s digest, the record files and the bundled approver keys match what those two MAC’d files name. Each check has a fixed short name, given in the bundle-invalid message and the migration.import-refused event’s detail, never a byte of the bundle. See migration-bundle.md. | iron-vault-store | BundleCheckError, ControlFiles | §16 |
| Bundle data frame | The admin-protocol frame, kind 9, whose body is up to 65 536 raw bytes of a migration bundle, never parsed as fields; an empty one ends the bundle. export sends them from the service to the CLI and import from the CLI to the service, so the CLI only ever holds the bundle’s ciphertext and the service never reads or writes a path the owner names. See migration-bundle.md. | iron-vault | BundleChunk, Frame::BundleData, Exchange::send_bundle_chunk, Exchange::receive_bundle_chunk, Bundle (the CLI side) | §5, §16 |
| Bundle header | The first entry of a migration bundle, bundle-header: the magic IVBH, the bundle format version, the vault ID and the approver and record counts. It is not authenticated: import checks it against the files the vault identity opens. See storage-formats.md. | iron-vault-store | migration_bundle::BundleHeader | §16 |
| Bundle transfer deadline | How long a migration bundle may take to cross the admin socket: 10 minutes for the whole bundle, with each bundle data frame also written or read within the request deadline. It bounds how long export holds the service-wide lock and how long import holds a bundle in memory; a missed one ends the export with export-failed and closes an import. See migration-bundle.md. | iron-vault | Limits::transfer_deadline, ExchangeError::TransferTimedOut | §16 |
| Bundled approver key | A migration bundle entry approver-<approver ID>.age: an approver key envelope encrypted again, to the vault public key, so it opens only with the vault identity and therefore sits under the export passphrase. Import opens it and writes the envelope inside, byte for byte, as the destination’s approver key file. Only a software approver has one: a tpm approver’s key stays in the source machine’s TPM. Rust: seal_bundled_approver_key, open_bundled_approver_key and check_approver_key_form. See storage-formats.md. | iron-vault-store | migration_bundle::EntryName::Approver | §16 |
| Caller | An authenticated program identity with grants to named routes. | iron-vault-policy | CallerName, CallerConfig | §3, §7 |
| Caller identification | Deciding which caller a request comes from, before any route is selected: an isolated-network listener names its sole caller; on a peer listener, the caller whose peer account is the connecting process’s uid; on a token listener, the caller whose token hash matches the caller token presented in the listener’s token_header, whose whole value is the token, or else in Proxy-Authorization as Bearer <token> (scheme in any case, one space). Every token caller on the listener is compared; a missing, repeated or malformed header, or no match, is unauthenticated (401). | iron-vault-policy | identify_caller, Unauthenticated | §7, §8, §15 |
| Caller network | An internal Docker network that holds Iron Vault and exactly one caller container, with no route out and no address on the host, so the isolated-network listener Iron Vault binds on it identifies that caller. | iron-vault | §7, §17 | |
| Caller token | A high-entropy secret a caller presents in Proxy-Authorization or its listener’s token_header: ivt_ followed by 43 unpadded base64url characters encoding 32 random bytes. The service generates it at the owner’s request (iron-vault caller-token), shows it once and keeps no copy; an approved config holds only its BLAKE2b-256 hash over the full text, prefix included, which the service compares in constant time. | iron-vault-policy | CallerToken, TokenHash | §6, §7 |
| Check failure | Why a config check left the service Unavailable, without anything the owner must not see. Either damaged shared state or a committed transaction that cannot be completed (failure reason recovery needed), or a config approval that does not verify (policy invalid), or a verified config that does not parse, validate, activate or form a serving snapshot (also policy invalid, with its own fixed status text), including a log destination the config chooses that cannot be opened or verified (log_destination_unusable, whose detail is a fixed phrase and never the path). The 503 body carries only the failure reason’s text; the owner’s log carries a detail that names versions, routes and credentials and never config bytes, URLs, paths or key material. A damaged credential record, or a pinned CA that fails to load, is not a check failure: only the routes it affects are unavailable. | iron-vault | CheckFailure | §12, §15 |
| Check generation | How many config checks the service context has run, an approval’s own included. Each check discards uncommitted pending files, so an approval records the generation and the service state it started at, and commits only if both are unchanged. A replace or rm records the generation the same way, and writes only if the service is still Ready at it. Each comparison is its write’s backstop for a change made without the service-wide lock, which today is only a stop: a lock cancels an approval or a vault change at its prompt, and every other config check waits for the service-wide lock. | iron-vault | Inner::checks | §12 |
| Checked request | An outgoing request that passed the final outgoing-request check against its authorized request, its route’s upstream and slot, and its bound credential: the slot value its slot must hold and its credential record’s permitted origins; the only form the transport accepts. | iron-vault-policy | CheckedRequest | §6, §9, implementation spec §1 |
| Checking | The service state in which storage and the current approval are being verified, entered from Starting or Locked after an unlock, from Ready on an explicit reload, just before an approval’s commit (the admission pause) or after a vault change by replace or rm, and from Unavailable after an authorized repair or committed-transaction recovery. It leaves to Ready when the check passes and to Unavailable otherwise; request listeners answer 503 while it runs. The work done in it is the config check. A vault change enters it through its own event, so it is never logged as a reload. | iron-vault | ServiceState::Checking, ServiceEvent::VaultChanged | §15 |
| CLI | The thin client half of the iron-vault binary: it sends one admin request per command over the admin socket and shows the admin response. It never opens vault files, calls a TPM or edits policy, and no argument ever takes a secret value; the service prompts for secrets instead. | iron-vault | cli::Cli, cli::Command | §4, §5 |
| Committed approval | The approval version and config digest the service last committed, the only pair startup and reload accept; its version is always a reserved version, and a new commit must name a newer one. | iron-vault-store | ApprovalState::committed | §12 |
| Config approval | A service-generated signature binding a vault identifier, approval version, and exact configuration hash. | iron-vault-store | ApprovalEnvelope | §3, §12 |
| Config check | The procedure the service runs in the Checking state (after an unlock, a reload, an approval’s commit, a vault change by replace or rm, or an authorized repair) to decide what it serves: finish or refuse any committed transaction left half published, read config.toml and config.toml.sig, verify them as the committed approval, validate and activate the config, and build the serving snapshot. Passing leads to Ready, failing to Unavailable with a failure reason, never to an older policy. It never writes the approval state. Not to be confused with the offline config check, the CLI’s advisory config check command. Checking is the state; the config check is the work done in it. | iron-vault | check_config | §12, §15, implementation spec §2.2 Q-5 |
| Config digest | The BLAKE2b-256 digest of the exact config bytes the service reviewed; any byte change, whitespace and comments included, gives a different digest and needs a fresh approval. | iron-vault-store | ConfigDigest | §12 |
| Config directory | The directory holding config.toml and the files the approval transaction writes beside it (config.toml.sig, config.toml.pending, config.toml.sig.staged, config.toml.lock): /etc/iron-vault in a protected install, $XDG_CONFIG_HOME/iron-vault-dev in development. The service account owns it with mode 0700, and only the service writes it. | iron-vault-store, iron-vault | ConfigFileName, TrustedPathRule::ConfigDir | §4, §12 |
| Config-directory lock | An exclusive, non-blocking lock on <config directory>/config.toml.lock, taken right after the state-directory lock and held for the service’s lifetime, so a second instance that shares the config directory fails to start, even with another state directory. | iron-vault-store | ConfigDirLock | §4, §13 |
| Config schema version | The integer the config file’s top-level schema_version key must hold, 1 in v0; it names the config file format. Not to be confused with the log schema version. | iron-vault-policy | SCHEMA_VERSION | §6 |
| Confirmation | A route’s owner-confirmation policy: none, the default and the only value v0 accepts. touch is named for a later phase, and v0 refuses a config that sets it when the config is read, because no confirmation provider exists. | iron-vault-policy | Confirmation | §6, future spec §2.1 |
| Consent URL | The provider’s authorization endpoint with the query a login sends the owner’s browser to: response_type=code, the client ID, the redirect, the requested scopes and the definition’s add_scopes, the PKCE challenge, the login state and the definition’s authorize_params, form-encoded. It carries no secret. See oauth.md step 2. | iron-vault-kinds | consent_url | §16, future spec §1.1 |
| Container profile | The Container deployment profile, built with the container Cargo feature for a Docker Compose stack: Protected’s paths, service account and locked-memory rule, with the same root-only admin principal, TCP listeners bound by the service itself, and a host unlock at startup; installed with the Compose install guide. | iron-vault | §5, §7, §17 | |
| Content coding | The Content-Encoding transform an upstream applied to a response body. The service decodes gzip, deflate and br; identity means none. | iron-vault | ContentCoding | §11, implementation spec §3 |
| Credential | A named provider secret and the rules that govern its use. | iron-vault-kinds | §3 | |
| Credential standing | One credential name’s state in a status report: healthy, or damaged with the kind of damage the vault’s open report found (missing, substituted, unreadable), or needs login, or unusable with its cause. It names the routes the credential makes unavailable (never a route unavailable only through a route fault) and never a secret value or record digest. A credential whose record loaded (healthy, needing login or unusable) also carries its kind and permitted origins, which list shows and status leaves out, and for an OAuth record what is not secret about it: a client record’s token host and rotation, an account record’s client record name, verified display name and issuer, and granted scopes. A damaged record’s origins cannot be trusted, so they are never held. status and list read a needs-login cause a refresh learned from the token slots, since the config check cannot see it. | iron-vault | CredentialStanding, Standing | §15, §16 |
| Credential catalog | The service’s view of the vault for activation: per credential name, unknown, unusable (damaged, needing login, or an unusable account record), or usable with its permitted host and port pairs. | iron-vault-policy | CredentialCatalog, CatalogEntry | §6, §12 |
| Credential material | The decrypted secret fields of one credential record, in the shape its kind consumes; the store maps a record into it, and a kind never reads records itself. | iron-vault-kinds | CredentialMaterial | §6, future spec §2.2 |
| Credential kind | The name of the kind a credential record declares, static, basic, oauth_client or oauth_refresh; activation uses it to check that the route’s slot suits the kind, without implementing the kind. A static key fills a header or query slot; a Basic credential fills only a Basic slot; an OAuth account record fills only a header slot; an OAuth client record fills none. | iron-vault-policy | CredentialKind | §6, future spec §2.2 |
| Credential listing | The structured, secret-free answer to list: one entry per credential in the vault manifest, in name order, each a credential standing with the kind and permitted origins of a healthy record. Unknown while no vault is open. Allowed in every state, like status. See admin-protocol.md. | iron-vault | CredentialStanding, RecordSummary | §16, §15 |
| Credential record | The encrypted record containing a credential’s secret, kind, permitted origins, and provider settings. | iron-vault-store | CredentialRecord | §3 |
| Damaged record | A credential record the vault manifest lists whose file is missing, substituted (its digest differs from its manifest entry, whatever the file contains, in which case it is never decrypted; or it decrypts to another record ID or name) or unreadable (it could not be read, is over the size limit, or its digest matches but it does not decrypt or decode); it is never loaded, its routes are unavailable, and the other records still load. | iron-vault-store | RecordDamage | §13, §15 |
| Decompression budget | The per-response count of decoded bytes, checked after every piece the response decoder yields against max_decompressed_response_bytes and, once the decoded total passes a floor, against max_decompression_ratio; an identity body is counted against the size limit only. Exceeding either aborts the response; the error carries only the two counters, never a byte. | iron-vault | DecompressionBudget, BudgetExceeded | §11, §15, implementation spec §3 |
| Deployment profile | How this build is installed, Protected, Container or Development, fixed at build time and never chosen by config, flag or detection; it decides the install paths, the service account, the admin principals, whether unlock requires locked memory, whether TCP listeners come from socket activation, and whether the service tries a host unlock at startup, and nothing else. | iron-vault | DeploymentProfile | §4, §5, §17 |
| Destination invariant | A credential leaves only for its route upstream’s host and port, only when its credential record permits that pair, only inside the upstream base path, and only in the route’s slot; property-tested from request parsing to the final outgoing-request check. | iron-vault-policy | §9, implementation spec §2 | |
| Development mode | The Development deployment profile, built only with the dev-mode Cargo feature: it runs as the invoking user, gives no isolation from that user’s malware, and never relaxes caller authentication, route policy, the final outgoing-request check, TLS verification, scrubbing, encryption at rest or config approval. | iron-vault | DeploymentProfile::Development | §4 |
| Diagnostic record | A log record that is neither an audit event nor a request event, such as a listener’s accept error: it shares the log with them, carries the constant fields but no event name, and follows the same never-logged list. | iron-vault | §18 | |
| Digest prefix | The first 8 bytes of a record file’s digest in its vault manifest entry, in lowercase hex. It ends the record file’s name, record-<record ID>-<digest prefix>.age, so rewriting a record under the same record ID writes a new file, and the old one is removed only after the manifest commit; a file under another prefix is unindexed, and its entry’s record counts as missing. | iron-vault-store | DigestPrefix, StateFileName::record | §13 |
| Durable remove | Unlinking a state file, then fsyncing the state directory, so the deletion survives power loss. | iron-vault-store | durable_remove | §13, §19 |
| Durable replace | Writing a state file’s new bytes to a private .<name>.tmp in the state directory, fsyncing it, renaming it over the file and fsyncing the directory; the file holds the old bytes or the new ones, never a mix. | iron-vault-store | durable_replace | §13, §19 |
| Envelope digest | The BLAKE2b-256 of the identity envelope’s bytes exactly as they sit on disk; a recipient inventory describes only the envelope whose digest it carries. See recipients.md. | iron-vault-store | §13 | |
| Error kind label | The fixed snake_case label a log record gives a library error in its error_kind field, chosen from the error’s kind, predicates or type and never from its Display or Debug: an io::Error’s io::ErrorKind (not_found), a reqwest error’s transport error class (timeout, tls), or one label per error type (random_source). | iron-vault-store, iron-vault | ErrorKindLabel | §18, audit-logging.md |
| Event name | The stable name of an audit or request event, <subject>.<name> such as config.version-reserved or request.completed, written in its event field; renaming or removing one changes the log schema version. | iron-vault | audit::EventName | §18 |
| Exchange | One connection on the admin socket: one admin request, zero or more prompt and owner-input round trips, then one admin response, after which the service closes the connection. A prompt that gets no owner input cancels the exchange’s command before it changes anything. | iron-vault | Exchange, ExchangeError | §5 |
| Expected owner | The service account’s uid, which must own a trusted path’s service-owned parts: iron-vault in a protected deployment, the invoking user in development. Root is always also trusted for ancestors. Not to be confused with the owner, who is a person. | iron-vault | ExpectedOwner | §4 |
| Export passphrase | The passphrase the owner chooses during export, after migration authorization has succeeded, to seal the exported identity envelope, and types again on import. It protects the transfer only and never authorizes a migration. The specification also calls it the bundle passphrase. Rust type: ExportPassphrase. See migration-bundle.md. | iron-vault-store | §16 | |
| Export snapshot | The vault files export checks under the service-wide lock before any prompt, and reads again after it consumes its migration authorization: the manifest and approval state, opened and checked; the committed config.toml, checked against the committed config digest; every pinned approver’s key file, checked for form and encrypted to the vault public key unopened; and every record file the manifest names, each checked against its entry’s digest and never decrypted. See migration-bundle.md. | iron-vault-store | check_export_snapshot, stream_export_snapshot, SnapshotSummary, SnapshotStep, ExportedBundle, SnapshotError, SnapshotDamage | §16 |
| Exported identity envelope | The migration bundle entry exported-identity.age: the vault identity’s secret text sealed to the export passphrase with one scrypt stanza, in the passphrase envelope’s format. It exists only inside a bundle and is never written to the state directory, so identity.age never holds an scrypt stanza. Rust: seal_exported_identity and open_exported_identity. See storage-formats.md. | iron-vault-store | §14, §16 | |
| Failure reason | Why a check left the service Unavailable: the policy is invalid, or shared state is damaged and a recovery is needed. It is the part of the unavailable reason set that a check can produce; Locked is a state of its own. | iron-vault | FailureReason | §15 |
| Fault filesystem | A test-only, in-memory StoreFs that records every call, fails chosen calls with a chosen error, and models power loss: file contents survive a crash only once fsynced, and directory entry changes only once the directory is fsynced. | iron-vault-store | FaultFs | §13, implementation spec §2 |
| Forget machine | The admin command iron-vault forget-machine <age1…>, allowed in Ready on the vault that stays: it checks that a retired machine’s recipient key is no longer in the recipient inventory (else machine-not-forgotten, naming recipient remove), warns when the independence rule fails or the recovery path is not verified (no check has run, or it is overdue), and prints the decommission guidance for the retired machine. It changes nothing and runs no TPM tool; the administrator runs every step. See forget-machine.md. | iron-vault | ForgetCheck, ServiceContext::check_forgotten | §16 |
| Frame | One message of the admin protocol: a header holding the protocol version, the frame kind and the body length, then the body. | iron-vault | Frame | §5 |
| Handoff unit | The host’s root-run oneshot systemd unit iron-vault-host-unlock.service that unseals the host unlock blob once per boot and installs the unlock handoff on a ramfs before the service, or Docker in the Container profile, starts; it is a unit of its own so that a failed unseal fails only it, and the service still starts and waits Locked; when it fails it leaves the unseal-failure file. See tpm-unlock.md. | iron-vault | §17 | |
| Hardware key | A removable device, initially a YubiKey, that protects keys and supports PIN and touch policies. | iron-vault-store | §3 | |
| Header scrub | Scrubbing every value of a response’s headers whole, through the same matcher as the body so both follow one rule; header names are not scrubbed, since a secret in a name is implausible and rewriting names would change semantics. Returns the number of matches replaced. | iron-vault | scrub_headers | §11 |
| Header value | The bytes of one HTTP field value; never contains CR, LF or NUL, may contain obs-text, and is never rendered in logs or errors. | iron-vault-policy | HeaderValue | §9 |
| Host | An upstream host name or IP literal in its one canonical form; hosts compare exactly, never by suffix or wildcard. | iron-vault-policy | Host | §9 |
| Host administrator | Anyone who can become root, e.g. through sudo; outside the threat model, and the only way the owner reaches the admin socket in a protected install. | iron-vault | §2, §5 | |
| Host unlock | A Protected or Container service’s unlock at startup with the unlock handoff, with no owner present: once memory is locked, the handoff is read, the vault must be Initialized, and the host unlock identity unwraps identity.age, after which the service goes from Starting to Checking. Any other outcome leaves it Locked for passphrase unlock, and none counts toward the passphrase attempt limit. Each attempt is recorded as the audit event vault.host-unlock; a Development service never tries one. See docker-compose.md. | iron-vault | ServiceContext::unlock_at_start, HostUnlockOutcome, HostUnlockRefusal, audit::vault::HostUnlock | §15, §17 |
| Host unlock blob | The file /etc/iron-vault-host/host-unlock.cred, root 0600, holding the host unlock identity’s secret text sealed by systemd-creds to the host’s TPM and PCR 7 under the name host-unlock; the only copy of that identity on disk, and useless off this TPM. systemd calls it an encrypted credential, its word for any secret it hands a unit; it is not a Credential. See tpm-unlock.md. | iron-vault | §14, §17 | |
| Host unlock identity | A generated X25519 recipient identity with the recipient role host-unlock, whose secret text is sealed to the host’s TPM by systemd-creds and handed to a Protected or Container service at startup; an intermediate identity that never substitutes for the recovery key and never authorizes migration. init --host-unlock enrols it in a new vault. | iron-vault-store | RecipientRole::HostUnlock | §13, §14, §17 |
| Identity envelope | The state-directory file identity.age: the vault identity’s secret text as a plain age file with one X25519 stanza per recipient key and no scrypt stanza, so every enrolled recipient opens it independently. | iron-vault-store | wrap_identity, unwrap_identity | §13, §14 |
| Incoming connection | A connection accepted on a request listener, tagged by the transport with its listener name and, on a Unix socket, the peer identity; these tags are the only inputs to caller identification besides the request headers. On a TLS listener its handshake has not run yet: establishing the connection runs it in the connection’s own task, so a slow client never holds up accepting. | iron-vault | IncomingConnection, RequestStream | §7, §8 |
| Independence rule | The check every recipient change must pass on the inventory it would write: it keeps the recipient of each configured unlock method and at least one unlock-class recipient, the operational recipient while the vault passphrase is the only source-owner method, at least one recovery recipient, and from 2 to 64 recipients, so the vault always keeps two independent ways in: its unlock method and an offline recovery key. See recipients.md. | iron-vault-store | §14, §16 | |
| Init passphrases | The vault passphrase and the approval passphrase as the owner chose them at vault initialization, valid only together: each at least 12 Unicode scalar values and the two different, compared in constant time. A refusal names the rule and carries none of the input. Typing a passphrase to unlock or approve never applies these rules. See vault-initialization.md. | iron-vault-store | InitPassphrases | §14 |
| Init step | One step of vault initialization’s write order, numbered 1 to 9, or the discard of an unfinished initialization before step 1; a failed initialization names the step it failed at. See vault-initialization.md. | iron-vault-store | InitStep | §13 |
| Initial config | The exact 19 bytes schema_version = 1\n that vault initialization approves as version 1: no listener, caller or route, because the vault holds no credential yet; it lets the first unlock reach Ready, where credentials can be added. See vault-initialization.md. | iron-vault-store | INITIAL_CONFIG | §12, §16 |
| Initialization state | What the state and config directories hold, read without the vault identity and checked in this order: reset.unfinished present (Unfinished reset, whatever else is there; see reset.md), else init.unfinished present (Unfinished, unless import.unfinished is there too, or a record file, a foreign file or a config file that is not the initial config is), else import.unfinished present (Unfinished, unless a foreign file or a config file but config.toml is there), else manifest.age present (Initialized, whatever else is there), else only the lock file, lost+found, temp files and a recovery check record, and no config file (Uninitialized), else Unrecognized. A foreign file is one not on the lists in the design; it matters only beside init.unfinished, import.unfinished or with no manifest. The Unfinished state records which run left it. init and import proceed only on Uninitialized and Unfinished; unlock only on Initialized. See vault-initialization.md. | iron-vault-store | InitializationState, UnfinishedKind | §13, §16 |
| Intermediate identity | A generated X25519 recipient identity whose recipient key is enrolled in the identity envelope and whose secret text is kept in a separate file that only one device or passphrase can open, so a hardware key or passphrase reaches the vault without any stanza but X25519 in the identity envelope. The operational identity is the passphrase case. | iron-vault-store | §13, §14, future spec §2.1 | |
| Inventory check | How every recipient command opens the recipient inventory, under the service-wide lock: it must match the identity envelope’s digest and stanza count; a matching staged inventory finishes a committed recipient change, and anything else is damaged shared state, never repaired. See recipients.md. | iron-vault-store | §13, §15 | |
| Kind | The operation that turns a credential into request bytes, such as a static key, an OAuth access token, or a signature. | iron-vault-kinds | §3 | |
| Library error | An error value from a dependency, such as io::Error, reqwest::Error or hyper::Error, or a workspace error that carries one in its text, such as RandomSourceError; its text may hold a URL with its query, a header value or a path, so a log records it only by its error kind label. | iron-vault | LibraryError | §18, audit-logging.md |
| Linux package | The .deb that installs a protected Linux deployment: built with cargo-deb from the iron-vault crate, never with dev-mode, it installs the binary and the systemd units, creates the service account and the service’s directories, and enables the service unit. See linux-package.md. | iron-vault | §4 | |
| Listener | A configured endpoint, a Unix socket or TCP address, on which callers reach the request interface. | iron-vault-policy | ListenerName, ListenerConfig | §6, §7 |
| Listener failure | A status report entry for an approved or provisional listener that did not open: the listener’s name and one fixed reason category (such as tls-key-mismatch or address-in-use), never a path, a file’s contents or a key. The other listeners keep serving and the service state does not change. | iron-vault | ListenerFailure, ListenerFailureReason | §15 |
| Listener rebuild | What entering Ready does to the request listener set before the serving snapshot is served: a socket is kept only when the verified configuration names its listener with exactly the same endpoint, TLS files and token header, and it is then checked again (its socket and socket file, its TLS files read again); every other socket is closed, with its connections, before anything is bound; every verified listener not kept is adopted from the passed sockets, or else bound. One that cannot be opened is logged at WARN and is left out and listed by status until a later approval opens it or removes it, and the service still enters Ready. A kept listener’s connections stay open while the operational limits are unchanged, so requests admitted before a reload or an approval finish on the old serving snapshot; a change of limits closes every connection. | iron-vault | RequestListeners::rebuild, Rebuilt | §7, §12, §15 |
| Listener provenance | Whether the request listener set was taken from the unverified config.toml (provisional, every state but Ready, answering only 503) or from the verified configuration (approved, Ready only). | iron-vault | ListenerProvenance | §15 |
| Listener socket unit | An instance iron-vault-listener@<listener>.socket of the Linux package’s template socket unit, named after one request listener: systemd binds the endpoint that the administrator’s drop-in names and passes it to the service under the listener’s name, and the service checks it against the approved listener before serving on it, so changing one needs no config approval. See linux-package.md. | iron-vault | §7 | |
| Location rewrite | The response-stage decision that maps an upstream redirect’s Location to what the caller sees: a same-origin destination inside the upstream base path rewritten under the route prefix with the query slot’s parameter removed, a cross-origin destination written as an absolute scheme://authority URL passed through unchanged, or a refusal. | iron-vault-policy | LocationRewrite, LocationRefusal, rewrite_location | §8, §11 |
| Lock drain | The bounded wait at the end of an explicit lock for the requests still holding a withdrawn serving snapshot to end. The service answers lock as cleared only when every snapshot was released within it and nothing else still holds the vault identity; otherwise it says so and logs the count, instead of claiming the secrets are gone. | iron-vault | Withdrawn, LockOutcome | §12, §14, §16 |
| Lock transition | A change of service state that the vault identity’s presence in memory drives: Locked to Checking on an unlock or Starting to Checking on a host unlock, and the outcome the config check that follows settles in, and Ready or Unavailable to Locked on lock. Each is recorded as the audit event service.lock-transition at INFO, naming the two states and nothing an unlock was given (audit-logging.md). | iron-vault | audit::LockTransition | §15, §18 |
| Locked | The service state in which the vault identity is not in memory and an authorized unlock is awaited; entered from Starting when interactive unlock is required, and from Ready or Unavailable on an explicit lock. The configuration cannot be verified, because the approval state is sealed to the vault identity, so the request listeners named in the unverified config.toml are bound with a provisional listener set. They answer only 503 with the redacted reason and never authenticate a caller, select a route or resolve a credential; unlock is possible only over the admin socket. Accepted residual risk: a swapped config.toml can open an extra port, expose the HTTP and TLS code there, take a port another service needs, or tell a remote host the vault is locked. | iron-vault | ServiceState::Locked | §15 |
| Lockout reserve | The part of the TPM’s shared dictionary-attack counter the TPM signing helper never spends, at least half the TPM’s maximum. The helper tries a PIN only while the counter is below its share, the smaller of half the maximum (rounded down) and 16, and refuses outright when that share is 0 or the lockout interval is below 600 seconds; otherwise it answers locked out with the seconds the TPM needs to forget enough failures. It reads the device’s counter rather than keeping a count of its own, so Iron Vault never brings the TPM into lockout and other PIN users keep their tries. It rests on the helper serving one request at a time: two instances at once could both read the counter below the share. See tpm-approval-signer.md. | iron-vault-tpm-signer | LockoutReserve | §12, §15 |
| Log destination | Where the service writes its log records: the one file iron-vault.log in a log directory, or stdout. The active approved config’s [logging] destination chooses it; until one is active, and when it sets none, the bootstrap destination applies: /var/log/iron-vault in a protected install, $XDG_STATE_HOME/iron-vault-dev-log in development, or stdout when serve is given --log-to-stdout, as the Docker image is. It is never taken from the unverified config.toml; it switches when a config check activates a config that moves it, never on lock. A configured directory must be absolute, outside the state and config directories, and pass the log directory’s trusted-path rule (the leaf is the service account’s with no group or other write; an ancestor may be group-writable only when root owns it, as stock /var/log is, and never writable by others; only root-controlled symlinks above the leaf), checked through the one descriptor the service opens with `O_DIRECTORY | O_NOFOLLOWand verifies withfstat; stdout is refused when stdout is the journal (JOURNAL_STREAM`). A destination that cannot be opened or written stops the service. See audit-logging.md. | iron-vault | logging::LogDestination |
| Log destination setting | The [logging] destination key of the approved config as the policy crate parses it: the literal "stdout", or an absolute directory path with no control character and no .. component, which must also lie outside the state and config directories (LogDestinationSetting::check_outside, which the config check and config approve’s pre-check call with canonicalised paths). It is carried in the validated and activated config; it chooses nothing until the service applies it at activation. Absent, the bootstrap destination applies. See audit-logging.md. | iron-vault-policy | LogDestinationSetting | §18 |
| Log file | The writer for a log directory: it writes only through the directory descriptor the trust check opened and verified, and appends each record whole to iron-vault.log, opened relative to it with openat and O_NOFOLLOW, created by the service alone, and verified with fstat after every open (a regular file the service account owns, with no group or other write); it reopens the name when logrotate has renamed it (its device and inode no longer match the open file), and on the first failed write trips the latch that stops the service, as the stdout writer does on EPIPE. See audit-logging.md. | iron-vault | logging::LogFile, logging::LogStdout, logging::LogFailure | §18, §15 |
| Log schema version | The integer every log record carries in schema_version; it increases when a field or event name is removed or renamed, a field’s type or unit changes, or a reason code or label changes meaning, and not when one is added. | iron-vault | audit::SCHEMA_VERSION | §18 |
| Log switch | The writer the log subscriber holds: the open writer of the current log destination, which activation can point at another. The config check opens and verifies the destination the approved config chooses as its last step, and only when it differs from the current one; entering Ready then writes service.log-destination-changed to the old destination, switches, and writes it again as the new one’s first record. A record already being written finishes where it began. Every writer it holds trips the same LogFailure latch. | iron-vault | logging::LogSwitch, logging::LogOpener, logging::OpenedLog | §18, §15 |
| Login account | The owner’s everyday OS account; it has no authority in a protected install, and is the service account in development. | iron-vault | §4, §5 | |
| Login state | The 32 random bytes, as base64url without padding, that a login sends as the consent URL’s state and requires back, exactly once, in the pasted address, so the code redeemed is the one this login asked for. A mismatch ends the exchange. It is not secret: the owner sees it. See oauth.md step 3. | iron-vault-kinds | LoginState | §16, future spec §1.1 |
| MAC’d file | A sealed file framed by a clear header (magic, format version, vault ID) and a trailing BLAKE2b MAC keyed from the vault identity with a per-file persona and domain tag; the MAC is checked before anything is decrypted, so only the service can write one that opens. The vault manifest, the approval state and the recipient inventory are MAC’d files. | iron-vault-store | MacFileKind | §13 |
| Manifest entry | One record in the vault manifest: a record ID mapped to its credential name and the BLAKE2b-256 digest of that record file’s ciphertext bytes, so a substituted or altered record file no longer matches. | iron-vault-store | ManifestEntry | §6, §13 |
| Marker | An inert SDK placeholder such as {iv:fx_key} that Iron Vault interprets only in the selected slot, where it must name the route’s own credential; it never selects a credential. | iron-vault-policy | markers, MarkerError | §3, §9, implementation spec §2.2 |
| Memory protection status | Whether the service’s memory is kept out of swap: Locked only after mlockall succeeded; Unavailable with the RLIMIT_MEMLOCK soft limit or the error when it was not locked; Unsupported on a platform with no locking adapter. Only Locked means swap protection is in effect. A protected install unlocks the vault, and init generates its keys, only when it is Locked. | iron-vault | MemoryProtection | §14 |
| Method | An HTTP method from the allowlist a route may grant; CONNECT and TRACE are never allowed. | iron-vault-policy | Method | §6, §8 |
| Migration authorization | The move-only proof, constructed only after a source-owner method proved a pending migration challenge, that the owner authorized one migration operation. It holds that challenge, and the operation that consumes it checks that the vault ID, operation and destination recipient are its own and that the challenge has not expired. It is never cloned, stored or reused; an unlocked vault, an admin connection, an earlier unlock or a new export passphrase never makes one. A refusal is migration-denied or migration-unavailable. See migration-authorization.md. | iron-vault | MigrationAuthorization, AuthorizedMigration, MigrationRefusal | §16, §19 |
| Migration bundle | The versioned .tar.gz file export writes and import reads: a bundle header, the exported identity envelope, the vault’s manifest, approval state and record files copied byte for byte, the committed config.toml without its signature, and the bundled approver keys. It holds no plaintext secret and no recipient of the source; nothing in it becomes a filesystem path. Import reads it with a strict streaming decoder that accepts only the one encoding the encoder writes. See migration-bundle.md and storage-formats.md. | iron-vault-store | migration_bundle::{BundleEncoder, BundleDecoder, DecodedBundle, BundleError, EntryName} | §16 |
| Migration challenge | The short-lived, single-use value the service issues just before it asks for a source-owner proof: the vault ID, the migration operation with its destination recipient, a 32-byte nonce from the operating system’s random source, and an issue time and an expiry 2 minutes later on the monotonic clock. The service holds at most one pending. Taking it out of that slot to verify it retires it, as do being taken after its expiry, a cancelled prompt, lock and the end of its exchange, so it is never verified twice. See migration-authorization.md. | iron-vault | MigrationChallenge, PendingMigration | §16, §19 |
| Migration operation | What a migration authorization permits: Export, before export writes a migration bundle, or AddRecipient, which names the destination recipient key recipient add enrolls in the identity envelope. See migration-authorization.md. | iron-vault | MigrationOperation | §16 |
| Migration proof payload | The bytes a TPM approver signs to prove a migration challenge: magic IVMA, a format version and the challenge’s 32-byte binding digest, 37 bytes in all. Wrapping the digest keeps a signature over a challenge from being read as one over any other structure. See tpm-approval-signer.md. | iron-vault-store | MigrationProofPayload | §16 |
| Needs login | A credential standing of an OAuth account record: it holds no refresh token the service may use, so only a new login clears it. Its routes answer 503 with reason credential_needs_login while other routes keep serving. It is durable when the record’s refresh marker is set, and otherwise held in the record’s token slot only, so a restart tries the refresh token once more. Its cause is refused (the provider refused the refresh token) or uncertain (a rotating refresh may have reached the provider). See oauth.md. | iron-vault | Standing::NeedsLogin, NeedsLoginCause | §15, future spec §1.3 |
| New vault keys | Every key vault initialization generates, before anything is written: the vault identity, the operational identity, the recovery key, the software signer key with its pinned approver, and the vault ID. The recovery key’s text leaves them once, for the reveal; after it only the recovery key’s recipient identity stays, for the identity envelope’s unwrap check, and every key is dropped when initialization returns. | iron-vault-store | NewVaultKeys, then SealingKeys without the recovery key’s text | §14, §16 |
| Normalized path | A caller’s validated request path, unreserved escapes decoded and others in uppercase hex; authorized and forwarded as is. | iron-vault-policy | NormalizedPath | §6, §9 |
| Notice | An admin protocol frame (kind 6) in which the service sends text for the owner to read, such as an approval summary; it is never answered. The CLI writes consecutive notices’ texts one after another, so text of any length reaches the owner, split across notices and never truncated. See admin-protocol.md. | iron-vault | Notice, Exchange::notice | §5 |
| OAuth account record | A credential record of kind oauth_refresh for one signed-in provider account: the refresh token, the record ID of its OAuth client record, the granted scopes, the permitted origins its access token may go to, the verified account and the refresh marker. It never holds an access token, and fills header slots only. login creates and replaces one; a refresh writes it again only to store a new refresh token or the refresh marker, always to a new digest-named file under the same record ID. It is the only kind an update in place may write. See oauth.md. | iron-vault-kinds | OAuthAccount | §6, future spec §1 |
| OAuth client record | A credential record of kind oauth_client for one provider app: its client ID, client secret and provider definition, sealed at enrollment. Its permitted origins are the origins of the definition’s endpoints, set by the service. No route may name it, since it fills no slot; OAuth account records name it by record ID. rm and replace of one that an account record references are refused, and no update in place ever writes one. See oauth.md. | iron-vault-kinds | OAuthClient | §6, future spec §1 |
| Offline config check | What iron-vault config check FILE does: parse the file and validate its sections against each other, with no service, vault or root, and say Config ok or why not. It is advisory. It does not run activation (that each credential exists, permits its route’s host and fits its slot, that a peer caller’s account exists), nor the upstream TLS and log destination checks, so a config that passes can still be refused by config approve. Not the config check, which the service runs in the Checking state against the committed approval. | iron-vault | check_file | §5, §16 |
| Open report | What opening the vault found besides its healthy records: each damaged record by credential name and damage, and each unindexed record file; it holds no secret content. | iron-vault-store | OpenReport | §13, §15 |
| Operational identity | A generated X25519 recipient identity whose recipient key is enrolled in the identity envelope and whose secret text is kept only in the passphrase envelope, so a passphrase can unlock the vault without an scrypt stanza ever sitting beside other recipients. A recovery unlock replaces it with a new one. | iron-vault-store | OperationalIdentity | §14, implementation spec §2.2 Q-4 |
| Operational limits | Service-wide bounds on request head and body size, decompressed response size, timeouts, and concurrent connections. | iron-vault-policy | Limits | implementation spec §3 |
| Orphan key file | An approver-<approver ID>.age file (a software approver’s key) or approver-<approver ID>.tpm file (a TPM approver’s key blob) whose approver ID no pinned approver has, left by an enrollment that failed before its commit point or by a removal that could not delete it. It signs nothing, because the service opens a key file only for the pinned approver it names; approver add and approver remove delete it after the approval state is read back, and only against the state that read-back returned. See approval-signers.md. | iron-vault-store | remove_orphan_key_files | §12, §13 |
| Origin | One host and port pair a credential’s secret may reach, written by the owner as host, host:port, [v6] or [v6]:port with no scheme (HTTPS is implied) and no path; the port defaults to 443. A permitted origins set is made of these. | iron-vault-policy | parse_origin, OriginError | §6 |
| Out-of-base redirect | A same-origin Location that resolves outside the upstream base path; it is refused rather than rewritten, so it cannot land in another local route. | iron-vault-policy | LocationRefusal::OutOfBase | §11 |
| Outgoing headers | The ordered header list an upstream request carries; built from sanitized caller headers and never holding a reserved header. | iron-vault-policy | OutgoingHeaders | §9 |
| Outgoing request | The request about to leave the service: the authorized method, the upstream target and the outgoing headers, with the route’s slot filled exactly once; the input to the final outgoing-request check. | iron-vault-policy | OutgoingRequest | §8, §9 |
| Overflow uid | The uid the kernel reports for a peer whose real uid has no mapping in the receiver’s user namespace: 65534 (nobody) by default, set by /proc/sys/kernel/overflowuid. Many unrelated processes share it, so it is never a peer account. | iron-vault-policy | AccountDirectory::overflow_uid, ActivationError::OverflowAccount | §7 |
| Owner | The person at the end of the authority chain, authorized to enroll credentials, approve policy, recover the vault, and authorize destructive changes; never an OS account, and acts on the service only through an admin principal. | iron-vault | §3, §5 | |
| Owner console | Where the CLI collects owner input: the controlling terminal when stdin is a terminal, with echo off for a secret prompt, and otherwise stdin, one line per prompt. It holds what the owner types only until the value is sent. | iron-vault | OwnerConsole | §5, §16 |
| Owner input | The bytes the owner typed in answer to a prompt, carried as the whole body of one frame; a secret-bearing type, never decoded through a general field decoder or serde. | iron-vault | OwnerInput | §5, §14 |
| Owner presence | A one-time check, made by the service during a single admin exchange, that the owner is taking part in that exchange. The owner proves it the same way as approving a config: in v0, by typing the approval passphrase, which must open the approver key envelope to a pinned approver’s key; later, any pinned approver’s signer. It authorizes only the one change the service described in its own summary just before asking, and is never kept or reused. It doesn’t say which account connected, which the admin principal shows, nor prove what the owner saw, since a compromised desktop can fake the screen. It is required before replace, rm, recipient remove, approver add, approver remove, and a login that moves a record to another account or client, or widens its scopes or origins. It reserves no approval version, signs nothing and writes nothing; a failure is approval-denied. See credential-commands.md. | iron-vault | OwnerPresence, require_owner_presence | §3, §6, §16 |
| Owner-lock file | The empty file locked-by-owner in the state directory, written durably by lock and removed by a passphrase unlock or a recovery unlock; while anything is at that name, a starting service skips host unlock and stays Locked, so an explicit lock survives a crash, a restart or a reboot. It is store-owned but not a vault file: reset, init and import remove it, and a migration bundle never carries it. See tpm-unlock.md. | iron-vault-store | §15, §16 | |
| Parsed config | A configuration document whose listeners, callers, routes and limits each passed their own validation, before cross-references are checked. | iron-vault-policy | ParsedConfig | §6 |
| Partial restore | A manifest and approval state that no sequence of writes leaves on disk together: the file written last does not record the other’s current state generation as its peer, or approval.age is missing although the manifest records one. It means a MAC’d file was restored from an older copy or deleted, so the vault refuses to open, the approval state to load and either file to be written, until the owner recovers or resets the vault; it is never repaired automatically. | iron-vault-store | PartialRestore | §12, §13 |
| Passed sockets | The sockets systemd passed by name under socket activation, held from startup until a listener of the same name adopts one. A socket is checked against its listener’s endpoint only when it is adopted, so one the unverified config does not name, or names wrongly, stays held for a later listener rebuild to adopt against the verified configuration. A socket whose check fails stays held. | iron-vault | PassedSockets | §7 |
| Passphrase | The owner’s non-empty vault-unlock secret for the passphrase envelope, distinct from the approval passphrase; held in memory cleared on drop and never displayed. At vault initialization it and the approval passphrase are each entered twice and must match, are UTF-8 of at least 12 Unicode scalar values, and must differ from each other, compared in constant time; a refusal names the rule and carries none of the input. Opening a vault checks only that it is non-empty. | iron-vault-store | Passphrase | §14, §15 |
| Passphrase attempt limit | A bound on how many wrong vault passphrases the service accepts before it refuses further attempts for a time. In v0: 5 consecutive failures, then a cooldown of 30 s that doubles with each further failure up to 15 min; one count covers unlock and migration authorization, so a failure at either adds to it and a success at either clears it; it survives lock and resets on success or restart. See migration-authorization.md. | iron-vault | AttemptLimiter, AttemptsCoolingDown | §16 |
| Passphrase envelope | The state-directory file operational.age: the operational identity’s secret text as a plain age file with exactly one scrypt stanza and no other; unlock goes passphrase, then operational identity, then vault identity. | iron-vault-store | seal_passphrase_envelope, open_passphrase_envelope | §14, §19 |
| Paste-back login | The way login gets the authorization code: the service shows a consent URL whose redirect is a loopback address nothing listens on, and the owner pastes back the address the browser was sent to. The service checks its state value and redeems the code with a PKCE verifier that never leaves the service, so the pasted address alone is useless. It works where no browser can reach the service, such as a Compose deployment. See oauth.md. | iron-vault | LoginExchange | §16, future spec §1.1 |
| Pasted address | The address the owner’s browser was sent to after consent, pasted back in a paste-back login. It must be the definition’s redirect followed by a query with one error, which ends the login, or exactly one state, equal to the login state, and exactly one code, the authorization code. No error names the code. See oauth.md step 3. | iron-vault-kinds | AuthorizationCode::from_paste, PasteError | §16, future spec §1.1 |
| Path component | One entry on the way from / to a trusted path, as the platform adapter reports it: its path, owning uid and gid, the owning user’s name when the adapter resolves one (owner_name), permission bits, and kind (directory, regular file, symlink with its resolved target, or other). | iron-vault | PathComponent | §4 |
| Path caution | A directory above the binary, in the protected profile, that passes its trusted-path rule but is owned by an account other than root, so anything running as that account can replace the binary before the next start; the service warns and starts anyway. | iron-vault | PathCaution, CautionedFile | §4 |
| Path pattern | A route restriction on the normalized request path below the upstream base path (the segments after the route prefix), built from literal, * and ** segments and matching the whole path. | iron-vault-policy | PathPattern | §6 |
| Peer account | The OS account a peer caller must connect as: named by the caller’s user, resolved to a uid when policy activates through the service’s account directory, never root, the service account or the overflow uid, and compared with the uid in the connecting process’s peer identity. It proves which account connected, never which program. | iron-vault-policy | AccountName, CallerAuth::Peer, AccountDirectory, ActivePolicy::peer_uids | §7 |
| Peer generation | The state generation the other MAC’d file had when a MAC’d file was written, recorded in it so that restoring one MAC’d file from an older copy can be told apart from the current pair; a vault’s first manifest records none, because no approval state exists yet. | iron-vault-store | VaultManifest::peer_generation, ApprovalState::peer_generation | §12, §13 |
| Peer identity | The uid, gid and pid the kernel reports for the process at the other end of a Unix socket; only the uid decides who the peer is, whether an admin principal or a peer account, and the pid is kept for the audit log, never used to identify an executable. | iron-vault | PeerIdentity | §5, §7 |
| Pending config | The config bytes config approve proposes, durably written as config.toml.pending beside config.toml before they are validated: the one immutable byte snapshot that is validated, summarized, digested and signed, and that publish renames to config.toml. | iron-vault-store | write_pending | §12 |
| Permitted origins | A credential record’s non-empty set of exact host and port pairs its secret may reach; the scheme is always HTTPS, so it is implicit and never stored, and a configuration edit cannot change the set. | iron-vault-store | PermittedOrigins | §6 |
| Pinned approver | One enrolled approval signer as the approval state records it: its approver ID, signature algorithm, signer kind, public key, label and enrolment time; its kind always allows its algorithm. A config approval must verify against the pinned approver its envelope names, never a key taken from the config or signature file. Enrolling or removing one keeps both counters; removing the approver that signed the active signature stops it verifying until a new approval, and the last approver is never removed. | iron-vault-store | PinnedApprover, with ApproverPublicKey, ApproverLabel and SignerKind | §12 |
| Pinned CA | A route’s ca_file: one or more CA certificates in an administrator-installed PEM file, read through its trusted-path rule, holding no other PEM item, each certificate accepted as a trust anchor. It replaces the built-in roots for that route’s upstream trust. One that fails to load is not a check failure: the routes that pin it are unavailable, and the others keep serving. | iron-vault | PinnedCa | §10 |
| Pipeline refusal | The typed reason the request pipeline stopped a request, one per step that can fail, each answered with one §15 status; it keeps only what is safe to log: route, caller and credential names, never a header value, query text or slot value. | iron-vault | PipelineRefusal | §8, §15 |
| PKCE verifier | The 32 random bytes, as base64url without padding, from which a login’s S256 code challenge is made (RFC 7636). It never leaves the service except in the token request that redeems the code, so a pasted address alone can’t be redeemed. A secret. See oauth.md step 2. | iron-vault-kinds | PkceVerifier | §16, future spec §1.1 |
| Pre-boot secret | A secret typed while the machine boots, before its root filesystem opens: a full-disk-encryption passphrase, or the PIN of a TPM key slot that needs one. It is the second secret §14 asks for before a portable machine uses TPM unlock, because the host unlock blob lives on the disk it opens; a key slot the TPM opens with no PIN is not one, and nor is the approval passphrase. Without one, setup warns and continues only if the administrator accepts the risk. See tpm-unlock.md. | iron-vault | §14 | |
| Presence payload | The bytes a TPM approver signs to prove owner presence: magic IVPP, a format version, the vault ID, the asked approver’s ID and a 32-byte nonce the service chose for this prompt, 69 bytes in all. The service verifies the signature against the pinned key and drops the nonce, so an earlier signature proves nothing. Signed for owner presence, at step 2 of a config approval, and at enrollment’s read-back. See tpm-approval-signer.md. | iron-vault-store | PresencePayload | §12 |
| Process hardening | The startup step, run before any secret exists, that disables core dumps (RLIMIT_CORE 0 and, on Linux, PR_SET_DUMPABLE 0), locks memory when it safely can, and returns a hardening report of what took effect; it measures and reports, and refusing to start on an incomplete report is a profile decision. The CLI disables core dumps too, because it holds owner input, but does not lock memory. | iron-vault | harden_process, disable_core_dumps, HardeningReport | §4, §14 |
| Prompt | The service asking the CLI to collect one value from the owner: a label, whether the value is secret, so the CLI turns echo off, and whether it is switchable, so the CLI may answer with a switch frame instead. | iron-vault | Prompt | §5 |
| Prompt deadline | How long the service waits for owner input after sending a prompt: 5 minutes, longer than the request deadline because a person is typing. When it passes, the exchange’s command is cancelled. | iron-vault | Limits::prompt_deadline | §5 |
| Provider definition | A description of one OAuth provider as data, in a TOML file: its authorization, token, revocation and account endpoints, what it adds to the consent URL, and its choice of a few compiled-in mechanisms for proving the account (id_token or userinfo), refresh-token rotation (never or always), client authentication and revocation (rfc7009 or none), plus the resource hosts an account’s origins may name and its timing. Enrolling a client seals it into the OAuth client record, so no later config or file edit can send an existing secret to another endpoint. Iron Vault ships definitions for Google and GitHub App; adding a provider needs no code. See oauth.md. | iron-vault-policy | ProviderDefinition | §6, future spec §1.1 |
| Provider request | A request the service itself sends to a provider endpoint: a token request, an account request or a revocation. Its URL must equal one of the endpoints of the provider definition sealed in the OAuth client record, and be among that record’s permitted origins; its headers and form fields come from fixed sets, and only the account request carries a bearer header, holding the new access token. It is the one place a secret may go into a body. Its response, at most 16 KiB, is never relayed to a caller or the CLI. Caller requests never become provider requests. See oauth.md. | iron-vault-policy | CheckedProviderRequest, check_provider_request, ProviderRequestPlan, ClientCredentials, UpstreamClient::send_provider, ProviderResponse, ProviderFailure | §9, future spec §1 |
| Proxy handler | The request handler that serves one request end to end: it loads the serving snapshot once, runs the request pipeline, sends the checked request with the caller’s body through the route’s upstream client before the request deadline, and relays the response without hop-by-hop headers or caller authentication material. A route with no upstream client answers 503, a transport failure 502, and no response headers by the deadline 504, each with a fixed body. | iron-vault | ProxyHandler | §8, §15, §18 |
| Publish | Step 6’s file change, and the only way config.toml and config.toml.sig are written: rename the pending config to config.toml, then the staged approval to config.toml.sig, then fsync the config directory once. The two renames are separate, never one atomic swap, so a half-published state is resolved from the committed approval, not from which file landed. Runs only for the committed approval, in the transaction or in the config check. | iron-vault-store | publish | §12, §13 |
| Rate limit | A route’s token-bucket allowance: requests per per_seconds, with at most burst available at once. | iron-vault-policy | RateLimit | §6, §8 |
| Rate limiter | The token buckets for one active policy: one per route shared by all its callers, plus one per caller/route pair with a stricter limit; a request takes a token from both or neither, and a reload starts every bucket empty. | iron-vault-policy | RateLimiter | §8, §15, §19 |
| Read-back | Loading approval.age from disk, with the manifest pair check, before an approver change deletes or asks anything: when the in-memory approval state is unsettled the state read replaces it, and otherwise the two must be equal, so an enrollment the in-memory state missed is never taken for an orphan. It refuses a partial restore (an older approval.age beside a newer manifest) whether or not the in-memory state is unsettled, and only the state it returns reaches the orphan sweep. See approval-signers.md. | iron-vault-store | read_back_approval_state, ReadBack | §12, §13 |
| Ready | The service state in which storage and the current approval have been verified: the only state that serves requests and the only one whose listener set is approved, rebuilt from the verified configuration on entry. | iron-vault | ServiceState::Ready | §15 |
| Reason code | The fixed snake_case label a request event gives for a failed request, such as not_granted, upstream_tls or service_defect; every refusal of the request server and of the request handler (form-gate rule, body limit, request timeout, pipeline refusal, unavailable reason, transport error, relay failure) maps to exactly one, and none carries the caller’s input. See audit-logging.md. | iron-vault | audit::ReasonCode | §18, §15 |
| Recipient | Anything that can unwrap the vault identity. It is always an X25519 recipient key in the identity envelope; a hardware key or a passphrase reaches the vault through an intermediate identity. | iron-vault-store | §3, §13 | |
| Recipient change | Rewrapping the vault identity for a new recipient set and writing the recipient inventory that describes it, with the identity envelope’s durable replace as the single commit point; recipient add and recipient remove run one. Nothing else in the vault changes. See recipients.md. | iron-vault-store | §13, §16 | |
| Recipient identity | The X25519 private key matching a recipient key, used only to unwrap the identity envelope; passphrase unlock and the recovery key each yield one. | iron-vault-store | RecipientIdentity | §13, §14 |
| Recipient inventory | The MAC’d state-directory file recipients.age: every recipient key the identity envelope is wrapped for, each with its recipient role, recipient label and enrolment time, and the envelope digest of the envelope it describes. Only the service writes it; init writes the first. See recipients.md. | iron-vault-store | §13, §14 | |
| Recipient key | An X25519 public key, written as an age1… string, listed as a recipient of the identity envelope. | iron-vault-store | RecipientKey | §13, §14 |
| Recipient label | Owner text, 1 to 64 bytes with no control or format character and no surrounding whitespace, that says which device or copy a recipient key is. Never interpreted and need not be unique: commands name a recipient by its key. See recipients.md. | iron-vault-store | §16 | |
| Recipient role | What reaches the vault through a recipient: operational, recovery, added or host-unlock, with tpm and hardware reserved for later epics. A role’s class (unlock, recovery or none) decides how it counts toward the independence rule. See recipients.md. | iron-vault-store | §14 | |
| Recipient set | The recipient keys an identity envelope is wrapped for: at least two, so a vault always has a second way in, and at most a fixed bound, so the envelope always reads back. | iron-vault-store | RecipientSet | §14 |
| Record ID | A credential record’s random version 4 GUID, written in lowercase hyphenated form; it is new on every add and every replace, so a name never stands in for the record behind it, and kept when a refresh writes an OAuth account record again. | iron-vault-kinds | RecordId | §3, §6 |
| Record upgrade | Rewriting a credential record read as record payload version 1, a static or basic record written by 0.6.0-alpha, as version 2, keeping its record ID, name, material and permitted origins, so its routes stay attached. The service upgrades each such record, with no owner present, whenever it opens the vault for a config check; a record whose upgrade fails keeps serving as version 1 and is tried again at the next open. It is not a migration, which moves a vault to another machine. See storage-formats.md. | iron-vault-store | Vault::upgrade_record, OpenReport::records_to_upgrade | §13 |
| Recovery check | The admin command iron-vault recovery check, allowed in Locked and Ready: it proves that a recovery key the owner types opens the current identity envelope and that what it unwraps is this vault’s identity, because the manifest’s MAC verifies with it. It changes nothing but the recovery check record: no recipient, approval state, service state or other vault file. The unwrapped identity is dropped before the answer. See recovery.md. | iron-vault, iron-vault-store | AdminOperation::RecoveryCheck, check_recovery_key, RecoveryCheckError | §16, §18, §19 |
| Recovery check record | The plaintext state-directory file recovery.toml: since, when the reminder schedule started counting, and last_checked, the time of the last successful recovery check, absent when there has been none, both UTC to the second. It has no MAC, so reminders work while the vault is locked; forging it can only move a reminder. Written only by a successful check, by a successful recovery unlock and by the first reminder evaluation that finds an Initialized vault without one. Unusable when it cannot be read or parsed. See recovery.md. | iron-vault-store | RecoveryCheckRecord | §16, §13 |
| Recovery key | A generated offline age X25519 identity that opens the vault identity independently of the primary recipient; the owner keeps its secret text, and the service keeps only its recipient key. | iron-vault-store | RecoveryKey, RecoveryKeySecret | §3, §14, §16 |
| Recovery key attempt limit | A bound on how many wrong recovery keys a recovery unlock accepts before it refuses further attempts for a time, with the passphrase attempt limit’s constants and rules: 5 consecutive failures, then a cooldown of 30 s that doubles up to 15 min; it survives lock and resets on success or restart. It is a count of its own: a wrong recovery key does not add to the passphrase attempt limit, and that limit’s cooldown does not refuse a recovery unlock, so the wrong passphrases that usually come first do not block the recovery path. Only a key that does not open this vault counts. recovery check keeps no limit. See recovery-unlock.md. | iron-vault | AttemptLimiter | §16 |
| Recovery reminder | The audit event recovery.reminder, written when [recovery] reminder_days (7 to 365, default 90) have passed since the recovery check record’s last_checked, or its since when never checked, or while the record is unusable; evaluated at startup, after each unlock and every 24 hours in every state, and written at most once every 7 days. It tells the owner to run a recovery check and to keep copies of the approved config and of iron-vault list with the recovery key. v0 reminds through the log only. See recovery.md. | iron-vault, iron-vault-policy | reminder_due, ReminderInterval | §16 |
| Recovery unlock | The admin command iron-vault unlock --recovery, allowed in Locked only: it opens the vault with a recovery key the owner types, when the vault passphrase is forgotten, and sets a new vault passphrase in the same step. It enrolls a new operational identity in the identity envelope, seals it into a new passphrase envelope under the new passphrase, and only then retires every other operational recipient, so a crash at any point leaves the recovery key and the old or the new passphrase opening the vault. It needs no approval passphrase and changes no route policy, approver or other recipient. A success records a recovery check and removes the owner-lock file. See recovery-unlock.md. | iron-vault, iron-vault-store | AdminCommand::RecoveryUnlock (labelled recovery_unlock), ServiceContext::recovery_unlock, replace_operational_identity | §14, §16 |
| Refresh marker | A field of an OAuth account record, written durably before a rotating refresh request is sent and cleared when the new refresh token is written. A record found with its marker set is needs-login, because the provider may already have retired the token it holds, unless its token slot holds a newer refresh token that a failed completion write left there. A provider definition with rotation = "never" never sets it. See oauth.md. | iron-vault-kinds | RefreshMarker | future spec §1.3 |
| Refusal response | The fixed answer a pipeline refusal maps to: one §15 status, a constant text/plain body that never repeats caller input, a route the caller is not granted or a library error, and Retry-After on 429; a service defect (final-check or construction failure, or a limiter that does not know an authorized route or caller) answers 500 “internal error” and raises a high-severity event. | iron-vault | RefusalResponse, PipelineRefusal::respond | §9, §15, §18 |
| Relative cross-origin redirect | A Location that resolves to another origin but is not written as an absolute scheme://authority URL, such as //host/x or http:/x; it is refused, because the caller would resolve it against the proxy listener’s URL, where it could land in another local route or fall back to cleartext. | iron-vault-policy | LocationRefusal::RelativeCrossOrigin | §11 |
| Relay failure | Why a relayed body failed after its head was sent: corrupt or truncated coding, the decompression budget’s size or ratio limit, a re-encoding error, or an upstream body error. It names only the kind, and is recorded once, as the request event’s reason code. | iron-vault | RelayFailure | §11, §15 |
| Relayed body | An upstream response body on its way to the caller, each chunk decoded, counted against the decompression budget, scrubbed and, when the caller’s Accept-Encoding rules identity out, re-encoded as it arrives; the one place response-body stages attach. A relay failure drops the held bytes unreleased and aborts the caller’s connection, so a truncated body never looks complete and a held secret prefix never goes out. | iron-vault | RelayedBody | §8, §11, §15 |
| Reload | The SIGHUP operation, and nothing else: in Ready it moves the service to Checking (requests get 503 checking) and runs the config check, which passes to Ready with a new serving snapshot or fails to Unavailable, withdrawing the old one so no old route policy is kept. It is ignored in every other state, so it is never a way out of Unavailable, and it never writes the approval state. The service never reloads by watching files. | iron-vault | ServiceEvent::Reload | §12, §15, implementation spec §2.2 Q-5 |
| Reminder interval | The days between recovery reminders: the [recovery] reminder_days key of the approved config, a whole number from 7 to 365 that is in force as 90 when the table or key is absent. An absent table is kept apart from an explicit 90, and the approval summary shows it as default. It is valid on construction, and the approval summary shows a change to it. See recovery.md. | iron-vault-policy | ReminderInterval | §16, §12 |
| Request body | A caller’s request body as the request server received it, counted against max_request_body_bytes as it streams; reading past the limit fails with TooLarge, and the server then answers 413 itself. | iron-vault | RequestBody, RequestBodyError | §8, §15 |
| Request event | The one record, request.completed, the service writes under the target iron-vault.request for each request the request server received, served or refused, including the refusals the request server makes itself, when its response body ends: request ID, caller, route, credential, upstream host, method, status, sizes, duration, whether scrubbing occurred, the outcome and, for a failure, a reason code. See audit-logging.md. | iron-vault | audit::RequestEvent, audit::REQUEST_TARGET | §18, §9 |
| Request form gate | The check, run first in the request server and before any authentication, that answers 400 with a fixed text naming the rule (never the target) for a CONNECT request, a target that is not origin-form (absolute-form, authority-form or *), an Upgrade header or Connection: upgrade, and an HTTP version other than 1.0 or 1.1; it never reaches the request handler. | iron-vault | FormViolation, check_form | §8, §9, §15 |
| Request ID | A random version 4 UUID the request server gives each request, in its request event and in every audit event about the same request; never sent to the caller or the upstream. | iron-vault | audit::RequestId | §18 |
| Request pipeline | The fixed sequence of §8 steps 3-8 that turns an incoming request into a checked request or a pipeline refusal, split around the one step that may wait (oauth.md): admit, synchronous (caller identification, authorization, sanitizing the caller’s headers, the rate-limit charge and the record lookup); acquire, asynchronous and only for an OAuth account record (an access token from its token slot); and build, synchronous (credential resolution, assembly and the final outgoing-request check). No step runs before the one ahead of it has passed, so no credential is resolved for a caller that is not authenticated, authorized and charged, and a request that admission refuses never acquires a token, so it never causes a refresh. | iron-vault | pipeline::admit, pipeline::acquire, pipeline::build, Admitted, Prepared, RequestHead, ConnectionTags | §8, §9, implementation spec §2.2 Q-1 |
| Request record | The one value that writes a request’s request event: created by the request server when it receives the request, filled in by the request handler through a shared handle (which can set facts but never write), carried by the outermost response body, and written exactly once when that body ends or is dropped, so a handler the request server drops still yields one event. A drop of a body hyper never polls, because it is empty or the response cannot carry one, is a clean end; any other drop is service_closed when the service closed the connection, else caller_gone. The request server’s own 413 or 408 overrides the handler’s reason; otherwise the first reason recorded wins. See audit-logging.md. | iron-vault | audit::RequestRecord, audit::RequestFacts | §18 |
| Request server | Serves HTTP/1.1 (never HTTP/2) on every incoming connection under the operational limits, before anyone is authenticated, and hands each request within them to the request handler with its connection tags: the listener name and, on a Unix socket, the peer’s uid, taken only from the incoming connection. A connection over max_connections is closed unread; an over-limit head gets 431, an over-limit body 413, a request the handler has not answered at the request timeout 408 (the handler is given that deadline, so it can answer first); a client that has not sent its headers within the header read timeout (10 s, or the request timeout if shorter) is dropped. It writes the request event for every request it receives, including the ones it refuses itself. | iron-vault | RequestServer, RequestHandler, ConnectionTags | §8, §15, implementation spec §3 |
| Request socket | A Unix socket on which callers reach the request interface: mode 0666 inside a directory only the service account can write, so any local account may connect but none can replace it; a connection’s identity comes from its peer account or a caller token, never from being able to connect. | iron-vault | RequestSocket | §7 |
| Request-content restriction | A v1 route restriction: an allow-list of values for a named query parameter or JSON body field, checked before the credential is resolved; v0 routes narrow by method and path only. | iron-vault-policy | future spec §1.4 | |
| Requested origin | An origin as an add request carries it: the host as text, which the service parses again with parse_origin’s host rule, and a non-zero port. | iron-vault | RequestedOrigin | §6, §16 |
| Reserved header | A caller-authentication or transport-control header that is stripped before forwarding and can never be a slot. | iron-vault-policy | reserved_headers | §9 |
| Reserved version | An approval version the service has durably handed out for one signing attempt. The highest reserved version is 0 only in a new vault, rises by one per reservation, never resets or wraps, and a version is consumed whether or not its signing succeeds. | iron-vault-store | ApprovalState::reserve | §12 |
| Reset | The reset command: an admin principal, after a reset confirmation typed at a terminal, discards the vault so the owner can run init and rebuild from their own copy of the config and reissued credentials. It runs in Locked, Ready or Unavailable, withdraws the vault as lock does, writes reset.unfinished (its commit point), removes every store-owned file, the config files included, then removes reset.unfinished, leaving the service Locked over an Uninitialized directory, or Unrecognized when a foreign file stays. It asks for no owner factor. See reset.md. | iron-vault, iron-vault-store | ResetPlan, ResetOutcome, AdminOperation::Reset | §16, §5 |
| Reset confirmation | What the owner types, at a terminal and never through a pipe, to let a reset go ahead: the vault ID shown in the reset summary when the initialization state is Initialized, read from the manifest’s clear header (unverified while locked) and compared ASCII case-insensitively; otherwise the state directory’s absolute path, compared exactly. Step 4 of the exchange, under the service-wide lock, also requires the initialization state and vault ID to be unchanged, so a vault finished or replaced in between is not discarded. See reset.md. | iron-vault | ResetPlan::confirmation, ResetPlan::confirmed_by, ResetRefusal | §16 |
| Resolved credential | The slot value and scrub patterns one credential record’s kind produced for one request, kept with a borrow of that same record’s permitted origins; the only intended source of a bound credential and of the scrub patterns for the request. | iron-vault-store | ResolvedCredential | §6, §11, future spec §2.2 |
| Response decoder | The per-response streaming decoder that turns a content-coded body back into the bytes the scrubber screens, yielding output in pieces of bounded size so the caller can check a budget between pieces. | iron-vault | ResponseDecoder | §11, Q-6 |
| Response encoder | The per-response streaming encoder that recompresses a scrubbed body for a caller that forbids identity; each pushed chunk is sync-flushed, so every byte pushed so far can be decoded from the bytes returned so far and a streamed response keeps streaming. It sees only scrubbed bytes and holds no secret. | iron-vault | ResponseEncoder | §11, implementation spec §3 |
| Response outcome | What the response stage knows about one relayed response once it has ended cleanly: whether scrubbing occurred, meaning any scrub pattern matched in its headers or body, and how many bytes the scrubber screened (the body after decoding). The request event’s scrubbed field comes from the same match count, kept up to date as matches are found, so a body that fails or is dropped mid-stream still reports it (audit-logging.md). | iron-vault | ResponseOutcome | §18 |
| Retired machine | A machine that no longer unlocks or holds the vault, and whose recipient key is the argument of forget-machine; the vault does not keep a removed recipient’s role, so the command prints the guidance for what such a machine can hold (a sealed host unlock blob, or an added or recovery key). | iron-vault | §16 | |
| Reveal | An admin protocol frame (kind 7) in which the service shows the owner a secret value it generated, once, such as the recovery key at init; never answered. Its body is the value itself, decoded into a clearing buffer and shown only on the controlling terminal, never on stdout. See admin-protocol.md. | iron-vault | RevealedSecret | §5, §16 |
| Route | A caller grant and upstream mapping that selects one credential, its slot, and usage restrictions. | iron-vault-policy | RouteName, RouteConfig | §3, §6 |
| Route fault | A status report entry for a route that is unavailable for a cause of its own, which no credential standing explains: in v0 only pinned CA unavailable, its pinned CA failed to load. It names the route and the fault, never the CA’s path, its PEM bytes or the load error. A route can have a fault and also be listed under its damaged credential. | iron-vault | RouteFault, RouteFaultKind | §10, §15 |
| Route prefix | The literal leading request-path segments, such as /fx, that select a route; never / alone and never a wildcard. | iron-vault-policy | RoutePrefix | §6, §9 |
| Scrub event | The one WARN event a relayed response raises when it ends, cleanly or not, if any scrub pattern matched in its headers or body: it names the request ID, the route, the credential and the match count, never the matched bytes or their position. It is the audit event response.scrubbed (audit-logging.md), written by the request record beside the request event. | iron-vault | audit::route::ResponseScrubbed | §11, §18 |
| Scrub patterns | Every byte form of the secret a kind injected that response scrubbing watches for: the exact value, its URL-encoded forms in both hex cases, and its base64 encodings; for a Basic credential, the Basic token, the complete Basic <token> value, username:password with its URL-encoded forms, and the password with its URL-encoded forms, or, when the password is empty, the username with its URL-encoded forms, because the username is then the secret; never case-folded. | iron-vault-kinds | ScrubPatterns | §11 |
| Scrub replacement | The fixed ASCII text [iron-vault:scrubbed] the scrubber writes in place of every match, the same for every pattern; never a length-preserving mask, which would reveal the secret’s length and position. | iron-vault | SCRUB_REPLACEMENT | §11 |
| Scrubber | The per-response streaming matcher that replaces every occurrence of a request’s scrub patterns in a byte stream, holding back only bytes that could still begin a match. | iron-vault | Scrubber | §11 |
| Sealed file | Binary age ciphertext encrypted to the vault public key whose header holds only X25519 stanzas, besides the inert grease stanza age writes into every file; the on-disk form of credential records and control metadata. A file with a passphrase (scrypt) or plugin stanza is refused before any key work. | iron-vault-store | seal, open | §13 |
| Secret-bearing type | A type whose value holds provider credential bytes, a caller token, a private key or a passphrase, directly or through a field; it redacts Debug, clears its bytes on drop and has no Clone, Copy, Display or serde impl. | all | listed in design/secret-handling.md | §14 |
| Serving snapshot | The active policy, the vault’s healthy credential records, the upstream clients and the rate limiter that one request is served with, taken once when the request arrives and never changed while it runs; a reload or an approval replaces the whole snapshot. The snapshot holder holds either serve with the current snapshot or refuse with an unavailable reason, and a request’s one load from it is its admission. | iron-vault | ServingSnapshot, SnapshotHolder, Admission | §8, §12 |
| Short secret | A stored secret field shorter than 8 bytes: a static key, a Basic password, or a Basic username when the password is empty. It is allowed but logged as a warning, because it usually means the wrong field was pasted and scrubbing blanks every occurrence of it in responses. | iron-vault-kinds | ShortSecret, SecretField, SHORT_SECRET_LEN | §11, §18, future spec §2.2 |
| Signature algorithm | The algorithm a config approval is signed with, named in the approval envelope by a one-byte ID: Ed25519 (01) for the software signer and ECDSA P-256 with SHA-256 (02) for the TPM signer, whose 64-byte r ‖ s signature must have a low s. | iron-vault-store | SignatureAlgorithm | §12, implementation spec §2.2 |
| Signer kind | Which kind of approval signer a pinned approver is, recorded with it so the service knows how to ask for it: software (code 1), the software signer; tpm (2), the TPM signer; hardware (3) is reserved for the hardware-key signer. Each kind allows its own signature algorithms: software allows Ed25519 only, tpm ECDSA P-256 only. See approval-signers.md. | iron-vault-store | SignerKind | §14 |
| Slot | The route’s permitted credential location: a named header, a named query parameter (RFC 3986 unreserved characters only, so the URL keeps it unchanged), or Basic authorization. | iron-vault-policy | Slot | §3, §6 |
| Slot format | The fixed text around a header slot’s credential, with exactly one {} substitution point, such as Bearer {}. | iron-vault-policy | SlotFormat | §9 |
| Slot value | The credential text a kind produces for the route’s slot, before the slot’s format or encoding is applied. | iron-vault-policy | SlotValue | §9, §14, future spec §2.2 |
| Socket activation | systemd binds a listener and passes it to the service by name (FileDescriptorName= in the .socket unit equals the listener name), so the port or socket path is held from boot and across restarts; the service verifies each adopted socket against its listener before using it. In a protected Linux install it is required for every TCP listener. | iron-vault | ActivationEnv, Inheritance, PassedSockets, check_origin | §7 |
| Software signer | The approval signer for machines without a TPM: an Ed25519 key whose private half is kept in its own approver key envelope and decrypted only inside the service, for one approval, then dropped. It signs only when the decrypted key matches the pinned approver. | iron-vault-store | SoftwareSigner, SoftwareSignerKey | §12, §14 |
| Source | The origin of a credential imported into the vault, initially direct entry and later password-manager sync. | iron-vault-store | Source | §3 |
| Source-owner method | A way to prove authority over the vault identity through a factor already enrolled for this vault, which the service starts and verifies itself for one migration challenge: the vault passphrase, read against the envelopes on disk, and a tpm approver’s TPM approval PIN, proved by the TPM signing a migration proof payload, in v0; a YubiKey touch later. One switchable prompt offers the methods an install can ask, the vault passphrase first. The recovery key, the approval passphrase, an earlier unlock, an admin connection and the export passphrase are not methods. A method refuses with an owner refusal (a wrong secret, or a factor that is not this vault’s) or as unavailable; only the vault passphrase’s owner refusals count toward the passphrase attempt limit. See migration-authorization.md. | iron-vault | SourceOwnerMethod, VaultPassphraseMethod, MethodRefusal, OwnerRefusal | §16 |
| Service account | The OS account that runs the service and owns its config (0600), vault and runtime directory: iron-vault in a protected install, the owner’s login account in development. | iron-vault | ExpectedOwner (its uid) | §4, §12 |
| Service context | The one owned value the running service is: the state-directory and config-directory locks, the filesystem, the current service state, the approval state while the vault is open, the vault identity from unlock until lock or stop, the snapshot holder (whose serving snapshot owns the open vault), the request listener set and the hardening report. Every change goes through the service state model’s next under one async mutex; the request side reads only the snapshot holder. Startup enters Locked with provisional listeners; entering Checking opens a new vault from the kept vault identity, with its approval state, and runs the config check; Ready is entered only after the listener rebuild. | iron-vault | ServiceContext, ServiceLocks | §4, §14, §15 |
| Service paths | The trusted paths a deployment names (config file, state directory, optional runtime directory) with its profile and expected owner; the running binary is found from the process itself. | iron-vault | ServicePaths | §4 |
| Service state | Which of Starting, Locked, Checking, Ready and Unavailable the service is in; each transition between them is a named event, and any pair not drawn in the specification diagram is refused rather than performed; a terminal Stopped marker follows Ready’s stop. It decides what the request interface does, which admin commands run and whether the listener set is provisional or approved. | iron-vault | ServiceState, ServiceEvent, next, RequestInterface | §15 |
| Service unit | iron-vault.service, the root-owned systemd unit that runs iron-vault serve as the service account, with the resource limits and sandbox the Linux package sets: Restart=on-failure, LimitCORE=0, LimitMEMLOCK=infinity, ProtectSystem=strict and the rest of linux-package.md. | iron-vault | §4, §14, §15 | |
| Service-wide lock | The one in-process lock that serializes approvals, vault writes, reloads and every config check. config approve, replace, rm and the recipient commands hold it from their request to their response, prompts included; meanwhile other approvals and vault writes get busy, a reload or an unlock waits, and lock cancels an approval or a vault change still waiting at a prompt. add takes it only once the material is in hand. | iron-vault | ServiceContext::review_approval, ApprovalReview, ServiceContext::plan_vault_change, VaultChangePlan, ServiceContext::begin_migration, MigrationSession | §12, §13 |
| Staged approval | The config approval the service signed for its pending config, durably written as config.toml.sig.staged beside it before the commit; publish renames it to config.toml.sig. Until its version is committed it is never promoted, and a config check discards it. | iron-vault-store | write_staged | §12 |
| Staged inventory | The recipient inventory a recipient change durably writes as recipients.age.staged before the identity envelope; the inventory check finishes the change from it when it matches the envelope on disk, removes it once recipients.age matches the envelope, and otherwise leaves it in place. | iron-vault-store | §13 | |
| Stale temp file | A .<name>.tmp left in the state directory or the config directory, for one of that directory’s file names, by a durable replace that never finished; at startup the stale temp sweep durably removes every one, under that directory’s lock. | iron-vault-store | sweep_stale_temps, sweep_stale_config_temps | §13 |
| Status report | The structured, secret-free answer to status, built from what the service context holds: service state with its redacted reason, deployment profile, vault lock state and ID, approval versions, memory protection, each credential’s standing, each route fault, and, read from disk, the recovery check record’s time with whether a recovery reminder is due. A value sealed behind the vault identity (vault ID, approval versions, credentials, route faults) is unknown while no vault is open: while the vault is locked, and in Unavailable, where the failed check dropped the vault and kept only the vault identity. Allowed in every state. See admin-protocol.md. | iron-vault | StatusReport | §15, §16 |
| Stanza kind | The type of one recipient stanza in an age header, read from its tag without decrypting: X25519, scrypt, age’s inert grease stanza, or any other tag by name. | iron-vault-store | StanzaKind | §14, §19 |
| Starting | The service state from process start until it knows whether it can unlock itself: Locked when interactive unlock is required, Checking when a TPM or host unlock succeeded. | iron-vault | ServiceState::Starting | §15 |
| State directory | The service-owned directory holding vault, control and lock files; the binary resolves it from the deployment profile. | iron-vault-store | §13 | |
| State file name | One flat file name inside the state directory: non-empty ASCII [A-Za-z0-9._-], no leading . (which temp names use) and never lock in any letter case. | iron-vault-store | StateFileName | §13 |
| State generation | A vault-wide u64 count of MAC’d file writes: every write of the vault manifest or the approval state takes one above the newer of the two files’ state generations as they are on disk and records it, so it starts at 1, increases by exactly one per write, never wraps, and is never 0. Opening the vault or the approval state checks both files’ state generations and peer generations against each other, so a partial restore is refused. Outside v0 it is to be anchored in a TPM monotonic counter, so a rollback of every MAC’d file together is detected too. | iron-vault-store | StateGeneration | §12, §13 |
| State-directory lock | An exclusive, non-blocking lock on <state directory>/lock, held for the service’s lifetime; a second writer fails to start. | iron-vault-store | StateDirLock | §4 |
| Store-owned file | A file whose name the store writes, and the only kind reset removes: in the state directory the vault’s envelopes, manifest, approval state, recipient inventory (staged too), approver key envelopes, record files, init.unfinished, import.unfinished, reset.unfinished, the owner-lock file and recovery.toml; in the config directory config.toml, config.toml.sig, config.toml.pending and config.toml.sig.staged; and the stale temp file of each. Not the lock files, lost+found or any foreign file. One list, shared by the initialization state, every discard and reset. See reset.md. | iron-vault-store | store_owned::STATE_FILES, store_owned::CONFIG_FILES | §13, §16 |
| Switch frame | The admin-protocol frame, kind 8 with an empty body, with which the CLI answers a switchable approver prompt instead of owner input, asking for the next approver in approver order. The CLI sends one when the owner presses Ctrl-Y at a terminal. See approval-signers.md. | iron-vault | Frame::Switch, PromptAnswer::Switch, Exchange::prompt_or_switch_unless | §5, §14 |
| TLS listener | The TLS acceptor configuration of a TCP listener that terminates TLS (it holds no socket), built from the listener’s administrator-installed certificate chain and private key: the chain is one or more CERTIFICATE PEM items, the key file exactly one private-key item that matches the leaf certificate, both read through their trusted-path rules when the listener is opened. It offers rustls’s default protocol versions and ALPN http/1.1, asks for no client certificate, and drops a client that does not finish the handshake within the handshake timeout, the longest a connection may take from accept to a completed TLS handshake (10 s until implementation spec §3’s listener limits are published). A non-loopback TCP listener must be one. | iron-vault | ListenerTls | §7 |
| Token bucket | A route’s rate-limit counter: it starts empty, refills at requests / per_seconds up to burst, and spends one token per request. | iron-vault-policy | TokenBucket | §8, §15 |
| Token enrollment | A caller token is enrolled when an approved config names its token_hash for a token caller; it authenticates that caller from the moment that config is active. Issuing a token returns it to the owner but enrolls nothing, and rotation and revocation are approvals of a config with a new token_hash, or without one. | iron-vault-policy | TokenHash | §7 |
| Token response | A token endpoint’s JSON answer to a code redemption or a refresh, at most 16 KiB: the access token, its expires_in, and optionally a refresh token, the granted scopes and an id_token. Any error field makes it a refusal, such as invalid_grant or GitHub’s bad_refresh_token, whatever the HTTP status. An absent scope grants every requested scope. See oauth.md. | iron-vault-kinds | TokenResponse, ProviderError | future spec §1 |
| Token slot | The service’s in-memory working state for one OAuth account record: the access token, the instant it expires and its generation number, a rotated refresh token not yet in the serving snapshot, whether the access token is held back until that refresh token is stored, the needs-login cause, and when the last refresh attempt started. One mutex per slot makes refresh single-flight. Token slots outlive a serving snapshot, keyed by record ID; a new snapshot keeps only its own healthy account records’ slots, and lock, a failed config check and Unavailable clear them all. See oauth.md. | iron-vault | TokenSlots, TokenSlot, AcquiredToken, AcquireRefusal, TokenGeneration | future spec §1.2, future spec §1.3 |
| TPM approval key | A TPM approver’s ECDSA P-256 signing key: a child of a transient storage primary under the owner hierarchy, generated inside the TPM, bound to it (fixedTPM, fixedParent), authorized by the TPM approval PIN, and never exempt from dictionary-attack lockout. Separate from every TPM unlock object. Its public point is pinned as the approver’s key, algorithm 02; its signatures are 64-byte r ‖ s with low s. See tpm-approval-signer.md. | iron-vault-tpm-signer | §12 | |
| TPM approval PIN | The secret that authorizes a TPM approval key, after §12’s “approval PIN”: typed twice at enrollment, UTF-8 of at least 6 Unicode scalar values, and typed again at each approver prompt as TPM approval PIN for "<label>". The service turns it into a 32-byte authorization value (BLAKE2b-256, persona iv-tpm-pin-v1, over the approver ID and the PIN), clears the PIN at once and holds the value for one exchange only; the TPM’s lockout limits guesses. Not the TPM PIN of §4 and §14, which would unlock the vault and which v0 does not have. See tpm-approval-signer.md. | iron-vault-tpm-protocol | TpmApprovalPin, TpmAuthValue | §12 |
| TPM key blob | The file approver-<approver ID>.tpm in the state directory: magic IVTK, the approver ID, the parent’s name, and the TPM approval key’s public and private areas as the TPM wrapped them. Not secret, and loadable only on the TPM that made it; the helper refuses a blob whose parent name or key differs from the pinned approver’s. An orphan like any approver key file. See tpm-approval-signer.md. | iron-vault-tpm-protocol | TpmKeyBlob | §12, §13 |
| TPM signer | The approval signer of signer kind tpm: a TPM approval key used through the TPM signing helper, asked as TPM approval PIN for "<label>". Offered on a protected Linux install or a Compose host whose helper socket exists. It cannot leave its machine, so a migration bundle carries no key for it, and a forgotten approval PIN or cleared TPM is recovered through another approver. See tpm-approval-signer.md. | iron-vault | TpmSigner | §12, §14 |
| TPM signing helper | iron-vault-tpm-signer: the socket-activated process, one per request and one request at a time (MaxConnections=1), that alone opens the TPM for approval signing, running as iron-vault-tpm with the TPM device the service never gets. It answers only the service account, checked by SO_PEERCRED, creates TPM approval keys, and signs only an approval payload, a presence payload or a migration proof payload, each under a PIN-derived authorization value in a salted session, keeping the lockout reserve. It holds no state. See tpm-approval-signer.md. | iron-vault-tpm-signer | §14, §17 | |
| TPM unlock | The unlock method in which the machine’s TPM opens an intermediate identity at startup with no owner present, bound to the Secure Boot policy (PCR 7) rather than to who is asking; in v0, unattended on a server, and on a portable machine behind a pre-boot secret unless the administrator accepts the risk of going without. On Linux it is delivered as host unlock: the handoff unit unseals the host unlock blob and the service never opens the TPM, supported on Ubuntu 26.04 and allowed on 24.04. Host unlock runs in the Protected and Container profiles, as its entry says. See tpm-unlock.md. | iron-vault | §14, §15 | |
| Trusted path | A path the service relies on before it unlocks anything (its binary, config directory, config, state directory, state files, runtime directory and log directory), or an administrator-installed file it reads (a TLS listener’s certificate chain and key, a route’s pinned CA file); every component from / down must pass its trusted-path rule, or the service refuses it and names the first unsafe component. An administrator-installed certificate (AdminCertificate) is a regular file owned by root or the service account that no one else can write; an administrator-installed private key (AdminPrivateKey) is a regular file the service account owns with no group or other permission bits. The log directory (LogDir) is the service account’s with no group write and no access for others, and may sit under a root-owned group-writable ancestor such as /var/log. Neither certificate nor key may sit under a shared sticky directory such as /tmp, and each is read through admin_file::read, which opens the checked file without following a symlink and refuses it if it is not the file the walk saw. | iron-vault | TrustedPathRule, UnsafePath, AdminFile | §4, §7, §10 |
| Trusted-path report | The result of checking every trusted path a deployment names, in a fixed order (binary, config directory, config, config-directory lock file, state directory, state-directory lock file, runtime directory): each path with whether it is trusted, its first unsafe component, or why its metadata could not be collected, including a running binary that was deleted or replaced on disk, and the path cautions of each trusted path. Startup refuses its first untrusted or unchecked path, except a config or lock file that does not exist yet. status shows it. | iron-vault | TrustedPathReport | §4 |
| Typed at a terminal | How reset reads its confirmation: the CLI checks that stdin is a terminal and that /dev/tty opens before it connects, reads the answer from /dev/tty, and otherwise exits with code 3 having sent nothing, so a pipe, a heredoc or a cron job cannot confirm a reset. See reset.md. | iron-vault | cli::reset::require_terminal | §16 |
| Unavailable | The service state after a check found invalid policy or damaged shared state; it holds a failure reason and keeps no route policy. It holds no open vault either: entering Checking drops what the service kept of the last one, and a failed check opens none, so the status report shows the vault as locked although the vault identity is kept. Its request listeners may come from an unverified config, a provisional listener set, and answer only 503 with the reason. It leaves to Checking after an authorized repair or committed-transaction recovery, and to Locked on an explicit lock, which clears the vault identity it keeps. | iron-vault | ServiceState::Unavailable | §12, §15 |
| Unavailable reason | The fixed, redacted set of reasons a request listener gives with a 503 when it cannot serve: locked, policy invalid, checking, recovery needed. | iron-vault | UnavailableReason | §12, §15 |
| Unavailable route | A route of the active policy that serves no request, with one or more causes: its credential record is unusable (damaged, needing login, or an unusable account record), or its pinned CA could not be loaded. Activation sets the first and the config check the second; neither fails the check, and every other route keeps serving. ActivePolicy::route omits it whatever the cause, so a request to it is answered 503 before any upstream client is used. Not the service state Unavailable. | iron-vault-policy | UnavailableCause | §10, §12 |
| Unfinished import | An import that started writing and has not reached its commit point, shown by the empty state-directory file import.unfinished, written first and durably removed last; the initialization state reads it as Unfinished, of kind Import, if the state directory holds nothing but the files an import writes and the config directory nothing but config.toml. The marker is a store-owned file. unlock refuses it, and the next import or init discards the files an import writes, its config.toml included, then starts over. See migration-bundle.md. | iron-vault-store | UnfinishedKind::Import, StateFileName::unfinished_import, begin_import, finish_import | §13, §16 |
| Unfinished initialization | A vault initialization that started and has not reached its commit point, shown by the empty state-directory file init.unfinished, written first and durably removed last; also the initialization state with that file, no record file, no foreign file and no config file but init’s own. unlock refuses it, and the next init or import discards exactly the files an initialization writes (a config file only if it is the initial config), then starts over with a new vault ID and approver. | iron-vault-store | UnfinishedKind::Initialization, StateFileName::unfinished_initialization, begin_initialization, finish_initialization | §12, §13 |
| Unfinished reset | A reset past its commit point and not yet done, shown by the empty state-directory file reset.unfinished, written durably before the first removal and removed last; also the initialization state with that file, checked before every other, whatever else is there. unlock, host unlock, init, import and recovery check refuse it, startup leaves it, and only the next reset finishes it. See reset.md. | iron-vault-store | InitializationState::UnfinishedReset, StateFileName::unfinished_reset, discard_vault | §13, §16 |
| Unindexed record file | A record file in the state directory that the vault manifest does not list, or whose digest prefix is not its entry’s; it is never loaded or trusted, because anyone holding the vault public key can write one, and the next vault write removes it. | iron-vault-store | OpenReport::unindexed, WriteReport | §6, §13 |
| Unlock handoff | The read-only file /run/iron-vault-unlock/host-unlock, on a host ramfs, through which the host gives a Protected or Container service the host unlock identity’s secret text in the recovery key’s format; read once while Starting, by the host unlock, where a missing or unsafe file leaves the service Locked, by init --host-unlock to enrol it, and by recipient remove, which keeps the host-unlock recipient whose key it holds. A replacement identity, provisioned after a lost TPM, is enrolled by its recipient key with recipient add --host-unlock. | iron-vault | unlock_handoff::read_handoff, HANDOFF_PATH | §15, §17 |
| Unlock method | How the owner opens the vault identity into service memory once per service start: a passphrase, a TPM or a hardware key, chosen by the owner with none the default. Each reaches the vault through its own intermediate identity. It is independent of the approval signer and never counts as recovery. In v0 the passphrase, through the operational identity, is the only one. | iron-vault-store | §14 | |
| Unseal-failure file | The empty root-owned file /run/iron-vault-unlock/unseal-failed that the handoff unit’s ExecStopPost= writes when the unit fails, beneath its ramfs mount, so that a service finding no unlock handoff records host unlock outcome unseal_failed rather than absent; a diagnostic only, it never changes what the service does. See tpm-unlock.md. | iron-vault | §15, §17 | |
| Unsettled approval state | An in-memory approval state whose last write renamed approval.age into place but failed the directory fsync, so the disk may hold a state it does not. It accepts no more writes until the read-back or a load replaces it with the state from disk. | iron-vault-store | ApprovalState::is_unsettled | §13 |
| Unusable account record | A credential standing of an OAuth account record that loaded but cannot serve because of what it names: its client record is missing (cause client missing), damaged (client damaged) or not an OAuth client record (not a client record), or one of its permitted origins matches none of the client definition’s resource_hosts (origin outside resource hosts). Its routes are unavailable, as for a damaged record, while other routes keep serving; status and list show it as unusable (<cause>). It is checked before needs login, because a login through the same client and origins would be refused. Not damaged: the record itself loaded, so its kind and permitted origins are known. Not the credential catalog’s wider unusable, which also covers damaged records and those that need login. See oauth.md. | iron-vault | Standing::Unusable, UnusableCause | §15 |
| Upstream | The HTTPS service to which Iron Vault forwards an authorized request. | iron-vault-policy | UpstreamUrl | §3 |
| Upstream body | The caller’s body as forwarded in an upstream request: empty, or a stream of byte chunks with the caller’s declared length when it sent one. It is never inspected or modified, since no credential goes into a caller body, and is forwarded as it arrives, so it is never buffered whole. A declared length is enforced: a stream that fails partway, ends short of it, or runs past it aborts the upstream request instead of completing it with a different body. The chunk that reaches the declared length is held until the stream ends, and a declared length of zero is settled before sending. It travels beside the checked request, not inside it. | iron-vault | UpstreamBody, UpstreamBodyError | §8, §9, implementation spec §3 |
| Upstream client | The only way the service reaches an upstream: built by one constructor from an upstream trust, it sends only a checked request, with its upstream body beside it, ignores ambient proxy and trust settings, and never follows a redirect. A transport failure is a TransportError that carries no URL or library diagnostic. One is built per upstream trust in the active policy (UpstreamClients). | iron-vault | UpstreamClient, UpstreamClients, UpstreamResponse, ResponseChunks, TransportError | §8, §10, §15, implementation spec §1 |
| Upstream target | The URL the service will send to, built from the configured upstream and the authorized request and checked to read back as exactly the authorized path and query. | iron-vault-policy | UpstreamTarget | §8, §9 |
| Upstream trust | The trust anchors an upstream’s certificate must chain to: the built-in webpki roots, or a route’s pinned CA (ca_file), which replaces them for that route; never SSL_CERT_FILE, SSL_CERT_DIR or the operating system’s stores. A pinned CA changes only which certificates verify, never the permitted origins a credential may reach. | iron-vault | UpstreamTrust | §10 |
| UTC second | A UTC time to whole seconds, from 1970-01-01T00:00:00Z to 9999-12-31T23:59:59Z, written as RFC 3339 with Z. The store never reads a clock: the caller passes the time. The recovery check record holds two. | iron-vault-store | UtcSecond | §13 |
| Validated config | A parsed config whose cross-references all resolve and whose listeners, token hashes, route prefixes and slots cannot conflict. | iron-vault-policy | ValidatedConfig | §6, §7, §8, §9 |
| Vault | The service-owned encrypted storage and protected metadata on disk; opened, it holds the vault identity, the vault manifest and every healthy credential record. | iron-vault-store | Vault | §3, §13 |
| Vault change check | The dry run replace and rm make before any prompt: activate the active config against the credential catalog as it would be after the change (the name unknown for rm; usable with the new kind and permitted origins for replace), writing nothing. It refuses the change with credential-in-use when a route that uses the name would not activate, naming each route (and, for replace, why), so rm is refused while any route uses the name and every name the active config references stays in the vault manifest. Errors on other routes or peer accounts do not refuse it. See credential-commands.md. | iron-vault | vault_change_check, PlannedChange, AffectedRoute | §6, §12, §16 |
| Vault change summary | The service’s own account of one replace or rm, or of a login over an account record that needs owner presence, sent as notices before the owner presence prompt and, for replace and rm, recorded in the audit log: the credential name, its record ID (and, for replace, that a new one will be assigned), the old and new kind and permitted origins (unknown for a damaged record), and the routes that use the name with the callers granted them, in name order with configured names escaped. The CLI’s display of it is never evidence of what the owner authorized. See credential-commands.md. | iron-vault | VaultChangeSummary | §5, §6 |
| Vault ID | A vault’s random version 4 GUID, generated with the vault and written in the header and payload of its manifest and its recipient inventory, which must agree; another vault’s manifest is refused by its MAC, not by this ID. | iron-vault-store | VaultId | §13 |
| Vault identity | The generated age X25519 private key that decrypts individual credential files and keys the MAC’d files. While the vault is unlocked it lives in the service context, from unlock until lock or stop (in Checking, Ready and Unavailable), and each vault opened from it for a config check shares that one copy; its key bytes are cleared when the last holder drops it. | iron-vault-store | VaultIdentity | §3, §13 |
| Vault initialization | The init command: in Locked only, with the owner’s two passphrases, it generates every key, shows the recovery key once and waits for the owner’s confirmation, then writes init.unfinished, the identity, passphrase and approver key envelopes, the manifest and the approval state, commits approval version 1 on the initial config, and removes init.unfinished, its commit point. It leaves the service Locked. See vault-initialization.md. | iron-vault, iron-vault-store | initialize, InitializedVault | §12, §14, §16 |
| Vault manifest | The service’s index of which credential records exist: the vault ID, its state generation and peer generation, and one manifest entry per record with names unique; sealed to the vault public key and authenticated with a MAC keyed from the vault identity, so a party holding only the public key cannot forge one. | iron-vault-store | VaultManifest | §6, §13 |
| Vault public key | The public half of the vault identity, written as an age1… string; anything sealed to it only the vault identity opens, and it is safe to log. Not a recipient: a recipient unwraps the vault identity itself. | iron-vault-store | VaultPublicKey | §13 |
| Vault write | An already authorized add, replace or remove of one credential record: new record files are written first, the durable replace of the vault manifest at the next state generation is the single commit point, and files the manifest stops listing are removed after it. The admin commands add, replace and rm each run one in the service, from Ready only, under the service-wide lock, through a vault freshly opened from the kept vault identity; replace and rm run one only after owner presence and the vault change check, and run the config check after it. | iron-vault-store, iron-vault | Vault::add, Vault::replace, Vault::remove, ServiceContext::add_credential | §6, §13 |
| Verified account | The provider account an OAuth account record belongs to, as the provider proved it at login: issuer, subject identifier (Google sub, GitHub numeric id) and display name (Google email, GitHub login). Issuer and subject decide whether a login is to the same account; the display name must match --account. See oauth.md. | iron-vault-kinds | VerifiedAccount | §6, future spec §1.1 |
| Verified approval | A config approval whose envelope names a pinned approver and whose signature verifies against that approver’s key under its algorithm, for this vault, over the exact config bytes, and whose version and config digest are the committed approval; the only approval startup and reload may activate. Verifying never changes the approval state. | iron-vault-store | VerifiedApproval, verify_approval | §12, §19 |
| Verified bundle | A migration bundle whose exported identity envelope opened with the export passphrase and which passed every bundle check: the only value import’s write order takes and its summary is built from. It holds the vault identity, what import reports (vault ID, record count, approvers, committed and highest reserved versions, committed config digest) and the bytes to write. See migration-bundle.md. | iron-vault-store | open_bundle, OpenedBundle, OpenBundleError, verify_bundle, VerifiedBundle | §16 |
| Wall clock | The service’s source of the current UTC time, as a trait with a system implementation and a settable one for tests, so the reminder schedule and the recovery check record are tested without sleeping. Spacing between reminders is not read from it: it uses the monotonic clock, which a wall-clock jump cannot move. See recovery.md. | iron-vault | WallClock | §16 |
| Withdrawn snapshot | A serving snapshot whose requests have been told to stop: the snapshot holder withdraws every snapshot it has served when it stores a refusal other than checking (a failed check, a lock), so the service keeps no old route policy. A request not yet answered gets 503; one streaming its response has its caller’s connection aborted, because it cannot be retracted from an upstream it already reached. A pause that ends in Ready withdraws nothing: requests admitted before it finish on the old snapshot. | iron-vault | ServingSnapshot::withdrawn | §12 |
| Write report | What a vault write did besides its change, for the audit log: the unindexed record files it removed first, and the superseded record file it could not remove after the commit; the binary records them as vault.unindexed-removed and vault.superseded-left (audit-logging.md). | iron-vault-store | WriteReport | §13, §18 |
Context notes for terms that span crates:
- Credential:
iron-vault-kindsowns resolving a credential into request bytes; its encrypted form is the credential record iniron-vault-store. - Owner: the binary’s admin interface authenticates an admin principal, never the owner directly; store and policy only act on approved changes. See Actor disambiguation.
- Hardware key, Source:
iron-vault-storeholds recipient envelopes and connector storage, so it owns both. - Upstream:
iron-vault-policydecides whether a request may go to an upstream; the binary performs transport.