withCertificateFromFile

Method
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26567.5
interface EntraIdApplicationResource {
// ... omitted for brevity
withCertificateFromFile(
filePath: string,
password?: ParameterResource): EntraIdApplicationResource;
}

Signature

methodwithCertificateFromFilebuilder
Appends a certificate file credential. The file path is on the consuming resource, not the AppHost.
withCertificateFromFile(
filePath: string,
password?: ParameterResource): EntraIdApplicationResource
filePathstringThe path to the certificate file on the consumer.
passwordParameterResourceoptionalAn optional secret parameter for a password-protected certificate.
EntraIdApplicationResource

Applies to

This method applies to the following types: