Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithClientSecret

Method
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26565.2
func (EntraIdApplicationResource) WithClientSecret(clientSecret ParameterResource) EntraIdApplicationResource

Signature

methodWithClientSecretbuilder
Adds a client secret credential to this Entra ID application.
WithClientSecret(clientSecret ParameterResource) EntraIdApplicationResource
clientSecretParameterResourceA secret parameter containing the client secret.
EntraIdApplicationResource

The resource builder for chaining.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: