Skip to content
Docs Try Aspire

withPassword

Function
📦 Aspire.Hosting.PostgreSQL v13.2.0-preview.1.26159.1
interface PostgresServerResource {
// ... omitted for brevity
withPassword(password: ParameterResource): PostgresServerResource;
}

Signature

method withPassword builder
Configures the PostgreSQL password
withPassword(password: ParameterResource): PostgresServerResource
password ParameterResource
PostgresServerResource

Applies to

This function is an extension method on the following types: