Skip to content
DocsTry Aspire
DocsTry

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

Applies to

This method applies to the following types: