The distributed cache retriever does not (appear to) return store keys in the current implementation (for the versions that I am running).
I can't work out the purpose of the "pattern: " in the expression and have looked through to the RedisValue. I can confirm that removing the "pattern" prefix then allows the keys command to work.
line 49
RedisValue valueToMatchWithRedisPattern = ignoreCase ? $"pattern: {valueToMatch.ToLower()}" : $"pattern: {valueToMatch}";
Redis: 7.2.1
StackExchangeRedis: 2.7.27
I have configured up the connection via IConnectionMultiplexer
Relates to #112
If this is too scant, let me know and I can provide more.