Exemplo n.º 1
0
 /// <summary>
 /// Get the keyCredentials associated with the specified service principal.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='objectId'>
 /// The object ID of the service principal for which to get keyCredentials.
 /// </param>
 public static IEnumerable <KeyCredential> ListKeyCredentials(this IServicePrincipalsOperations operations, string objectId)
 {
     return(operations.ListKeyCredentialsAsync(objectId).GetAwaiter().GetResult());
 }