Skip to content

support microsoft entra id for authentication with azure cache for redis (tokens can expire) #3405

Closed
@dimbleby

Description

@dimbleby

Azure cache for redis supports authentication using microsoft entra tokens, it would be great if I could make use of that with this client.

https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-azure-active-directory-for-authentication#microsoft-entra-client-workflow describes what needs doing, providing the appropriate values for username and password should be easy per the existing CredentialProvider interface.

However so far as I can see there is no mechanism for detecting that the token is about to expire and refreshing it and issuing a fresh AUTH.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions