pub async fn provide_credentials(&self) -> Result<Credentials, CredentialsError> {
        match self.inner().credentials_provider() {
            None => Err(CredentialsError::not_loaded(
                "no credentials provider configured",
            )),
            Some(provider) => provider.provide_credentials().await,
        }
    }
/// Acquires credentials using the configured credentials provider.
Acquires credentials using the configured credentials provider.
Acquires credentials using the configured credentials provider .
pub async fn provide_credentials(&self) -> Result<Credentials, CredentialsError> {
        match self.inner().credentials_provider() {
            None => Err(CredentialsError::not_loaded(
                "no credentials provider configured",
            )),
            Some(provider) => provider.provide_credentials().await,
        }
    }
pub async fn provide_credentials ( & self ) -> Result < Credentials , CredentialsError > { match self . inner ( ) . credentials_provider ( ) { None => Err ( CredentialsError :: not_loaded ( " " , ) ) , Some ( provider ) => provider . provide_credentials ( ) . await , } }
Acquires credentials using the configured credentials provider.
Acquires credentials using the configured credentials provider .
&self
&self