Interface AzureSystemManagedIdentityRestClient


public interface AzureSystemManagedIdentityRestClient

Reactive REST client to get access token from Microsoft Entra ID by means of System Managed Identity.

Author:
Antonio Tarricone
  • Method Summary

    Modifier and Type
    Method
    Description
    io.smallrye.mutiny.Uni<AccessToken>
    Retrieves an access token for an Azure resource.
  • Method Details

    • getAccessToken

      @GET @Produces("application/json") @ClientQueryParam(name="api-version", value="2019-08-01") @ClientHeaderParam(name="x-identity-header", value="${IDENTITY_HEADER}") io.smallrye.mutiny.Uni<AccessToken> getAccessToken(@QueryParam("resource") String scope)

      Retrieves an access token for an Azure resource.

      Parameters:
      scope - Scope
      Returns:
      AccessToken