vaultrs::token

Function new_role

source
pub async fn new_role(
    client: &impl Client,
    role: &str,
    opts: Option<&mut CreateRoleTokenRequestBuilder>,
) -> Result<AuthInfo, ClientError>
Expand description

Creates a new token based on a role

See CreateRoleTokenRequest