RedisResource.withPassword

Method
📦 Aspire.Hosting.Redis v17.0.0
interface RedisResource {
// ... omitted for brevity
withPassword(password: ParameterResource): RedisResource;
}

Signature

methodwithPasswordbuilder
Configures the password that the Redis resource is used.
withPassword(password: ParameterResource): RedisResource
passwordParameterResourceThe parameter used to provide the password for the Redis resource. If `null`, no password will be configured.
RedisResource

Defined on

This method is defined on the following type: