improvements: final feedback and ssl enforcement

This commit is contained in:
Scott Wilson
2025-04-04 13:28:01 -07:00
parent cd333a7923
commit 06fc4e955d
9 changed files with 52 additions and 24 deletions
@@ -597,7 +597,7 @@ export const secretRotationV2ServiceFactory = ({
const nextRotationAt = calculateNextRotationAt({
...(secretRotation as TSecretRotationV2),
...payload,
isManualRotation: false
isManualRotation: secretRotation.isLastRotationManual
});
let secretsMappingUpdated = false;
@@ -892,6 +892,7 @@ export const secretRotationV2ServiceFactory = ({
{
encryptedGeneratedCredentials: encryptedUpdatedCredentials,
activeIndex: inactiveIndex,
isLastRotationManual: isManualRotation,
lastRotatedAt: currentTime,
lastRotationAttemptedAt: currentTime,
nextRotationAt: calculateNextRotationAt({