Interface RedisCredentialsProvider

    • Method Detail

      • prepare

        default void prepare()
        Prepare RedisCredentials before Supplier.get() is called.

        An application may:

        • Load credentials from the credentials management system
        • Reload credentials when credentials are rotated.
        • Reload credentials after an authentication error (e.g. NOAUTH, WRONGPASS, etc).
        • Minimize the time that the password lives in the memory (in combination with cleanUp()).
      • cleanUp

        default void cleanUp()
        Clean up credentials (e.g. from memory).
        See Also:
        prepare()