Skip to main content

Module server

Module server 

Source
Expand description

Optional gRPC server for centralised AgentID management.

Wraps a Vault and exposes mint/verify/list RPCs. The server only holds private keys decrypted in memory while servicing a request — the vault password is supplied at startup (typically via AGENTID_VAULT_PASSWORD) and held in a zeroize-on-drop wrapper.

Modules§

proto

Structs§

AgentIdImpl

Functions§

serve
Bind and serve the AgentID gRPC service on addr until the future is dropped. The password is held in memory as long as the server is alive.