Condividi tramite


ManagedIdentityCredential Constructors

Definition

Overloads

ManagedIdentityCredential()

Protected constructor for mocking.

ManagedIdentityCredential(ManagedIdentityCredentialOptions)

Creates an instance of ManagedIdentityCredential configured with the specified options.

ManagedIdentityCredential(ManagedIdentityId)

Creates an instance of ManagedIdentityCredential capable of authenticating using the specified ManagedIdentityId.

ManagedIdentityCredential()

Source:
ManagedIdentityCredential.cs
Source:
ManagedIdentityCredential.cs

Protected constructor for mocking.

protected ManagedIdentityCredential ();
Protected Sub New ()

Applies to

ManagedIdentityCredential(ManagedIdentityCredentialOptions)

Source:
ManagedIdentityCredential.cs
Source:
ManagedIdentityCredential.cs

Creates an instance of ManagedIdentityCredential configured with the specified options.

public ManagedIdentityCredential (Azure.Identity.ManagedIdentityCredentialOptions options);
new Azure.Identity.ManagedIdentityCredential : Azure.Identity.ManagedIdentityCredentialOptions -> Azure.Identity.ManagedIdentityCredential
Public Sub New (options As ManagedIdentityCredentialOptions)

Parameters

options
ManagedIdentityCredentialOptions

The options used to configure the credential.

Applies to

ManagedIdentityCredential(ManagedIdentityId)

Source:
ManagedIdentityCredential.cs
Source:
ManagedIdentityCredential.cs

Creates an instance of ManagedIdentityCredential capable of authenticating using the specified ManagedIdentityId.

public ManagedIdentityCredential (Azure.Identity.ManagedIdentityId id);
new Azure.Identity.ManagedIdentityCredential : Azure.Identity.ManagedIdentityId -> Azure.Identity.ManagedIdentityCredential
Public Sub New (id As ManagedIdentityId)

Parameters

id
ManagedIdentityId

The ManagedIdentityId specifying which managed identity will be configured.

Applies to