Redis Access Policies keys are case sensitive but are forced lowercase in azure portal

Ryan Rohm 0 Reputation points
2024-08-27T20:00:48.6633333+00:00

I am trying to create a restrictive access policy to only one key that is a stream, and the key is case sensitive e.g. has "someId" in the key, but when I add an access policy through the azure portal the key is lowercased. This causes my client to be unable to execute commands against the given key

Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
260 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShaktiSingh-MSFT 15,686 Reputation points
    2024-08-28T06:00:55.66+00:00

    Hi Ryan Rohm •,

    Welcome to Microsoft Q&A forum.

    As I understand, you are experiencing Redis Access Policies keys are case sensitive but are forced lowercase in azure portal.

    This is strange and not expected, could you please try to add access policy using Azure CLI

    https://learn.microsoft.com/en-us/cli/azure/redis/access-policy?view=azure-cli-latest

    and see if this helps.

    Awaiting your reply. Thanks

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.