This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.3k
stars
1.96k
forks
source link
Cant create keyClient with AzureSDK for Java #38302
I'm trying to create KeyClient with azure sdk for java, as documetation suggests:
KeyClient keyClient = new KeyClientBuilder() .vaultUrl(keyVaultUrl) .credential(new DefaultAzureCredentialBuilder().build()) .buildClient();
My dependencies are also the ones in the documentation(https://learn.microsoft.com/en-us/azure/key-vault/keys/quick-create-java?tabs=azure-cli):
Every time I create a key client, it has an error inside service:
Someone can help?