vaultrs::auth::oidc

Function auth

source
pub async fn auth(
    client: &impl Client,
    mount: &str,
    redirect_uri: &str,
    role: Option<String>,
) -> Result<OIDCAuthResponse, ClientError>
Expand description

Obtain an authorization URL from Vault to start an OIDC login flow

See OIDCAuthRequest