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:
See The mfsecretsadmin Utility for more information.
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:NRQSOR1You would create an entry in your vault using the following mfsecretsadmin command:
mfsecretsadmin write microfocus/CAS/SOR-RedisLocal-Pass passwordSee Vault Facility for more information.