Skip to main content

Module agent_names

Module agent_names 

Source
Expand description

pnm did-mgmt agent-names … — bind and inspect agent names.

An agent name is a human-memorable domain/@name that resolves to a DID. Binding one edits the DID document’s alsoKnownAs and republishes the signed log; the hosting server then serves /@name as a redirect to the DID — but only for a name the signed document claims, which it re-derives from the log on every publish. So the claim in the document is not a hint, it is the authorisation.

That is one half of the binding. The other half — confirming a name leads back to the DID that claims it — is what [vta_sdk::display_name::agent_name] does on the reading side, and why --resolve-agent-names exists.

Functions§

cmd_agent_name_check
cmd_agent_name_disable
cmd_agent_name_enable
cmd_agent_name_list
cmd_agent_name_remove
cmd_agent_name_set