@aws-sdk/client-secrets-manager 3.211.0 → 3.213.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1913,10 +1913,8 @@ const deserializeAws_json1_1SecretVersionsToStagesMapType = (output, context) =>
|
|
|
1913
1913
|
if (value === null) {
|
|
1914
1914
|
return acc;
|
|
1915
1915
|
}
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
[key]: deserializeAws_json1_1SecretVersionStagesType(value, context),
|
|
1919
|
-
};
|
|
1916
|
+
acc[key] = deserializeAws_json1_1SecretVersionStagesType(value, context);
|
|
1917
|
+
return acc;
|
|
1920
1918
|
}, {});
|
|
1921
1919
|
};
|
|
1922
1920
|
const deserializeAws_json1_1StopReplicationToReplicaResponse = (output, context) => {
|
|
@@ -1866,10 +1866,8 @@ const deserializeAws_json1_1SecretVersionsToStagesMapType = (output, context) =>
|
|
|
1866
1866
|
if (value === null) {
|
|
1867
1867
|
return acc;
|
|
1868
1868
|
}
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
[key]: deserializeAws_json1_1SecretVersionStagesType(value, context),
|
|
1872
|
-
};
|
|
1869
|
+
acc[key] = deserializeAws_json1_1SecretVersionStagesType(value, context);
|
|
1870
|
+
return acc;
|
|
1873
1871
|
}, {});
|
|
1874
1872
|
};
|
|
1875
1873
|
const deserializeAws_json1_1StopReplicationToReplicaResponse = (output, context) => {
|
|
@@ -398,6 +398,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
398
398
|
* version. If the <code>AWSPENDING</code> staging label is present but not attached to the same
|
|
399
399
|
* version as <code>AWSCURRENT</code>, then any later invocation of <code>RotateSecret</code>
|
|
400
400
|
* assumes that a previous rotation request is still in progress and returns an error.</p>
|
|
401
|
+
* <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>
|
|
401
402
|
* <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>
|
|
402
403
|
* <p>
|
|
403
404
|
* <b>Required permissions: </b>
|
|
@@ -33,6 +33,7 @@ export interface RotateSecretCommandOutput extends RotateSecretResponse, __Metad
|
|
|
33
33
|
* version. If the <code>AWSPENDING</code> staging label is present but not attached to the same
|
|
34
34
|
* version as <code>AWSCURRENT</code>, then any later invocation of <code>RotateSecret</code>
|
|
35
35
|
* assumes that a previous rotation request is still in progress and returns an error.</p>
|
|
36
|
+
* <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>
|
|
36
37
|
* <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>
|
|
37
38
|
* <p>
|
|
38
39
|
* <b>Required permissions: </b>
|
|
@@ -436,7 +436,7 @@ export interface DeleteSecretRequest {
|
|
|
436
436
|
* <p>Use this parameter with caution. This parameter causes the operation to skip the normal
|
|
437
437
|
* recovery window before the permanent deletion that Secrets Manager would normally impose with the
|
|
438
438
|
* <code>RecoveryWindowInDays</code> parameter. If you delete a secret with the
|
|
439
|
-
* <code>
|
|
439
|
+
* <code>ForceDeleteWithoutRecovery</code> parameter, then you have no opportunity to recover
|
|
440
440
|
* the secret. You lose the secret permanently.</p>
|
|
441
441
|
* </important>
|
|
442
442
|
*/
|
|
@@ -477,35 +477,40 @@ export interface RotationRulesType {
|
|
|
477
477
|
* <p>In <code>DescribeSecret</code> and <code>ListSecrets</code>, this value is calculated from
|
|
478
478
|
* the rotation schedule after every successful rotation. In <code>RotateSecret</code>, you can
|
|
479
479
|
* set the rotation schedule in <code>RotationRules</code> with <code>AutomaticallyAfterDays</code>
|
|
480
|
-
* or <code>ScheduleExpression</code>, but not both
|
|
480
|
+
* or <code>ScheduleExpression</code>, but not both. To set a rotation schedule in hours, use
|
|
481
|
+
* <code>ScheduleExpression</code>.</p>
|
|
481
482
|
*/
|
|
482
483
|
AutomaticallyAfterDays?: number;
|
|
483
484
|
/**
|
|
484
|
-
* <p>The length of the rotation window in hours, for example <code>3h</code> for a three
|
|
485
|
-
* rotates your secret at any time during this window. The window must not
|
|
486
|
-
*
|
|
487
|
-
*
|
|
488
|
-
*
|
|
489
|
-
*
|
|
485
|
+
* <p>The length of the rotation window in hours, for example <code>3h</code> for a three
|
|
486
|
+
* hour window. Secrets Manager rotates your secret at any time during this window. The window must not
|
|
487
|
+
* 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>,
|
|
488
|
+
* for a <code>ScheduleExpression</code> in hours, the window automatically closes after one
|
|
489
|
+
* hour. For a <code>ScheduleExpression</code> in days, the window automatically closes at the
|
|
490
|
+
* end of the UTC day. For
|
|
491
|
+
* more information, including examples, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_schedule.html">Schedule expressions
|
|
492
|
+
* in Secrets Manager rotation</a> in the <i>Secrets Manager Users Guide</i>.</p>
|
|
490
493
|
*/
|
|
491
494
|
Duration?: string;
|
|
492
495
|
/**
|
|
493
496
|
* <p>A <code>cron()</code> or <code>rate()</code> expression that defines the schedule for
|
|
494
|
-
* rotating your secret. Secrets Manager rotation schedules use UTC time zone.
|
|
495
|
-
* <p>Secrets Manager <code>rate()</code> expressions
|
|
496
|
-
*
|
|
497
|
-
* <code>rate(10 days)</code>.
|
|
498
|
-
*
|
|
499
|
-
*
|
|
500
|
-
*
|
|
497
|
+
* rotating your secret. Secrets Manager rotation schedules use UTC time zone. Secrets Manager rotates your secret any time during a rotation window.</p>
|
|
498
|
+
* <p>Secrets Manager <code>rate()</code> expressions represent the interval in hours or days that you
|
|
499
|
+
* want to rotate your secret, for example <code>rate(12 hours)</code> or
|
|
500
|
+
* <code>rate(10 days)</code>. You can rotate a secret as often as every four hours. If you
|
|
501
|
+
* use a <code>rate()</code> expression, the rotation
|
|
502
|
+
* window starts at midnight. For a rate in hours, the default rotation window closes after one
|
|
503
|
+
* hour. For a rate in days, the default rotation window closes at the end of the day. You can
|
|
504
|
+
* set the <code>Duration</code> to change the rotation window. The rotation window must not
|
|
505
|
+
* extend into the next UTC day or into the next rotation window.</p>
|
|
506
|
+
* <p>You can use a <code>cron()</code> expression to create a rotation schedule that is
|
|
501
507
|
* more detailed than a rotation interval. For more information, including examples, see
|
|
502
|
-
* <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_schedule.html">Schedule expressions
|
|
503
|
-
*
|
|
504
|
-
*
|
|
505
|
-
*
|
|
506
|
-
*
|
|
507
|
-
*
|
|
508
|
-
* the rotation window.</p>
|
|
508
|
+
* <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_schedule.html">Schedule expressions in
|
|
509
|
+
* Secrets Manager rotation</a> in the <i>Secrets Manager Users Guide</i>. For a cron expression
|
|
510
|
+
* that represents a schedule in hours, the default rotation window closes after one hour. For
|
|
511
|
+
* a cron expression that represents a schedule in days, the default rotation window closes at
|
|
512
|
+
* the end of the day. You can set the <code>Duration</code> to change the rotation window. The
|
|
513
|
+
* rotation window must not extend into the next UTC day or into the next rotation window.</p>
|
|
509
514
|
*/
|
|
510
515
|
ScheduleExpression?: string;
|
|
511
516
|
}
|
|
@@ -853,7 +858,7 @@ export interface ListSecretsRequest {
|
|
|
853
858
|
*/
|
|
854
859
|
Filters?: Filter[];
|
|
855
860
|
/**
|
|
856
|
-
* <p>
|
|
861
|
+
* <p>Secrets are listed by <code>CreatedDate</code>. </p>
|
|
857
862
|
*/
|
|
858
863
|
SortOrder?: SortOrderType | string;
|
|
859
864
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-secrets-manager",
|
|
3
3
|
"description": "AWS SDK for JavaScript Secrets Manager Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.213.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,36 +19,36 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.213.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.212.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.212.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.212.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.212.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.212.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.212.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.212.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.212.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.212.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.212.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.212.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.212.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.212.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.212.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.212.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.212.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.212.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.212.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.212.0",
|
|
42
|
+
"@aws-sdk/types": "3.212.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.212.0",
|
|
44
44
|
"@aws-sdk/util-base64": "3.208.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.212.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.212.0",
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.212.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-browser": "3.212.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-node": "3.212.0",
|
|
52
52
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
53
53
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
54
54
|
"tslib": "^2.3.1",
|