Skip to content

Question about reconnection and expired credentials #40

@fturmel

Description

@fturmel

Hi! Hoping to test your cache handler on a project that is deployed on Azure services (AKS, Azure Cache for Redis).

We are looking into using a token (with TTL) as the password for the Redis resource, and I am wondering what behavior can be expected if the handler gets disconnected in this scenario. The token used during the initial connection may very well be expired at that point and the reconnection would fail. Based on your docs, it doesn't seem like there would be a way to get a fresh token when we try to reconnect, right?

If you want to see what this looks like in the scenario where you manage the Redis client directly, here's an example from the Azure SDK docs:
https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureCacheForRedis/node-redis.md

Thoughts? Thanks in advance!

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