Skip to main content

is_agent_key_allowed

Function is_agent_key_allowed 

Source
pub fn is_agent_key_allowed(vault: &Vault, key: &str) -> bool
Expand description

Whether key may be read under the agent allow-tag policy: always true when the vault has no policy, otherwise true only if the key carries an allowed tag. The public, per-key form of check_agent_keys, used by self-scope filtering (e.g. murk export).