AzurePostgresFlexibleServerResource.WithPasswordAuthentication

Method
📦 Aspire.Hosting.Azure.PostgreSQL v17.0.0
type AzurePostgresFlexibleServerResource interface {
// ... omitted for brevity
WithPasswordAuthentication(options ...*WithPasswordAuthenticationOptions) AzurePostgresFlexibleServerResource
}

Signature

methodWithPasswordAuthenticationbuilder
Configures password authentication for Azure PostgreSQL Flexible Server
WithPasswordAuthentication(options ...*WithPasswordAuthenticationOptions) AzurePostgresFlexibleServerResource
options...*WithPasswordAuthenticationOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithPasswordAuthenticationOptions argument.

KeyVaultBuilder*AzureKeyVaultResource
UserName*ParameterResource
Password*ParameterResource
AzurePostgresFlexibleServerResource

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

Defined on

This method is defined on the following type: