When attempting to grab values from a KeyvaultClient, sometimes it will fully function and grab my values no problem. There are other times (seemingly random) that it will infinitely hang with no exception.
Here is the example:
let keyvaultClient = match KeyvaultClient::new(&"https://zline-keyvault.vault.azure.net/", Arc::new(DefaultAzureCredential::default())){
Ok(client) => {
info!("Successfully instantiated Keyvault client");
client
}
This compiles just fine and logs the success message.
Later,
attempting to call the following:
match keyvaultClient.secret_client().get("my_secret").await{
Ok(_) => info!("secret grabbed"),
Err(e) => panic!("Failed to get secret: {}", e)
}
Infinitely Hangs and does not retrieve the secret.
I am authenticated with az login and have attempted to get any sort of error message out of this thing. Any way that there is some issue here I am missing?
When attempting to grab values from a KeyvaultClient, sometimes it will fully function and grab my values no problem. There are other times (seemingly random) that it will infinitely hang with no exception.
Here is the example:
This compiles just fine and logs the success message.
Later, attempting to call the following:
Infinitely Hangs and does not retrieve the secret.
I am authenticated with
az login
and have attempted to get any sort of error message out of this thing. Any way that there is some issue here I am missing?