When syncing database static credentials role configured with scheduled rotation, the TTL is incorrectly rolled over within the same rotation period. Since, VSO relies on the TTL for its sync scheduling, an invalid TTL results in syncing stale credentials.
This fix, attempts to detect the TTL rollover bug, and ensure that current rotated creds are properly synced.
When syncing database static credentials role configured with scheduled rotation, the TTL is incorrectly rolled over within the same rotation period. Since, VSO relies on the TTL for its sync scheduling, an invalid TTL results in syncing stale credentials.
This fix, attempts to detect the TTL rollover bug, and ensure that current rotated creds are properly synced.