Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Failed to get secret with release 1.0.0 #4

@epot

Description

@epot

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions