vaultrs::auth::aws::config::client

Function rotate_root_credentials

Source
pub async fn rotate_root_credentials(
    client: &impl Client,
    mount: &str,
) -> Result<RotateRootCredentialsResponse, ClientError>
Expand description

When you have configured Vault with static credentials, you can use this function to have Vault rotate the access key it used.

See RotateRootCredentialsRequest