ManagedIdentityCredential Class

  • java.lang.Object
    • com.azure.identity.ManagedIdentityCredential

Implements

public final class ManagedIdentityCredential
implements TokenCredential

The base class for Managed Service Identity token based credentials.

Method Summary

Modifier and Type Method and Description

String

getClientId()

Gets the client ID of user assigned or system assigned identity.

Mono<AccessToken>

getToken(TokenRequestContext request)

Methods inherited from java.lang.Object

Method Details

getClientId

public String getClientId()

Gets the client ID of user assigned or system assigned identity.

Returns:

the client ID of user assigned or system assigned identity.

getToken

public Mono getToken(TokenRequestContext request)

Parameters:

request

Applies to