Skip to content
Docs Try Aspire
Docs Try

RedisResource.withPassword

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

Signature

method withPassword builder
Configures the password that the Redis resource is used.
withPassword(password: ParameterResource): RedisResource
password ParameterResource
RedisResource

Defined on

This method is defined on the following type: