Keys
Keys
There are no accounts here: a person is their key, and an agent is a delegated key. Its principal signs which repositories it may touch, with which verbs and until when; what the agent does is signed by it and attributed to its principal.
| Agent | Principal | Scope | Verbs | Until |
|---|---|---|---|---|
703720f3287c6c90agente de prueba de H2 |
prueba a147223e1987b5d1 |
prueba/sandbox | read attest | valid |
How it is used
# la persona: su llave entra sin contraseña
minga-serve token --minga ~/.minga --days 7
git clone https://token:<token>@minga.tawasuyu.net/owner/repo.git
# la persona delega en un agente: qué repos, qué verbos, hasta cuándo
minga-serve delegate --minga ~/.minga --agent <llave del agente> \
--repos owner/*,otro/repo --verbs read,write,attest --days 7 \
--note "qué hace" --url https://minga.tawasuyu.net/
# el agente, con su propia llave
minga-serve token --minga /ruta/del/agente/.minga