@aws-sdk/client-secrets-manager 3.180.0 → 3.183.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.
- package/CHANGELOG.md +20 -0
- package/dist-cjs/models/models_0.js +11 -2
- package/dist-cjs/protocols/Aws_json1_1.js +28 -22
- package/dist-es/SecretsManager.js +90 -97
- package/dist-es/SecretsManagerClient.js +22 -28
- package/dist-es/commands/CancelRotateSecretCommand.js +21 -28
- package/dist-es/commands/CreateSecretCommand.js +21 -28
- package/dist-es/commands/DeleteResourcePolicyCommand.js +21 -28
- package/dist-es/commands/DeleteSecretCommand.js +21 -28
- package/dist-es/commands/DescribeSecretCommand.js +21 -28
- package/dist-es/commands/GetRandomPasswordCommand.js +21 -28
- package/dist-es/commands/GetResourcePolicyCommand.js +21 -28
- package/dist-es/commands/GetSecretValueCommand.js +21 -28
- package/dist-es/commands/ListSecretVersionIdsCommand.js +21 -28
- package/dist-es/commands/ListSecretsCommand.js +21 -28
- package/dist-es/commands/PutResourcePolicyCommand.js +21 -28
- package/dist-es/commands/PutSecretValueCommand.js +21 -28
- package/dist-es/commands/RemoveRegionsFromReplicationCommand.js +21 -28
- package/dist-es/commands/ReplicateSecretToRegionsCommand.js +21 -28
- package/dist-es/commands/RestoreSecretCommand.js +21 -28
- package/dist-es/commands/RotateSecretCommand.js +21 -28
- package/dist-es/commands/StopReplicationToReplicaCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +22 -29
- package/dist-es/commands/UntagResourceCommand.js +22 -29
- package/dist-es/commands/UpdateSecretCommand.js +21 -28
- package/dist-es/commands/UpdateSecretVersionStageCommand.js +21 -28
- package/dist-es/commands/ValidateResourcePolicyCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SecretsManagerServiceException.js +5 -10
- package/dist-es/models/models_0.js +312 -195
- package/dist-es/pagination/ListSecretVersionIdsPaginator.js +25 -68
- package/dist-es/pagination/ListSecretsPaginator.js +25 -68
- package/dist-es/protocols/Aws_json1_1.js +1584 -2022
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-types/SecretsManager.d.ts +28 -4
- package/dist-types/commands/CancelRotateSecretCommand.d.ts +1 -0
- package/dist-types/commands/CreateSecretCommand.d.ts +1 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -0
- package/dist-types/commands/DeleteSecretCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSecretCommand.d.ts +1 -0
- package/dist-types/commands/GetRandomPasswordCommand.d.ts +1 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetSecretValueCommand.d.ts +1 -0
- package/dist-types/commands/ListSecretVersionIdsCommand.d.ts +1 -0
- package/dist-types/commands/ListSecretsCommand.d.ts +1 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -0
- package/dist-types/commands/PutSecretValueCommand.d.ts +3 -2
- package/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +1 -0
- package/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +1 -0
- package/dist-types/commands/RestoreSecretCommand.d.ts +1 -0
- package/dist-types/commands/RotateSecretCommand.d.ts +1 -0
- package/dist-types/commands/StopReplicationToReplicaCommand.d.ts +1 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSecretCommand.d.ts +5 -2
- package/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +1 -0
- package/dist-types/commands/ValidateResourcePolicyCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +8 -1
- package/dist-types/ts3.4/models/models_0.d.ts +8 -7
- package/package.json +33 -33
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import packageInfo from "../package.json";
|
|
3
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
3
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
@@ -12,15 +11,30 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
|
12
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
12
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
13
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
14
|
+
export const getRuntimeConfig = (config) => {
|
|
15
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
16
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
17
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
|
+
return {
|
|
19
|
+
...clientSharedValues,
|
|
20
|
+
...config,
|
|
21
|
+
runtime: "browser",
|
|
22
|
+
defaultsMode,
|
|
23
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
24
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
25
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
26
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
29
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
30
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
31
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
32
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
33
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
35
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
36
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
37
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
38
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
39
|
+
};
|
|
26
40
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import packageInfo from "../package.json";
|
|
3
2
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
3
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
@@ -15,16 +14,35 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar
|
|
|
15
14
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
15
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
17
16
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
18
|
-
export
|
|
19
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
export const getRuntimeConfig = (config) => {
|
|
20
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
21
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
22
|
+
return {
|
|
23
|
+
...clientSharedValues,
|
|
24
|
+
...config,
|
|
25
|
+
runtime: "node",
|
|
26
|
+
defaultsMode,
|
|
27
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
28
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
29
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
30
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
31
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
32
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
34
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
35
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: config?.retryMode ??
|
|
37
|
+
loadNodeConfig({
|
|
38
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
39
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
40
|
+
}),
|
|
41
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
42
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
43
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
46
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
47
|
+
};
|
|
30
48
|
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
2
1
|
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
3
2
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
export const getRuntimeConfig = (config) => {
|
|
4
|
+
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
5
|
+
return {
|
|
6
|
+
...browserDefaults,
|
|
7
|
+
...config,
|
|
8
|
+
runtime: "react-native",
|
|
9
|
+
sha256: config?.sha256 ?? Sha256,
|
|
10
|
+
};
|
|
8
11
|
};
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
2
|
import { defaultRegionInfoProvider } from "./endpoints";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
|
|
12
|
-
});
|
|
13
|
-
};
|
|
3
|
+
export const getRuntimeConfig = (config) => ({
|
|
4
|
+
apiVersion: "2017-10-17",
|
|
5
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
|
+
logger: config?.logger ?? {},
|
|
7
|
+
regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
|
|
8
|
+
serviceId: config?.serviceId ?? "Secrets Manager",
|
|
9
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
10
|
+
});
|
|
@@ -81,6 +81,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
81
81
|
* <a>UpdateSecretVersionStage</a> to change staging labels.
|
|
82
82
|
* For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html">How rotation works</a>.</p>
|
|
83
83
|
* <p>To turn on automatic rotation again, call <a>RotateSecret</a>.</p>
|
|
84
|
+
* <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>
|
|
84
85
|
* <p>
|
|
85
86
|
* <b>Required permissions: </b>
|
|
86
87
|
* <code>secretsmanager:CancelRotateSecret</code>.
|
|
@@ -116,6 +117,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
116
117
|
* <p>If the secret is in a different Amazon Web Services account from the credentials calling the API, then
|
|
117
118
|
* you can't use <code>aws/secretsmanager</code> to encrypt the secret, and you must create
|
|
118
119
|
* and use a customer managed KMS key. </p>
|
|
120
|
+
* <p>Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except <code>SecretBinary</code> or <code>SecretString</code> 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>
|
|
119
121
|
* <p>
|
|
120
122
|
* <b>Required permissions: </b>
|
|
121
123
|
* <code>secretsmanager:CreateSecret</code>. If you
|
|
@@ -131,6 +133,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
131
133
|
/**
|
|
132
134
|
* <p>Deletes the resource-based permission policy attached to the secret. To attach a policy to
|
|
133
135
|
* a secret, use <a>PutResourcePolicy</a>.</p>
|
|
136
|
+
* <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>
|
|
134
137
|
* <p>
|
|
135
138
|
* <b>Required permissions: </b>
|
|
136
139
|
* <code>secretsmanager:DeleteResourcePolicy</code>.
|
|
@@ -164,6 +167,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
164
167
|
* remove the <code>DeletionDate</code> and cancel the deletion of the secret.</p>
|
|
165
168
|
* <p>When a secret is scheduled for deletion, you cannot retrieve the secret value.
|
|
166
169
|
* You must first cancel the deletion with <a>RestoreSecret</a> and then you can retrieve the secret.</p>
|
|
170
|
+
* <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>
|
|
167
171
|
* <p>
|
|
168
172
|
* <b>Required permissions: </b>
|
|
169
173
|
* <code>secretsmanager:DeleteSecret</code>.
|
|
@@ -177,6 +181,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
177
181
|
/**
|
|
178
182
|
* <p>Retrieves the details of a secret. It does not include the encrypted secret value. Secrets Manager
|
|
179
183
|
* only returns fields that have a value in the response. </p>
|
|
184
|
+
* <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>
|
|
180
185
|
* <p>
|
|
181
186
|
* <b>Required permissions: </b>
|
|
182
187
|
* <code>secretsmanager:DescribeSecret</code>.
|
|
@@ -191,6 +196,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
191
196
|
* <p>Generates a random password. We recommend that you specify the
|
|
192
197
|
* maximum length and include every character type that the system you are generating a password
|
|
193
198
|
* for can support.</p>
|
|
199
|
+
* <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>
|
|
194
200
|
* <p>
|
|
195
201
|
* <b>Required permissions: </b>
|
|
196
202
|
* <code>secretsmanager:GetRandomPassword</code>.
|
|
@@ -206,6 +212,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
206
212
|
* secret. For more information about permissions policies attached to a secret, see
|
|
207
213
|
* <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_resource-policies.html">Permissions
|
|
208
214
|
* policies attached to a secret</a>.</p>
|
|
215
|
+
* <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>
|
|
209
216
|
* <p>
|
|
210
217
|
* <b>Required permissions: </b>
|
|
211
218
|
* <code>secretsmanager:GetResourcePolicy</code>.
|
|
@@ -226,6 +233,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
226
233
|
* <p>To retrieve the previous version of a secret, use <code>VersionStage</code> and specify
|
|
227
234
|
* AWSPREVIOUS. To revert to the previous version of a secret, call <a href="https://docs.aws.amazon.com/cli/latest/reference/secretsmanager/update-secret-version-stage.html">UpdateSecretVersionStage</a>.</p>
|
|
228
235
|
*
|
|
236
|
+
* <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>
|
|
229
237
|
* <p>
|
|
230
238
|
* <b>Required permissions: </b>
|
|
231
239
|
* <code>secretsmanager:GetSecretValue</code>.
|
|
@@ -247,6 +255,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
247
255
|
* <p>To get the secret value from <code>SecretString</code> or <code>SecretBinary</code>,
|
|
248
256
|
* call <a>GetSecretValue</a>.</p>
|
|
249
257
|
* <p>For information about finding secrets in the console, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_search-secret.html">Find secrets in Secrets Manager</a>.</p>
|
|
258
|
+
* <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>
|
|
250
259
|
* <p>
|
|
251
260
|
* <b>Required permissions: </b>
|
|
252
261
|
* <code>secretsmanager:ListSecrets</code>.
|
|
@@ -262,6 +271,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
262
271
|
* of a secret. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/getting-started.html#term_version">
|
|
263
272
|
* Secrets Manager concepts: Versions</a>.</p>
|
|
264
273
|
* <p>To list the secrets in the account, use <a>ListSecrets</a>.</p>
|
|
274
|
+
* <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>
|
|
265
275
|
* <p>
|
|
266
276
|
* <b>Required permissions: </b>
|
|
267
277
|
* <code>secretsmanager:ListSecretVersionIds</code>.
|
|
@@ -278,6 +288,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
278
288
|
* </p>
|
|
279
289
|
* <p>For information about attaching a policy in the console, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_resource-based-policies.html">Attach a
|
|
280
290
|
* permissions policy to a secret</a>.</p>
|
|
291
|
+
* <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>
|
|
281
292
|
* <p>
|
|
282
293
|
* <b>Required permissions: </b>
|
|
283
294
|
* <code>secretsmanager:PutResourcePolicy</code>.
|
|
@@ -301,8 +312,8 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
301
312
|
* If you don't include <code>VersionStages</code>, then Secrets Manager automatically
|
|
302
313
|
* moves the staging label <code>AWSCURRENT</code> to this version. If this operation creates
|
|
303
314
|
* the first version for the secret, then Secrets Manager
|
|
304
|
-
* automatically attaches the staging label <code>AWSCURRENT</code> to it
|
|
305
|
-
*
|
|
315
|
+
* automatically attaches the staging label <code>AWSCURRENT</code> to it.
|
|
316
|
+
* If this operation moves the staging label <code>AWSCURRENT</code> from another version to this
|
|
306
317
|
* version, then Secrets Manager also automatically moves the staging label <code>AWSPREVIOUS</code> to
|
|
307
318
|
* the version that <code>AWSCURRENT</code> was removed from.</p>
|
|
308
319
|
* <p>This operation is idempotent. If you call this operation with a <code>ClientRequestToken</code>
|
|
@@ -310,6 +321,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
310
321
|
* same secret data, the operation succeeds but does nothing. However, if the secret data is
|
|
311
322
|
* different, then the operation fails because you can't modify an existing version; you can
|
|
312
323
|
* only create new ones.</p>
|
|
324
|
+
* <p>Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except <code>SecretBinary</code> or <code>SecretString</code> 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>
|
|
313
325
|
* <p>
|
|
314
326
|
* <b>Required permissions: </b>
|
|
315
327
|
* <code>secretsmanager:PutSecretValue</code>.
|
|
@@ -322,6 +334,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
322
334
|
putSecretValue(args: PutSecretValueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutSecretValueCommandOutput) => void): void;
|
|
323
335
|
/**
|
|
324
336
|
* <p>For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify.</p>
|
|
337
|
+
* <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>
|
|
325
338
|
* <p>
|
|
326
339
|
* <b>Required permissions: </b>
|
|
327
340
|
* <code>secretsmanager:RemoveRegionsFromReplication</code>.
|
|
@@ -334,6 +347,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
334
347
|
removeRegionsFromReplication(args: RemoveRegionsFromReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveRegionsFromReplicationCommandOutput) => void): void;
|
|
335
348
|
/**
|
|
336
349
|
* <p>Replicates the secret to a new Regions. See <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/create-manage-multi-region-secrets.html">Multi-Region secrets</a>.</p>
|
|
350
|
+
* <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>
|
|
337
351
|
* <p>
|
|
338
352
|
* <b>Required permissions: </b>
|
|
339
353
|
* <code>secretsmanager:ReplicateSecretToRegions</code>.
|
|
@@ -347,6 +361,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
347
361
|
/**
|
|
348
362
|
* <p>Cancels the scheduled deletion of a secret by removing the <code>DeletedDate</code> time
|
|
349
363
|
* stamp. You can access a secret again after it has been restored.</p>
|
|
364
|
+
* <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>
|
|
350
365
|
* <p>
|
|
351
366
|
* <b>Required permissions: </b>
|
|
352
367
|
* <code>secretsmanager:RestoreSecret</code>.
|
|
@@ -383,6 +398,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
383
398
|
* version. If the <code>AWSPENDING</code> staging label is present but not attached to the same
|
|
384
399
|
* version as <code>AWSCURRENT</code>, then any later invocation of <code>RotateSecret</code>
|
|
385
400
|
* assumes that a previous rotation request is still in progress and returns an error.</p>
|
|
401
|
+
* <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>
|
|
386
402
|
* <p>
|
|
387
403
|
* <b>Required permissions: </b>
|
|
388
404
|
* <code>secretsmanager:RotateSecret</code>.
|
|
@@ -398,6 +414,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
398
414
|
/**
|
|
399
415
|
* <p>Removes the link between the replica secret and the primary secret and promotes the replica to a primary secret in the replica Region.</p>
|
|
400
416
|
* <p>You must call this operation from the Region in which you want to promote the replica to a primary secret.</p>
|
|
417
|
+
* <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>
|
|
401
418
|
* <p>
|
|
402
419
|
* <b>Required permissions: </b>
|
|
403
420
|
* <code>secretsmanager:StopReplicationToReplica</code>.
|
|
@@ -444,6 +461,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
444
461
|
* your permissions for this secret, then the operation is blocked and returns an Access Denied
|
|
445
462
|
* error.</p>
|
|
446
463
|
* </important>
|
|
464
|
+
* <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>
|
|
447
465
|
* <p>
|
|
448
466
|
* <b>Required permissions: </b>
|
|
449
467
|
* <code>secretsmanager:TagResource</code>.
|
|
@@ -464,6 +482,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
464
482
|
* permissions for this secret, then the operation is blocked and returns an Access Denied
|
|
465
483
|
* error.</p>
|
|
466
484
|
* </important>
|
|
485
|
+
* <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>
|
|
467
486
|
* <p>
|
|
468
487
|
* <b>Required permissions: </b>
|
|
469
488
|
* <code>secretsmanager:UntagResource</code>.
|
|
@@ -485,12 +504,15 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
485
504
|
* than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach
|
|
486
505
|
* the quota for secret versions.</p>
|
|
487
506
|
* <p>If you include <code>SecretString</code> or <code>SecretBinary</code> to create a new
|
|
488
|
-
* secret version, Secrets Manager automatically
|
|
489
|
-
* version. </
|
|
507
|
+
* secret version, Secrets Manager automatically moves the staging label <code>AWSCURRENT</code> to the new
|
|
508
|
+
* version. Then it attaches the label <code>AWSPREVIOUS</code>
|
|
509
|
+
* to the version that <code>AWSCURRENT</code> was removed from.</p>
|
|
510
|
+
*
|
|
490
511
|
* <p>If you call this operation with a <code>ClientRequestToken</code> that matches an existing version's
|
|
491
512
|
* <code>VersionId</code>, the operation results in an error. You can't modify an existing
|
|
492
513
|
* version, you can only create a new version. To remove a version, remove all staging labels from it. See
|
|
493
514
|
* <a>UpdateSecretVersionStage</a>.</p>
|
|
515
|
+
* <p>Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except <code>SecretBinary</code> or <code>SecretString</code> 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>
|
|
494
516
|
* <p>
|
|
495
517
|
* <b>Required permissions: </b>
|
|
496
518
|
* <code>secretsmanager:UpdateSecret</code>.
|
|
@@ -520,6 +542,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
520
542
|
* </note>
|
|
521
543
|
* <p>If this action results in the last label being removed from a version, then the version is
|
|
522
544
|
* considered to be 'deprecated' and can be deleted by Secrets Manager.</p>
|
|
545
|
+
* <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>
|
|
523
546
|
* <p>
|
|
524
547
|
* <b>Required permissions: </b>
|
|
525
548
|
* <code>secretsmanager:UpdateSecretVersionStage</code>.
|
|
@@ -546,6 +569,7 @@ export declare class SecretsManager extends SecretsManagerClient {
|
|
|
546
569
|
* <p>Verifies the policy does not lock out a caller.</p>
|
|
547
570
|
* </li>
|
|
548
571
|
* </ul>
|
|
572
|
+
* <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>
|
|
549
573
|
* <p>
|
|
550
574
|
* <b>Required permissions: </b>
|
|
551
575
|
* <code>secretsmanager:ValidateResourcePolicy</code>.
|
|
@@ -19,6 +19,7 @@ export interface CancelRotateSecretCommandOutput extends CancelRotateSecretRespo
|
|
|
19
19
|
* <a>UpdateSecretVersionStage</a> to change staging labels.
|
|
20
20
|
* For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html">How rotation works</a>.</p>
|
|
21
21
|
* <p>To turn on automatic rotation again, call <a>RotateSecret</a>.</p>
|
|
22
|
+
* <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>
|
|
22
23
|
* <p>
|
|
23
24
|
* <b>Required permissions: </b>
|
|
24
25
|
* <code>secretsmanager:CancelRotateSecret</code>.
|
|
@@ -31,6 +31,7 @@ export interface CreateSecretCommandOutput extends CreateSecretResponse, __Metad
|
|
|
31
31
|
* <p>If the secret is in a different Amazon Web Services account from the credentials calling the API, then
|
|
32
32
|
* you can't use <code>aws/secretsmanager</code> to encrypt the secret, and you must create
|
|
33
33
|
* and use a customer managed KMS key. </p>
|
|
34
|
+
* <p>Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except <code>SecretBinary</code> or <code>SecretString</code> 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>
|
|
34
35
|
* <p>
|
|
35
36
|
* <b>Required permissions: </b>
|
|
36
37
|
* <code>secretsmanager:CreateSecret</code>. If you
|
|
@@ -9,6 +9,7 @@ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyR
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Deletes the resource-based permission policy attached to the secret. To attach a policy to
|
|
11
11
|
* a secret, use <a>PutResourcePolicy</a>.</p>
|
|
12
|
+
* <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>
|
|
12
13
|
* <p>
|
|
13
14
|
* <b>Required permissions: </b>
|
|
14
15
|
* <code>secretsmanager:DeleteResourcePolicy</code>.
|
|
@@ -29,6 +29,7 @@ export interface DeleteSecretCommandOutput extends DeleteSecretResponse, __Metad
|
|
|
29
29
|
* remove the <code>DeletionDate</code> and cancel the deletion of the secret.</p>
|
|
30
30
|
* <p>When a secret is scheduled for deletion, you cannot retrieve the secret value.
|
|
31
31
|
* You must first cancel the deletion with <a>RestoreSecret</a> and then you can retrieve the secret.</p>
|
|
32
|
+
* <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>
|
|
32
33
|
* <p>
|
|
33
34
|
* <b>Required permissions: </b>
|
|
34
35
|
* <code>secretsmanager:DeleteSecret</code>.
|
|
@@ -9,6 +9,7 @@ export interface DescribeSecretCommandOutput extends DescribeSecretResponse, __M
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Retrieves the details of a secret. It does not include the encrypted secret value. Secrets Manager
|
|
11
11
|
* only returns fields that have a value in the response. </p>
|
|
12
|
+
* <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>
|
|
12
13
|
* <p>
|
|
13
14
|
* <b>Required permissions: </b>
|
|
14
15
|
* <code>secretsmanager:DescribeSecret</code>.
|
|
@@ -10,6 +10,7 @@ export interface GetRandomPasswordCommandOutput extends GetRandomPasswordRespons
|
|
|
10
10
|
* <p>Generates a random password. We recommend that you specify the
|
|
11
11
|
* maximum length and include every character type that the system you are generating a password
|
|
12
12
|
* for can support.</p>
|
|
13
|
+
* <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>
|
|
13
14
|
* <p>
|
|
14
15
|
* <b>Required permissions: </b>
|
|
15
16
|
* <code>secretsmanager:GetRandomPassword</code>.
|
|
@@ -11,6 +11,7 @@ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyRespons
|
|
|
11
11
|
* secret. For more information about permissions policies attached to a secret, see
|
|
12
12
|
* <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_resource-policies.html">Permissions
|
|
13
13
|
* policies attached to a secret</a>.</p>
|
|
14
|
+
* <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>
|
|
14
15
|
* <p>
|
|
15
16
|
* <b>Required permissions: </b>
|
|
16
17
|
* <code>secretsmanager:GetResourcePolicy</code>.
|
|
@@ -16,6 +16,7 @@ export interface GetSecretValueCommandOutput extends GetSecretValueResponse, __M
|
|
|
16
16
|
* <p>To retrieve the previous version of a secret, use <code>VersionStage</code> and specify
|
|
17
17
|
* AWSPREVIOUS. To revert to the previous version of a secret, call <a href="https://docs.aws.amazon.com/cli/latest/reference/secretsmanager/update-secret-version-stage.html">UpdateSecretVersionStage</a>.</p>
|
|
18
18
|
*
|
|
19
|
+
* <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>
|
|
19
20
|
* <p>
|
|
20
21
|
* <b>Required permissions: </b>
|
|
21
22
|
* <code>secretsmanager:GetSecretValue</code>.
|
|
@@ -11,6 +11,7 @@ export interface ListSecretVersionIdsCommandOutput extends ListSecretVersionIdsR
|
|
|
11
11
|
* of a secret. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/getting-started.html#term_version">
|
|
12
12
|
* Secrets Manager concepts: Versions</a>.</p>
|
|
13
13
|
* <p>To list the secrets in the account, use <a>ListSecrets</a>.</p>
|
|
14
|
+
* <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>
|
|
14
15
|
* <p>
|
|
15
16
|
* <b>Required permissions: </b>
|
|
16
17
|
* <code>secretsmanager:ListSecretVersionIds</code>.
|
|
@@ -15,6 +15,7 @@ export interface ListSecretsCommandOutput extends ListSecretsResponse, __Metadat
|
|
|
15
15
|
* <p>To get the secret value from <code>SecretString</code> or <code>SecretBinary</code>,
|
|
16
16
|
* call <a>GetSecretValue</a>.</p>
|
|
17
17
|
* <p>For information about finding secrets in the console, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_search-secret.html">Find secrets in Secrets Manager</a>.</p>
|
|
18
|
+
* <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>
|
|
18
19
|
* <p>
|
|
19
20
|
* <b>Required permissions: </b>
|
|
20
21
|
* <code>secretsmanager:ListSecrets</code>.
|
|
@@ -12,6 +12,7 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
|
|
|
12
12
|
* </p>
|
|
13
13
|
* <p>For information about attaching a policy in the console, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_resource-based-policies.html">Attach a
|
|
14
14
|
* permissions policy to a secret</a>.</p>
|
|
15
|
+
* <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>
|
|
15
16
|
* <p>
|
|
16
17
|
* <b>Required permissions: </b>
|
|
17
18
|
* <code>secretsmanager:PutResourcePolicy</code>.
|
|
@@ -19,8 +19,8 @@ export interface PutSecretValueCommandOutput extends PutSecretValueResponse, __M
|
|
|
19
19
|
* If you don't include <code>VersionStages</code>, then Secrets Manager automatically
|
|
20
20
|
* moves the staging label <code>AWSCURRENT</code> to this version. If this operation creates
|
|
21
21
|
* the first version for the secret, then Secrets Manager
|
|
22
|
-
* automatically attaches the staging label <code>AWSCURRENT</code> to it
|
|
23
|
-
*
|
|
22
|
+
* automatically attaches the staging label <code>AWSCURRENT</code> to it.
|
|
23
|
+
* If this operation moves the staging label <code>AWSCURRENT</code> from another version to this
|
|
24
24
|
* version, then Secrets Manager also automatically moves the staging label <code>AWSPREVIOUS</code> to
|
|
25
25
|
* the version that <code>AWSCURRENT</code> was removed from.</p>
|
|
26
26
|
* <p>This operation is idempotent. If you call this operation with a <code>ClientRequestToken</code>
|
|
@@ -28,6 +28,7 @@ export interface PutSecretValueCommandOutput extends PutSecretValueResponse, __M
|
|
|
28
28
|
* same secret data, the operation succeeds but does nothing. However, if the secret data is
|
|
29
29
|
* different, then the operation fails because you can't modify an existing version; you can
|
|
30
30
|
* only create new ones.</p>
|
|
31
|
+
* <p>Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except <code>SecretBinary</code> or <code>SecretString</code> 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>
|
|
31
32
|
* <p>
|
|
32
33
|
* <b>Required permissions: </b>
|
|
33
34
|
* <code>secretsmanager:PutSecretValue</code>.
|
|
@@ -8,6 +8,7 @@ export interface RemoveRegionsFromReplicationCommandOutput extends RemoveRegions
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify.</p>
|
|
11
|
+
* <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>
|
|
11
12
|
* <p>
|
|
12
13
|
* <b>Required permissions: </b>
|
|
13
14
|
* <code>secretsmanager:RemoveRegionsFromReplication</code>.
|
|
@@ -8,6 +8,7 @@ export interface ReplicateSecretToRegionsCommandOutput extends ReplicateSecretTo
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Replicates the secret to a new Regions. See <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/create-manage-multi-region-secrets.html">Multi-Region secrets</a>.</p>
|
|
11
|
+
* <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>
|
|
11
12
|
* <p>
|
|
12
13
|
* <b>Required permissions: </b>
|
|
13
14
|
* <code>secretsmanager:ReplicateSecretToRegions</code>.
|
|
@@ -9,6 +9,7 @@ export interface RestoreSecretCommandOutput extends RestoreSecretResponse, __Met
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Cancels the scheduled deletion of a secret by removing the <code>DeletedDate</code> time
|
|
11
11
|
* stamp. You can access a secret again after it has been restored.</p>
|
|
12
|
+
* <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>
|
|
12
13
|
* <p>
|
|
13
14
|
* <b>Required permissions: </b>
|
|
14
15
|
* <code>secretsmanager:RestoreSecret</code>.
|
|
@@ -32,6 +32,7 @@ export interface RotateSecretCommandOutput extends RotateSecretResponse, __Metad
|
|
|
32
32
|
* version. If the <code>AWSPENDING</code> staging label is present but not attached to the same
|
|
33
33
|
* version as <code>AWSCURRENT</code>, then any later invocation of <code>RotateSecret</code>
|
|
34
34
|
* assumes that a previous rotation request is still in progress and returns an error.</p>
|
|
35
|
+
* <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>
|
|
35
36
|
* <p>
|
|
36
37
|
* <b>Required permissions: </b>
|
|
37
38
|
* <code>secretsmanager:RotateSecret</code>.
|
|
@@ -9,6 +9,7 @@ export interface StopReplicationToReplicaCommandOutput extends StopReplicationTo
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Removes the link between the replica secret and the primary secret and promotes the replica to a primary secret in the replica Region.</p>
|
|
11
11
|
* <p>You must call this operation from the Region in which you want to promote the replica to a primary secret.</p>
|
|
12
|
+
* <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>
|
|
12
13
|
* <p>
|
|
13
14
|
* <b>Required permissions: </b>
|
|
14
15
|
* <code>secretsmanager:StopReplicationToReplica</code>.
|
|
@@ -42,6 +42,7 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
42
42
|
* your permissions for this secret, then the operation is blocked and returns an Access Denied
|
|
43
43
|
* error.</p>
|
|
44
44
|
* </important>
|
|
45
|
+
* <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>
|
|
45
46
|
* <p>
|
|
46
47
|
* <b>Required permissions: </b>
|
|
47
48
|
* <code>secretsmanager:TagResource</code>.
|
|
@@ -16,6 +16,7 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
16
16
|
* permissions for this secret, then the operation is blocked and returns an Access Denied
|
|
17
17
|
* error.</p>
|
|
18
18
|
* </important>
|
|
19
|
+
* <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>
|
|
19
20
|
* <p>
|
|
20
21
|
* <b>Required permissions: </b>
|
|
21
22
|
* <code>secretsmanager:UntagResource</code>.
|
|
@@ -17,12 +17,15 @@ export interface UpdateSecretCommandOutput extends UpdateSecretResponse, __Metad
|
|
|
17
17
|
* than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach
|
|
18
18
|
* the quota for secret versions.</p>
|
|
19
19
|
* <p>If you include <code>SecretString</code> or <code>SecretBinary</code> to create a new
|
|
20
|
-
* secret version, Secrets Manager automatically
|
|
21
|
-
* version. </
|
|
20
|
+
* secret version, Secrets Manager automatically moves the staging label <code>AWSCURRENT</code> to the new
|
|
21
|
+
* version. Then it attaches the label <code>AWSPREVIOUS</code>
|
|
22
|
+
* to the version that <code>AWSCURRENT</code> was removed from.</p>
|
|
23
|
+
*
|
|
22
24
|
* <p>If you call this operation with a <code>ClientRequestToken</code> that matches an existing version's
|
|
23
25
|
* <code>VersionId</code>, the operation results in an error. You can't modify an existing
|
|
24
26
|
* version, you can only create a new version. To remove a version, remove all staging labels from it. See
|
|
25
27
|
* <a>UpdateSecretVersionStage</a>.</p>
|
|
28
|
+
* <p>Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except <code>SecretBinary</code> or <code>SecretString</code> 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>
|
|
26
29
|
* <p>
|
|
27
30
|
* <b>Required permissions: </b>
|
|
28
31
|
* <code>secretsmanager:UpdateSecret</code>.
|
|
@@ -22,6 +22,7 @@ export interface UpdateSecretVersionStageCommandOutput extends UpdateSecretVersi
|
|
|
22
22
|
* </note>
|
|
23
23
|
* <p>If this action results in the last label being removed from a version, then the version is
|
|
24
24
|
* considered to be 'deprecated' and can be deleted by Secrets Manager.</p>
|
|
25
|
+
* <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>
|
|
25
26
|
* <p>
|
|
26
27
|
* <b>Required permissions: </b>
|
|
27
28
|
* <code>secretsmanager:UpdateSecretVersionStage</code>.
|
|
@@ -22,6 +22,7 @@ export interface ValidateResourcePolicyCommandOutput extends ValidateResourcePol
|
|
|
22
22
|
* <p>Verifies the policy does not lock out a caller.</p>
|
|
23
23
|
* </li>
|
|
24
24
|
* </ul>
|
|
25
|
+
* <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>
|
|
25
26
|
* <p>
|
|
26
27
|
* <b>Required permissions: </b>
|
|
27
28
|
* <code>secretsmanager:ValidateResourcePolicy</code>.
|