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