I have the following code:
ApplicationTokenCredentials credentials = new ApplicationTokenCredentials(
applicationId,
tenantId,
secret,
null);
KeyVaultClient client = new KeyVaultClient(credentials);
And then:
client.getSecret("https://myvault.vault.azure.net/", secretName)
And I end up with:
{"error_description":"AADSTS50001: The application named https:\/\/{vaultbaseurl}\/ was not found in the tenant named
This looks strangely like an issue opened in another repository Azure/autorest#1234. Does it mean this keyvault client has been released with this issue ?
Here are the dependencies I declare:
- "com.microsoft.azure" % "azure-keyvault" % "1.0.0"
- "com.microsoft.rest" % "client-runtime" % "1.0.0"
- "com.microsoft.azure" % "azure-client-runtime" % "1.0.0"
- "com.microsoft.azure" % "azure-client-authentication" % "1.0.0-beta6"
I have the following code:
And then:
And I end up with:
This looks strangely like an issue opened in another repository Azure/autorest#1234. Does it mean this keyvault client has been released with this issue ?
Here are the dependencies I declare: