Share via


ServicePrincipalsOperationsExtensions.ListKeyCredentialsAsync Method

Definition

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Graph.RBAC.Version1_6.Models.KeyCredential>> ListKeyCredentialsAsync (this Microsoft.Azure.Graph.RBAC.Version1_6.IServicePrincipalsOperations operations, string objectId, System.Threading.CancellationToken cancellationToken = default);
static member ListKeyCredentialsAsync : Microsoft.Azure.Graph.RBAC.Version1_6.IServicePrincipalsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Graph.RBAC.Version1_6.Models.KeyCredential>>
<Extension()>
Public Function ListKeyCredentialsAsync (operations As IServicePrincipalsOperations, objectId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of KeyCredential))

Parameters

objectId
String
cancellationToken
CancellationToken

Returns

Applies to