Skip to content
Docs Try Aspire
Docs Try

withPassword

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

Signature

method withPassword builder
Configures the password that the PostgreSQL resource is used.
withPassword(password: ParameterResource): PostgresServerResource
password ParameterResource
PostgresServerResource

Applies to

This method applies to the following types: