Share via


ServicePrincipalInKeyVaultCredentialEntity Class

Definition

The ServicePrincipalInKVCredential.

public class ServicePrincipalInKeyVaultCredentialEntity : Azure.AI.MetricsAdvisor.Administration.DataSourceCredentialEntity
type ServicePrincipalInKeyVaultCredentialEntity = class
    inherit DataSourceCredentialEntity
Public Class ServicePrincipalInKeyVaultCredentialEntity
Inherits DataSourceCredentialEntity
Inheritance
ServicePrincipalInKeyVaultCredentialEntity

Remarks

In order to create a credential entity, you must pass this instance to the method CreateDataSourceCredentialAsync(DataSourceCredentialEntity, CancellationToken).

Constructors

ServicePrincipalInKeyVaultCredentialEntity(String, Uri, String, String, String, String, String)

Initializes a new instance of the ServicePrincipalInKeyVaultCredentialEntity class.

Properties

CredentialKind

The credential kind.

(Inherited from DataSourceCredentialEntity)
Description

A description of this DataSourceCredentialEntity. Defaults to an empty string.

(Inherited from DataSourceCredentialEntity)
Endpoint

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

Id

The unique identifier of this DataSourceCredentialEntity.

(Inherited from DataSourceCredentialEntity)
KeyVaultClientId

The client ID to authenticate to the Key Vault resource.

Name

A custom name for this DataSourceCredentialEntity to be displayed on the web portal. Data feed names must be unique across the same Metris Advisor resource.

(Inherited from DataSourceCredentialEntity)
SecretNameForClientId

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

SecretNameForClientSecret

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

TenantId

The tenant ID of the service principals used for authentication.

Methods

UpdateKeyVaultClientSecret(String)

Updates the client secret used to access the key vault resource.

Applies to