Share via


ServicePrincipalInKeyVaultCredentialEntity Constructor

Definition

Initializes a new instance of the ServicePrincipalInKeyVaultCredentialEntity class.

public ServicePrincipalInKeyVaultCredentialEntity (string name, Uri endpoint, string keyVaultClientId, string keyVaultClientSecret, string tenantId, string secretNameForClientId, string secretNameForClientSecret);
new Azure.AI.MetricsAdvisor.Administration.ServicePrincipalInKeyVaultCredentialEntity : string * Uri * string * string * string * string * string -> Azure.AI.MetricsAdvisor.Administration.ServicePrincipalInKeyVaultCredentialEntity
Public Sub New (name As String, endpoint As Uri, keyVaultClientId As String, keyVaultClientSecret As String, tenantId As String, secretNameForClientId As String, secretNameForClientSecret As String)

Parameters

name
String

A custom unique name for this ServicePrincipalInKeyVaultCredentialEntity to be displayed on the web portal.

endpoint
Uri

The endpoint to connect to the Key Vault resource where the secrets are stored.

keyVaultClientId
String

The client ID to authenticate to the Key Vault resource.

keyVaultClientSecret
String

The client secret to authenticate to the Key Vault resource.

tenantId
String

The tenant ID of the service principals used for authentication.

secretNameForClientId
String

The name of the Key Vault secret storing the client ID used for data source authentication.

secretNameForClientSecret
String

The name of the Key Vault secret storing the client secret used for data source authentication.

Applies to