Skip to content
Docs Try Aspire
Docs Try

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

Applies to

This method applies to the following types: