Skip to content
DocsTry Aspire
DocsTry

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

Applies to

This method applies to the following types: