MicrosoftIdentityOptions.TokenDecryptionCertificates Property

Definition

Description of the certificates used to decrypt an encrypted token in a web API.

public System.Collections.Generic.IEnumerable<Microsoft.Identity.Web.CertificateDescription>? TokenDecryptionCertificates { get; set; }
member this.TokenDecryptionCertificates : seq<Microsoft.Identity.Web.CertificateDescription> with get, set
Public Property TokenDecryptionCertificates As IEnumerable(Of CertificateDescription)

Property Value

Examples

An example in the appsetting.json:

"TokenDecryptionCertificates": [
  {
    "SourceType": "StoreWithDistinguishedName",
     "CertificateStorePath": "CurrentUser/My",
     "CertificateDistinguishedName": "CN=WebAppCallingWebApiCert"
    }
   ]
         See also https://aka.ms/ms-id-web-certificates.

Applies to