Skip to main content

plan_ask

Function plan_ask 

Source
pub fn plan_ask(
    store: &Store,
    id: &str,
    agent: &str,
    uid: &str,
    reason: Option<&str>,
) -> Result<Asked, String>
Expand description

Every check of an agent’s Vault share, with nothing written: the reason, that the agent may use the entry (anything else is “no entry”), that it is a login that can be shared, and that it is not shared with the agent already. uid is the agent’s permanent uid, proven by the caller: an agent asks for a share for itself only.