This topic describes how to modify the value of the #no_loose_check-whitelist-always parameter to use the whitelist even when the password-free access feature is enabled.
Background
After password-free access is enabled, ApsaraDB for Redis does not restrict access from other services in the same Virtual Private Cloud (VPC) network based on the whitelist. For more information, see Enable password-free access. If password-free access is enabled but you want to allow only specified resources, such as a specified Elastic Compute Service (ECS) or RDS instance, to access your ApsaraDB for Redis instance, you need to modify the value of the #no_loose_check-whitelist-always parameter.
Specify the parameter in the ApsaraDB for Redis console
Call API operations to set parameters
You can also call the ModifyInstanceConfig operation to set parameters.