Skip to content
Docs Try Aspire
Docs Try

withPassword

Method
📦 Aspire.Hosting.PostgreSQL v13.3.0
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 method applies to the following types: