How to determine if session token of cached client is expired? #2940
Unanswered
PhilipDeFraties
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I'm not certain about how the wt_s3_signer gem works. If using the Aws::S3::Presigner class, credentials are automatically refreshed if close to expiring, and the URL is constructed with an expires time that satisfies the credential's expiration time. May I ask why you're using a different gem to do this functionality and is the speed penalty that big? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to determine if a cached client has an expired session token?
We utilize the 'wt_s3_signer' gem to quickly generate presigned s3 urls, however there is an intermittent issue in which a signer object is created and cached with a security token that is nearly expired, resulting in broken urls. Is there an efficient way to check to see how much longer the token is valid for?
Beta Was this translation helpful? Give feedback.
All reactions