Skip to content

Conversation

@J-Wick4
Copy link

@J-Wick4 J-Wick4 commented Aug 30, 2025

Added Redis Authentication for secured Redis installations, along with database selection.

Description

This change enables authentication with Redis/Valkey for extra security.

Motivation and Context

This solves security with Redis/Valkey in case of multiple users.

How To Test This

After updating to this version of SugarCacheRedis.php update your config_override.php file with the following:

$sugar_config['external_cache']['redis']['host'] = 'localhost';
$sugar_config['external_cache']['redis']['port'] = 6379;
$sugar_config['external_cache']['redis']['password'] = 'PASSWORD';
$sugar_config['external_cache']['redis']['database'] = 1;
$sugar_config['external_cache_disabled_redis'] = false;

Clear your cache and check your Redis/Valkey for populated values.

Types of changes

  • New feature (non-breaking change which adds functionality)

Final checklist

  • My code follows the code style of this project found here.
  • My change requires a change to the documentation.
  • I have read the How to Contribute guidelines.

Added Redis Authentication for secured Redis installations, along with database selection.
@SuiteBot
Copy link

SuiteBot commented Aug 30, 2025

CLA assistant check
All committers have signed the CLA.

@mattlorimer mattlorimer added the Type:Suite7 Issue Spefc to SuiteCRM 7 that should be in the SuiteCRM 7 repo label Nov 7, 2025
@J-Wick4 J-Wick4 closed this Jan 15, 2026
@J-Wick4 J-Wick4 deleted the patch-1 branch January 15, 2026 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type:Suite7 Issue Spefc to SuiteCRM 7 that should be in the SuiteCRM 7 repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants