Skip to content

Instantly share code, notes, and snippets.

View stevencl's full-sized avatar

Steven Clarke stevencl

  • Microsoft
  • Edinburgh, Scotland
View GitHub Profile
@stevencl
stevencl / openname
Created November 17, 2014 14:58
openname verification
Verifying that +stevencl is my openname (Bitcoin username). https://onename.io/stevencl

Authenticating Clients to the Key Vault

Azure Key Vault authenticates requests via Azure Active Directory OAuth access tokens. All clients in the azure-keyvault package require an instance of the TokenCredential interface. The TokenCredential interface is located in the azure-common package.

While some applications with special requirements may choose to provide a TokenCredential implementation of their own, most can utilize the implementations provided by the Azure Identity library.

Authenticating Using the Azure Identity Library

To use the Azure Identity Library for authenticating client requests, you must first reference the azure-identity package in your project. The following reference should be added to the project pom.xml dependencies section: