update variable to compile (#2373)

This commit is contained in:
Victor Vazquez 2021-06-01 10:03:51 -07:00 committed by GitHub
parent da252f76f7
commit 141878670f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,10 +38,10 @@ int main()
auto credential
= std::make_shared<Azure::Identity::ClientSecretCredential>(tenantId, clientId, clientSecret);
KeyClient client(std::getenv("AZURE_KEYVAULT_URL"), credential);
KeyClient keyClient(std::getenv("AZURE_KEYVAULT_URL"), credential);
try
{
KeyVaultKey key = client.GetKey("some_key").Value;
KeyVaultKey key = keyClient.GetKey("some_key").Value;
}
catch (const Azure::Core::RequestFailedException& ex)
{