Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2464

Consider clear azure cached token in case of failure

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: Client Side Encryption
    • Labels:
      None
    • Needed

      Summary

      DRIVERS-2411 introduced caching of azure token with azure KMS provider, but didn't specify rules when this cache should be cleared. In particular, I think it would be good to clear the cached token when previous usage of this token failed.

      Motivation

      How does this affect the end user?

      It may be a problem if token became invalid even though expiration date is still not exceeded. Not sure how likely it can happen but still

      Is this issue urgent?

      nope

      Is this ticket only for tests?

      no

            Assignee:
            Unassigned Unassigned
            Reporter:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: