Closed yw662 closed 1 year ago
@yw662,
At the moment it does not support secret rotation, or multiple secrets at same time. Perhaps adding support for secret arrays
would be a fix to this. You can of course try to open session with different secrets and do the secret management on your own. Or make a wrapper around session library to do secret management on top.
The new version 4.0.0 has options for secret rotation (aka fallback secrets)
If the server need to run for a long time without restarting, server secret will need to be renewed periodically. So, will lua-resty-session do it automatically, or does it provide a way to do that ?