EntraIdKeyVaultCertificateCredential Properties

ClassProperties4 members
A certificate credential from Azure Key Vault for an Entra ID application.
CertificateNameInKeyVaultSection titled CertificateNameInKeyVaultstring
Gets the name of the certificate in Azure Key Vault.
public string CertificateNameInKeyVault { get; init; }
KeyVaultSection titled KeyVaultnullableAzureKeyVaultResource?
Gets the Key Vault resource containing the certificate.
public AzureKeyVaultResource? KeyVault { get; init; }
Set either this property or EntraIdKeyVaultCertificateCredential.KeyVaultUrl, but not both. The vault URI is resolved for the consuming resource.
KeyVaultUrlSection titled KeyVaultUrlnullablestring?
Gets the URL of the Azure Key Vault (e.g., "https://myvault.vault.azure.net").
public string? KeyVaultUrl { get; init; }
Set either this property or EntraIdKeyVaultCertificateCredential.KeyVault, but not both.
SourceTypeSection titled SourceTypeoverridestring
Gets the SourceType string used in the Microsoft.Identity.Web configuration.
public override string SourceType { get; }
InvalidOperationExceptionThrown when neither or both of EntraIdKeyVaultCertificateCredential.KeyVault and EntraIdKeyVaultCertificateCredential.KeyVaultUrl are set.