Watch
0
0
Fork
You've already forked hyperhive
0

swarmctl: drop agent mint-identity and its controller route

Re-creating an agent mints its store identity the same way, so the
backfill verb and the `POST /api/agents/{name}/identity` route that only
it called go. The `MintAgentIdentity` job node stays: agent creation and
the renewal pass still queue it.

Part of #4765 (c).
This commit is contained in:
atlas 2026-10-13 00:42:27 +02:00 • committed by mara
commit 207484dfa6
7 changed files with 6 additions and 302 deletions

View file

@ -117,19 +117,6 @@ crate does not link it, and there is no wire-type crate between them.
Two fields out, two in, both ends validating — a drift shows up as a
400 naming the field.
## `agent mint-identity`
```console
# swarmctl agent mint-identity ruth
```
`POST /api/agents/{name}/identity` on the swarm-controller. Re-runs the
store-identity mint for one agent that already exists — the backfill for an
agent the swarm never created, such as the manager agent `hive-c0re` makes at
startup. It re-mints the agent's store certificate, which the agent picks up
the next time its container boots, and leaves an existing queue secret alone.
Queues and returns, like `agent create`.
## `agent mint-forge-token`
```console