Expand description
POST /api/v1/vault/import_batch: an agent has the Vault copy a named list of secrets from AWS Secrets Manager
under one approval (docs/specs/SPEC_VAULT_LINKED_ENTRIES_FLEET_VAULT_AND_BATCH_IMPORT_2026_11_15.md §4).
The whole list is checked first. Nobody is asked: srv reads every row, under one AWS session, and writes a history line for each (docs/specs/SPEC_VAULT_AGENT_ADDS_AND_EDITS_WITHOUT_ASKING_2026_11_25.md). It answers with a row per secret: its entry’s id, or why nothing was kept. Never a value. A batch counts one write per row against the agent’s pace.
Structs§
Functions§
- answer 🔒
- What the agent is told of a batch that ran: a row per approved secret, and the rows the person left out.
- checked 🔒
- The list checked, and for a container agent the grant it names, before anything is read.
- handle_
vault_ 🔒import_ batch POST /api/v1/vault/import_batch- nothing 🔒
- What is said of a batch that did nothing. A list of links only copies nothing to begin with: nothing was recorded.
- reads_
aws 🔒 - Whether any row of
planis read from AWS: a row that is a link is not. - refused 🔒
- Records what became of a batch that read nothing, and tells the agent.
- run 🔒
- Reads the approved rows under one AWS session (one broker mint for a container agent, whatever the rows), and records the batch’s own line.