You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/client-secrets-manager/src/SecretsManager.ts
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -859,6 +859,7 @@ export class SecretsManager extends SecretsManagerClient {
859
859
* version. If the <code>AWSPENDING</code> staging label is present but not attached to the same
860
860
* version as <code>AWSCURRENT</code>, then any later invocation of <code>RotateSecret</code>
861
861
* assumes that a previous rotation request is still in progress and returns an error.</p>
862
+
* <p>When rotation is unsuccessful, the <code>AWSPENDING</code> staging label might be attached to an empty secret version. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot_rotation.html">Troubleshoot rotation</a> in the <i>Secrets Manager User Guide</i>.</p>
862
863
* <p>Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html">Logging Secrets Manager events with CloudTrail</a>.</p>
* version. If the <code>AWSPENDING</code> staging label is present but not attached to the same
55
55
* version as <code>AWSCURRENT</code>, then any later invocation of <code>RotateSecret</code>
56
56
* assumes that a previous rotation request is still in progress and returns an error.</p>
57
+
* <p>When rotation is unsuccessful, the <code>AWSPENDING</code> staging label might be attached to an empty secret version. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot_rotation.html">Troubleshoot rotation</a> in the <i>Secrets Manager User Guide</i>.</p>
57
58
* <p>Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html">Logging Secrets Manager events with CloudTrail</a>.</p>
* <p>In <code>DescribeSecret</code> and <code>ListSecrets</code>, this value is calculated from
608
608
* the rotation schedule after every successful rotation. In <code>RotateSecret</code>, you can
609
609
* set the rotation schedule in <code>RotationRules</code> with <code>AutomaticallyAfterDays</code>
610
-
* or <code>ScheduleExpression</code>, but not both.</p>
610
+
* or <code>ScheduleExpression</code>, but not both. To set a rotation schedule in hours, use
611
+
* <code>ScheduleExpression</code>.</p>
611
612
*/
612
613
AutomaticallyAfterDays?: number;
613
614
614
615
/**
615
-
* <p>The length of the rotation window in hours, for example <code>3h</code> for a three hour window. Secrets Manager
616
-
* rotates your secret at any time during this window. The window must not go into the next UTC
617
-
* day. If you don't specify this value, the window automatically ends at the end of
618
-
* the UTC day. The window begins according to the <code>ScheduleExpression</code>. For more
619
-
* information, including examples, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_schedule.html">Schedule expressions
620
-
* in Secrets Manager rotation</a>.</p>
616
+
* <p>The length of the rotation window in hours, for example <code>3h</code> for a three
617
+
* hour window. Secrets Manager rotates your secret at any time during this window. The window must not
618
+
* extend into the next rotation window or the next UTC day. The window starts according to the <code>ScheduleExpression</code>. If you don't specify a <code>Duration</code>,
619
+
* for a <code>ScheduleExpression</code> in hours, the window automatically closes after one
620
+
* hour. For a <code>ScheduleExpression</code> in days, the window automatically closes at the
621
+
* end of the UTC day. For
622
+
* more information, including examples, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_schedule.html">Schedule expressions
623
+
* in Secrets Manager rotation</a> in the <i>Secrets Manager Users Guide</i>.</p>
621
624
*/
622
625
Duration?: string;
623
626
624
627
/**
625
628
* <p>A <code>cron()</code> or <code>rate()</code> expression that defines the schedule for
626
-
* rotating your secret. Secrets Manager rotation schedules use UTC time zone. </p>
* represent the interval in days that you want to rotate your secret, for example
629
-
* <code>rate(10 days)</code>. If you use a <code>rate()</code> expression, the rotation
630
-
* window opens at midnight, and Secrets Manager rotates your secret any time that day after midnight.
631
-
* You can set a <code>Duration</code> to shorten the rotation window.</p>
632
-
* <p>You can use a <code>cron()</code> expression to create rotation schedules that are
629
+
* rotating your secret. Secrets Manager rotation schedules use UTC time zone. Secrets Manager rotates your secret any time during a rotation window.</p>
630
+
* <p>Secrets Manager <code>rate()</code> expressions represent the interval in hours or days that you
631
+
* want to rotate your secret, for example <code>rate(12 hours)</code> or
632
+
* <code>rate(10 days)</code>. You can rotate a secret as often as every four hours. If you
633
+
* use a <code>rate()</code> expression, the rotation
634
+
* window starts at midnight. For a rate in hours, the default rotation window closes after one
635
+
* hour. For a rate in days, the default rotation window closes at the end of the day. You can
636
+
* set the <code>Duration</code> to change the rotation window. The rotation window must not
637
+
* extend into the next UTC day or into the next rotation window.</p>
638
+
* <p>You can use a <code>cron()</code> expression to create a rotation schedule that is
633
639
* more detailed than a rotation interval. For more information, including examples, see
0 commit comments