Skip to main content

credentials

Function credentials 

Source
pub(super) async fn credentials(
    state: &AppState,
    who: &Who,
    profile: &str,
    reason: &str,
) -> Result<Option<Minted>, String>
Expand description

How the CLI is given credentials: the host’s own, or a session minted for the container agent’s grant profile (the broker’s checks, hourly cap and Audit row apply as for any mint, with the agent’s reason).