Providing Credentials for Redis using Secrets

If your Redis Scale-Out Repository (SOR) is configured to request credentials when being connected to, then you can store the credentials using the vault facility.

Use the mfsecretsadmin utility to write the Redis credential to the vault. Give the credential a name that identifies it for the SOR it relates to. The name must conform to the following standard:

microfocus/CAS/SOR-sorName-Pass

where:

microfocus/CAS/SOR-
Identifying prefix, specifies that this secret is used by a SOR.
sorName
This is the name of the SOR specified in the ES_SCALE_OUT_REPOS environment variable.
Note: The sorName must be specified in uppercase. The sorName can be specified in the SOR Configuration field, in the region's General Properties page of ESCWA.
-Pass
Identifying suffix, specifies that this is a password or credential.

See The mfsecretsadmin Utility for more information.

Example

For example, if you have the following configuration for your ES_SCALE_OUT_REPOS environment variable:

ES_SCALE_OUT_REPOS_1=RedisLocal=redis,127.0.0.1:12345##TMP#TD=AC*:TD*:RTDQ:SOR1#TS=A*:B+A:NRQSOR1
You would create an entry in your vault using the following mfsecretsadmin command:
mfsecretsadmin write microfocus/CAS/SOR-RedisLocal-Pass password
See Vault Facility for more information.
Note: This method of storing credentials does not support Redis Cluster.