Skip to content
DocsTry Aspire
DocsTry

PostgresServerResource.withPassword

Method
📦 Aspire.Hosting.PostgreSQL v13.4.0
interface PostgresServerResource {
// ... omitted for brevity
withPassword(password: ParameterResource): PostgresServerResource;
}

Signature

methodwithPasswordbuilder
Configures the password that the PostgreSQL resource is used.
withPassword(password: ParameterResource): PostgresServerResource
passwordParameterResource
PostgresServerResource

Defined on

This method is defined on the following type: