Skip to main content

write_agent_config

Function write_agent_config 

Source
pub(super) fn write_agent_config(
    stores: &ConfigStores,
    ctx: &RpcContext,
    hands_out_keys: bool,
    cmd: CommandWriteAgentConfigData,
) -> Result<CommandWriteAgentConfigResult, String>
Expand description

Only the window, proven by its host, gets an agent’s keys (hands_out_keys); an agent writes only its own (agent_config_guard).