Skip to content
DocsTry Aspire
DocsTry

RedisResource.withPassword

Method
📦 Aspire.Hosting.Redis v13.4.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
passwordParameterResource
RedisResource

Defined on

This method is defined on the following type: