-
Notifications
You must be signed in to change notification settings - Fork 485
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the clock skew calculation in auth tokens for IAM-based authentic…
…ation with AWS RDS (#5119) * Fix the clock skew calculation in auth tokens for AWS RDS Signed-off-by: Agustín Martínez Fayó <[email protected]> * - Rename isExpired() function to shouldRotate() and add a comment - Use the newly added clockSkew constant Signed-off-by: Agustín Martínez Fayó <[email protected]> --------- Signed-off-by: Agustín Martínez Fayó <[email protected]> Co-authored-by: Andrew Harding <[email protected]>
- Loading branch information
1 parent
76a5e69
commit 00f2ca5
Showing
3 changed files
with
34 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters