let the operator set, replace and remove an agent's backend env from the swarm ui
This commit is contained in:
parent
398b2af44b
commit
57b04d6c49
1 changed files with 795 additions and 201 deletions
|
|
@ -33,12 +33,12 @@ The swarm's control plane. The swarm UI and `swarmctl` are its clients.
|
|||
agent's forge token and matrix account, and renews store certificates and
|
||||
queue secrets as they age.
|
||||
- **Linked external accounts** — an operator-supplied matrix, forge or
|
||||
GitHub account for one agent, stored in the swarm secret store
|
||||
GitHub account, or backend environment, for one agent, stored in the swarm secret store
|
||||
(`PUT /api/hives/{hive}/agents/{agent}/matrix-accounts/{account}`,
|
||||
`.../forge-accounts/{label}`, `.../github-account`); distinct from the agent's own swarm-minted
|
||||
`.../forge-accounts/{label}`, `.../github-account`, `.../backend-env`, whose save replaces what is stored); distinct from the agent's own swarm-minted
|
||||
accounts above. `GET .../linked-accounts` lists them, plus the agent's own
|
||||
`main` matrix account, by kind, name and host, never with a credential.
|
||||
Each of the three also takes a `DELETE`; matrix's also takes
|
||||
Each of the four also takes a `DELETE`; matrix's also takes
|
||||
`?revoke=true`, which logs the stored token out at its homeserver first and
|
||||
leaves the account in place if that fails.
|
||||
- **Config PR status** — each agent's open config-repo PR, cached from forge
|
||||
|
|
|
|||
Loading…
Reference in a new issue