Udostępnij za pośrednictwem


ServicePrincipalsOperationsExtensions.UpdateKeyCredentials Method

Definition

Update the keyCredentials associated with a service principal.

public static void UpdateKeyCredentials (this Microsoft.Azure.Graph.RBAC.IServicePrincipalsOperations operations, string objectId, Microsoft.Azure.Graph.RBAC.Models.KeyCredentialsUpdateParameters parameters);
static member UpdateKeyCredentials : Microsoft.Azure.Graph.RBAC.IServicePrincipalsOperations * string * Microsoft.Azure.Graph.RBAC.Models.KeyCredentialsUpdateParameters -> unit
<Extension()>
Public Sub UpdateKeyCredentials (operations As IServicePrincipalsOperations, objectId As String, parameters As KeyCredentialsUpdateParameters)

Parameters

operations
IServicePrincipalsOperations

The operations group for this extension method.

objectId
String

The object ID for which to get service principal information.

parameters
KeyCredentialsUpdateParameters

Parameters to update the keyCredentials of an existing service principal.

Applies to