@aws-sdk/client-secrets-manager 3.47.2 → 3.51.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +0 -27
  3. package/dist-cjs/endpoints.js +9 -0
  4. package/dist-cjs/protocols/Aws_json1_1.js +31 -0
  5. package/dist-es/endpoints.js +9 -0
  6. package/dist-es/protocols/Aws_json1_1.js +183 -155
  7. package/dist-types/SecretsManager.d.ts +148 -45
  8. package/dist-types/SecretsManagerClient.d.ts +8 -28
  9. package/dist-types/commands/CancelRotateSecretCommand.d.ts +6 -0
  10. package/dist-types/commands/CreateSecretCommand.d.ts +6 -0
  11. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -0
  12. package/dist-types/commands/DeleteSecretCommand.d.ts +6 -0
  13. package/dist-types/commands/DescribeSecretCommand.d.ts +6 -0
  14. package/dist-types/commands/GetRandomPasswordCommand.d.ts +6 -0
  15. package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -0
  16. package/dist-types/commands/GetSecretValueCommand.d.ts +11 -3
  17. package/dist-types/commands/ListSecretVersionIdsCommand.d.ts +5 -5
  18. package/dist-types/commands/ListSecretsCommand.d.ts +5 -4
  19. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -0
  20. package/dist-types/commands/PutSecretValueCommand.d.ts +6 -0
  21. package/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +6 -0
  22. package/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +6 -0
  23. package/dist-types/commands/RestoreSecretCommand.d.ts +6 -0
  24. package/dist-types/commands/RotateSecretCommand.d.ts +8 -2
  25. package/dist-types/commands/StopReplicationToReplicaCommand.d.ts +6 -0
  26. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  27. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  28. package/dist-types/commands/UpdateSecretCommand.d.ts +9 -3
  29. package/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +6 -0
  30. package/dist-types/commands/ValidateResourcePolicyCommand.d.ts +6 -0
  31. package/dist-types/models/models_0.d.ts +69 -20
  32. package/dist-types/ts3.4/models/models_0.d.ts +12 -6
  33. package/package.json +39 -33
@@ -34,21 +34,14 @@ import { SecretsManagerClient } from "./SecretsManagerClient";
34
34
  * </p>
35
35
  *
36
36
  * <p>This version of the Secrets Manager API Reference documents the Secrets Manager API version 2017-10-17.</p>
37
- * <note>
38
- * <p>As an alternative to using the API, you can use one of the Amazon Web Services SDKs, which consist of
39
- * libraries and sample code for various programming languages and platforms such as Java,
40
- * Ruby, .NET, iOS, and Android. The SDKs provide a convenient way to create programmatic
41
- * access to Amazon Web Services Secrets Manager. For example, the SDKs provide cryptographically signing requests,
42
- * managing errors, and retrying requests automatically. For more information about the Amazon Web Services
43
- * SDKs, including downloading and installing them, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>.</p>
44
- * </note>
45
- * <p>We recommend you use the Amazon Web Services SDKs to make programmatic API calls to Secrets Manager. However, you
46
- * also can use the Secrets Manager HTTP Query API to make direct calls to the Secrets Manager web service. To learn
47
- * more about the Secrets Manager HTTP Query API, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/query-requests.html">Making Query Requests</a> in the
48
- * <i>Amazon Web Services Secrets Manager User Guide</i>. </p>
49
- * <p>Secrets Manager API supports GET and POST requests for all actions, and doesn't require you to use
50
- * GET for some actions and POST for others. However, GET requests are subject to the limitation
51
- * size of a URL. Therefore, for operations that require larger sizes, use a POST request.</p>
37
+ *
38
+ *
39
+ *
40
+ *
41
+ *
42
+ *
43
+ *
44
+ *
52
45
  *
53
46
  *
54
47
  *
@@ -59,24 +52,11 @@ import { SecretsManagerClient } from "./SecretsManagerClient";
59
52
  * <p>
60
53
  * <b>Support and Feedback for Amazon Web Services Secrets Manager</b>
61
54
  * </p>
62
- *
63
55
  * <p>We welcome your feedback. Send your comments to <a href="mailto:awssecretsmanager-feedback@amazon.com">awssecretsmanager-feedback@amazon.com</a>, or post your feedback and questions in the <a href="http://forums.aws.amazon.com/forum.jspa?forumID=296">Amazon Web Services Secrets Manager Discussion Forum</a>. For more
64
56
  * information about the Amazon Web Services Discussion Forums, see <a href="http://forums.aws.amazon.com/help.jspa">Forums
65
57
  * Help</a>.</p>
66
58
  *
67
59
  * <p>
68
- * <b>How examples are presented</b>
69
- * </p>
70
- *
71
- * <p>The JSON that Amazon Web Services Secrets Manager expects as your request parameters and the service returns as a
72
- * response to HTTP query requests contain single, long strings without line breaks or white
73
- * space formatting. The JSON shown in the examples displays the code formatted with both line
74
- * breaks and white space to improve readability. When example input parameters can also cause
75
- * long strings extending beyond the screen, you can insert line breaks to enhance readability.
76
- * You should always submit the input as a single JSON text string.</p>
77
- *
78
- *
79
- * <p>
80
60
  * <b>Logging API Requests</b>
81
61
  * </p>
82
62
  * <p>Amazon Web Services Secrets Manager supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your Amazon Web Services
@@ -100,6 +80,12 @@ export declare class SecretsManager extends SecretsManagerClient {
100
80
  * new version to see if it should be deleted. You can delete a version by removing all staging labels
101
81
  * from it.</p>
102
82
  * </note>
83
+ * <p>
84
+ * <b>Required permissions: </b>
85
+ * <code>secretsmanager:CancelRotateSecret</code>.
86
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
87
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
88
+ * and access control in Secrets Manager</a>. </p>
103
89
  */
104
90
  cancelRotateSecret(args: CancelRotateSecretCommandInput, options?: __HttpHandlerOptions): Promise<CancelRotateSecretCommandOutput>;
105
91
  cancelRotateSecret(args: CancelRotateSecretCommandInput, cb: (err: any, data?: CancelRotateSecretCommandOutput) => void): void;
@@ -125,6 +111,12 @@ export declare class SecretsManager extends SecretsManagerClient {
125
111
  * <p>If the secret is in a different Amazon Web Services account from the credentials calling the API, then
126
112
  * you can't use <code>aws/secretsmanager</code> to encrypt the secret, and you must create
127
113
  * and use a customer managed KMS key. </p>
114
+ * <p>
115
+ * <b>Required permissions: </b>
116
+ * <code>secretsmanager:CreateSecret</code>.
117
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
118
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
119
+ * and access control in Secrets Manager</a>. </p>
128
120
  */
129
121
  createSecret(args: CreateSecretCommandInput, options?: __HttpHandlerOptions): Promise<CreateSecretCommandOutput>;
130
122
  createSecret(args: CreateSecretCommandInput, cb: (err: any, data?: CreateSecretCommandOutput) => void): void;
@@ -132,6 +124,12 @@ export declare class SecretsManager extends SecretsManagerClient {
132
124
  /**
133
125
  * <p>Deletes the resource-based permission policy attached to the secret. To attach a policy to
134
126
  * a secret, use <a>PutResourcePolicy</a>.</p>
127
+ * <p>
128
+ * <b>Required permissions: </b>
129
+ * <code>secretsmanager:DeleteResourcePolicy</code>.
130
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
131
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
132
+ * and access control in Secrets Manager</a>. </p>
135
133
  */
136
134
  deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcePolicyCommandOutput>;
137
135
  deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
@@ -150,6 +148,12 @@ export declare class SecretsManager extends SecretsManagerClient {
150
148
  * remove the <code>DeletionDate</code> and cancel the deletion of the secret.</p>
151
149
  * <p>In a secret scheduled for deletion, you cannot access the encrypted secret value.
152
150
  * To access that information, first cancel the deletion with <a>RestoreSecret</a> and then retrieve the information.</p>
151
+ * <p>
152
+ * <b>Required permissions: </b>
153
+ * <code>secretsmanager:DeleteSecret</code>.
154
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
155
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
156
+ * and access control in Secrets Manager</a>. </p>
153
157
  */
154
158
  deleteSecret(args: DeleteSecretCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSecretCommandOutput>;
155
159
  deleteSecret(args: DeleteSecretCommandInput, cb: (err: any, data?: DeleteSecretCommandOutput) => void): void;
@@ -157,6 +161,12 @@ export declare class SecretsManager extends SecretsManagerClient {
157
161
  /**
158
162
  * <p>Retrieves the details of a secret. It does not include the encrypted secret value. Secrets Manager
159
163
  * only returns fields that have a value in the response. </p>
164
+ * <p>
165
+ * <b>Required permissions: </b>
166
+ * <code>secretsmanager:DescribeSecret</code>.
167
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
168
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
169
+ * and access control in Secrets Manager</a>. </p>
160
170
  */
161
171
  describeSecret(args: DescribeSecretCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSecretCommandOutput>;
162
172
  describeSecret(args: DescribeSecretCommandInput, cb: (err: any, data?: DescribeSecretCommandOutput) => void): void;
@@ -165,6 +175,12 @@ export declare class SecretsManager extends SecretsManagerClient {
165
175
  * <p>Generates a random password. We recommend that you specify the
166
176
  * maximum length and include every character type that the system you are generating a password
167
177
  * for can support.</p>
178
+ * <p>
179
+ * <b>Required permissions: </b>
180
+ * <code>secretsmanager:GetRandomPassword</code>.
181
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
182
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
183
+ * and access control in Secrets Manager</a>. </p>
168
184
  */
169
185
  getRandomPassword(args: GetRandomPasswordCommandInput, options?: __HttpHandlerOptions): Promise<GetRandomPasswordCommandOutput>;
170
186
  getRandomPassword(args: GetRandomPasswordCommandInput, cb: (err: any, data?: GetRandomPasswordCommandOutput) => void): void;
@@ -174,6 +190,12 @@ export declare class SecretsManager extends SecretsManagerClient {
174
190
  * secret. For more information about permissions policies attached to a secret, see
175
191
  * <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_resource-policies.html">Permissions
176
192
  * policies attached to a secret</a>.</p>
193
+ * <p>
194
+ * <b>Required permissions: </b>
195
+ * <code>secretsmanager:GetResourcePolicy</code>.
196
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
197
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
198
+ * and access control in Secrets Manager</a>. </p>
177
199
  */
178
200
  getResourcePolicy(args: GetResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePolicyCommandOutput>;
179
201
  getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
@@ -182,10 +204,18 @@ export declare class SecretsManager extends SecretsManagerClient {
182
204
  * <p>Retrieves the contents of the encrypted fields <code>SecretString</code> or
183
205
  * <code>SecretBinary</code> from the specified version of a secret, whichever contains
184
206
  * content.</p>
185
- * <p>For information about retrieving the secret value in the console, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets.html">Retrieve secrets</a>. </p>
186
- * <p>To run this command, you must have <code>secretsmanager:GetSecretValue</code> permissions.
207
+ * <p>We recommend that you cache your secret values by using client-side caching.
208
+ * Caching secrets improves speed and reduces your costs. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets.html">Cache secrets for
209
+ * your applications</a>.</p>
210
+ *
211
+ * <p>
212
+ * <b>Required permissions: </b>
213
+ * <code>secretsmanager:GetSecretValue</code>.
187
214
  * If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key
188
- * <code>aws/secretsmanager</code>, then you also need <code>kms:Decrypt</code> permissions for that key.</p>
215
+ * <code>aws/secretsmanager</code>, then you also need <code>kms:Decrypt</code> permissions for that key.
216
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
217
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
218
+ * and access control in Secrets Manager</a>. </p>
189
219
  */
190
220
  getSecretValue(args: GetSecretValueCommandInput, options?: __HttpHandlerOptions): Promise<GetSecretValueCommandOutput>;
191
221
  getSecretValue(args: GetSecretValueCommandInput, cb: (err: any, data?: GetSecretValueCommandOutput) => void): void;
@@ -198,10 +228,11 @@ export declare class SecretsManager extends SecretsManagerClient {
198
228
  * <p>For information about finding secrets in the console, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_search-secret.html">Enhanced search capabilities
199
229
  * for secrets in Secrets Manager</a>.</p>
200
230
  * <p>
201
- * <b>Minimum
202
- * permissions</b>
203
- * </p>
204
- * <p>To run this command, you must have <code>secretsmanager:ListSecrets</code> permissions.</p>
231
+ * <b>Required permissions: </b>
232
+ * <code>secretsmanager:ListSecrets</code>.
233
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
234
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
235
+ * and access control in Secrets Manager</a>. </p>
205
236
  */
206
237
  listSecrets(args: ListSecretsCommandInput, options?: __HttpHandlerOptions): Promise<ListSecretsCommandOutput>;
207
238
  listSecrets(args: ListSecretsCommandInput, cb: (err: any, data?: ListSecretsCommandOutput) => void): void;
@@ -211,12 +242,12 @@ export declare class SecretsManager extends SecretsManagerClient {
211
242
  * <p>To list the secrets in the account, use <a>ListSecrets</a>.</p>
212
243
  * <p>To get the secret value from <code>SecretString</code> or <code>SecretBinary</code>,
213
244
  * call <a>GetSecretValue</a>.</p>
214
- *
215
245
  * <p>
216
- * <b>Minimum
217
- * permissions</b>
218
- * </p>
219
- * <p>To run this command, you must have <code>secretsmanager:ListSecretVersionIds</code> permissions.</p>
246
+ * <b>Required permissions: </b>
247
+ * <code>secretsmanager:ListSecretVersionIds</code>.
248
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
249
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
250
+ * and access control in Secrets Manager</a>. </p>
220
251
  */
221
252
  listSecretVersionIds(args: ListSecretVersionIdsCommandInput, options?: __HttpHandlerOptions): Promise<ListSecretVersionIdsCommandOutput>;
222
253
  listSecretVersionIds(args: ListSecretVersionIdsCommandInput, cb: (err: any, data?: ListSecretVersionIdsCommandOutput) => void): void;
@@ -227,6 +258,12 @@ export declare class SecretsManager extends SecretsManagerClient {
227
258
  * </p>
228
259
  * <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
229
260
  * permissions policy to a secret</a>.</p>
261
+ * <p>
262
+ * <b>Required permissions: </b>
263
+ * <code>secretsmanager:PutResourcePolicy</code>.
264
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
265
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
266
+ * and access control in Secrets Manager</a>. </p>
230
267
  */
231
268
  putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
232
269
  putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
@@ -253,18 +290,36 @@ export declare class SecretsManager extends SecretsManagerClient {
253
290
  * same secret data, the operation succeeds but does nothing. However, if the secret data is
254
291
  * different, then the operation fails because you can't modify an existing version; you can
255
292
  * only create new ones.</p>
293
+ * <p>
294
+ * <b>Required permissions: </b>
295
+ * <code>secretsmanager:PutSecretValue</code>.
296
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
297
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
298
+ * and access control in Secrets Manager</a>. </p>
256
299
  */
257
300
  putSecretValue(args: PutSecretValueCommandInput, options?: __HttpHandlerOptions): Promise<PutSecretValueCommandOutput>;
258
301
  putSecretValue(args: PutSecretValueCommandInput, cb: (err: any, data?: PutSecretValueCommandOutput) => void): void;
259
302
  putSecretValue(args: PutSecretValueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutSecretValueCommandOutput) => void): void;
260
303
  /**
261
304
  * <p>For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify.</p>
305
+ * <p>
306
+ * <b>Required permissions: </b>
307
+ * <code>secretsmanager:RemoveRegionsFromReplication</code>.
308
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
309
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
310
+ * and access control in Secrets Manager</a>. </p>
262
311
  */
263
312
  removeRegionsFromReplication(args: RemoveRegionsFromReplicationCommandInput, options?: __HttpHandlerOptions): Promise<RemoveRegionsFromReplicationCommandOutput>;
264
313
  removeRegionsFromReplication(args: RemoveRegionsFromReplicationCommandInput, cb: (err: any, data?: RemoveRegionsFromReplicationCommandOutput) => void): void;
265
314
  removeRegionsFromReplication(args: RemoveRegionsFromReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveRegionsFromReplicationCommandOutput) => void): void;
266
315
  /**
267
316
  * <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>
317
+ * <p>
318
+ * <b>Required permissions: </b>
319
+ * <code>secretsmanager:ReplicateSecretToRegions</code>.
320
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
321
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
322
+ * and access control in Secrets Manager</a>. </p>
268
323
  */
269
324
  replicateSecretToRegions(args: ReplicateSecretToRegionsCommandInput, options?: __HttpHandlerOptions): Promise<ReplicateSecretToRegionsCommandOutput>;
270
325
  replicateSecretToRegions(args: ReplicateSecretToRegionsCommandInput, cb: (err: any, data?: ReplicateSecretToRegionsCommandOutput) => void): void;
@@ -272,6 +327,12 @@ export declare class SecretsManager extends SecretsManagerClient {
272
327
  /**
273
328
  * <p>Cancels the scheduled deletion of a secret by removing the <code>DeletedDate</code> time
274
329
  * stamp. You can access a secret again after it has been restored.</p>
330
+ * <p>
331
+ * <b>Required permissions: </b>
332
+ * <code>secretsmanager:RestoreSecret</code>.
333
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
334
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
335
+ * and access control in Secrets Manager</a>. </p>
275
336
  */
276
337
  restoreSecret(args: RestoreSecretCommandInput, options?: __HttpHandlerOptions): Promise<RestoreSecretCommandOutput>;
277
338
  restoreSecret(args: RestoreSecretCommandInput, cb: (err: any, data?: RestoreSecretCommandOutput) => void): void;
@@ -294,8 +355,14 @@ export declare class SecretsManager extends SecretsManagerClient {
294
355
  * <p>If the <code>AWSPENDING</code> staging label is present but not attached to the same version as
295
356
  * <code>AWSCURRENT</code>, then any later invocation of <code>RotateSecret</code> assumes that a previous
296
357
  * rotation request is still in progress and returns an error.</p>
297
- * <p>To run this command, you must have <code>secretsmanager:RotateSecret</code> permissions and
298
- * <code>lambda:InvokeFunction</code> permissions on the function specified in the secret's metadata.</p>
358
+ * <p>
359
+ * <b>Required permissions: </b>
360
+ * <code>secretsmanager:RotateSecret</code>.
361
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
362
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
363
+ * and access control in Secrets Manager</a>. You also need <code>lambda:InvokeFunction</code> permissions on the rotation function.
364
+ * For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets-required-permissions-function.html">
365
+ * Permissions for rotation</a>.</p>
299
366
  */
300
367
  rotateSecret(args: RotateSecretCommandInput, options?: __HttpHandlerOptions): Promise<RotateSecretCommandOutput>;
301
368
  rotateSecret(args: RotateSecretCommandInput, cb: (err: any, data?: RotateSecretCommandOutput) => void): void;
@@ -303,6 +370,12 @@ export declare class SecretsManager extends SecretsManagerClient {
303
370
  /**
304
371
  * <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>
305
372
  * <p>You must call this operation from the Region in which you want to promote the replica to a primary secret.</p>
373
+ * <p>
374
+ * <b>Required permissions: </b>
375
+ * <code>secretsmanager:StopReplicationToReplica</code>.
376
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
377
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
378
+ * and access control in Secrets Manager</a>. </p>
306
379
  */
307
380
  stopReplicationToReplica(args: StopReplicationToReplicaCommandInput, options?: __HttpHandlerOptions): Promise<StopReplicationToReplicaCommandOutput>;
308
381
  stopReplicationToReplica(args: StopReplicationToReplicaCommandInput, cb: (err: any, data?: StopReplicationToReplicaCommandOutput) => void): void;
@@ -343,6 +416,12 @@ export declare class SecretsManager extends SecretsManagerClient {
343
416
  * your permissions for this secret, then the operation is blocked and returns an Access Denied
344
417
  * error.</p>
345
418
  * </important>
419
+ * <p>
420
+ * <b>Required permissions: </b>
421
+ * <code>secretsmanager:TagResource</code>.
422
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
423
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
424
+ * and access control in Secrets Manager</a>. </p>
346
425
  */
347
426
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
348
427
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
@@ -357,6 +436,12 @@ export declare class SecretsManager extends SecretsManagerClient {
357
436
  * permissions for this secret, then the operation is blocked and returns an Access Denied
358
437
  * error.</p>
359
438
  * </important>
439
+ * <p>
440
+ * <b>Required permissions: </b>
441
+ * <code>secretsmanager:UntagResource</code>.
442
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
443
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
444
+ * and access control in Secrets Manager</a>. </p>
360
445
  */
361
446
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
362
447
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
@@ -385,9 +470,15 @@ export declare class SecretsManager extends SecretsManagerClient {
385
470
  * significant delay in returning the result. </p>
386
471
  * <p>If the secret is in a different Amazon Web Services account from the credentials calling the API, then you can't
387
472
  * use <code>aws/secretsmanager</code> to encrypt the secret, and you must create and use a customer managed key. </p>
388
- *
389
- * <p>To run this command, you must have <code>secretsmanager:UpdateSecret</code> permissions. If you use a
390
- * customer managed key, you must also have <code>kms:GenerateDataKey</code> and <code>kms:Decrypt</code> permissions .</p>
473
+ * <p>
474
+ * <b>Required permissions: </b>
475
+ * <code>secretsmanager:UpdateSecret</code>.
476
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
477
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
478
+ * and access control in Secrets Manager</a>.
479
+ * If you use a customer managed key, you must also have <code>kms:GenerateDataKey</code> and
480
+ * <code>kms:Decrypt</code> permissions on the key. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/security-encryption.html">
481
+ * Secret encryption and decryption</a>.</p>
391
482
  */
392
483
  updateSecret(args: UpdateSecretCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSecretCommandOutput>;
393
484
  updateSecret(args: UpdateSecretCommandInput, cb: (err: any, data?: UpdateSecretCommandOutput) => void): void;
@@ -408,6 +499,12 @@ export declare class SecretsManager extends SecretsManagerClient {
408
499
  * </note>
409
500
  * <p>If this action results in the last label being removed from a version, then the version is
410
501
  * considered to be 'deprecated' and can be deleted by Secrets Manager.</p>
502
+ * <p>
503
+ * <b>Required permissions: </b>
504
+ * <code>secretsmanager:UpdateSecretVersionStage</code>.
505
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
506
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
507
+ * and access control in Secrets Manager</a>. </p>
411
508
  */
412
509
  updateSecretVersionStage(args: UpdateSecretVersionStageCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSecretVersionStageCommandOutput>;
413
510
  updateSecretVersionStage(args: UpdateSecretVersionStageCommandInput, cb: (err: any, data?: UpdateSecretVersionStageCommandOutput) => void): void;
@@ -428,6 +525,12 @@ export declare class SecretsManager extends SecretsManagerClient {
428
525
  * <p>Verifies the policy does not lock out a caller.</p>
429
526
  * </li>
430
527
  * </ul>
528
+ * <p>
529
+ * <b>Required permissions: </b>
530
+ * <code>secretsmanager:ValidateResourcePolicy</code>.
531
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
532
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
533
+ * and access control in Secrets Manager</a>. </p>
431
534
  */
432
535
  validateResourcePolicy(args: ValidateResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<ValidateResourcePolicyCommandOutput>;
433
536
  validateResourcePolicy(args: ValidateResourcePolicyCommandInput, cb: (err: any, data?: ValidateResourcePolicyCommandOutput) => void): void;
@@ -159,21 +159,14 @@ export interface SecretsManagerClientResolvedConfig extends SecretsManagerClient
159
159
  * </p>
160
160
  *
161
161
  * <p>This version of the Secrets Manager API Reference documents the Secrets Manager API version 2017-10-17.</p>
162
- * <note>
163
- * <p>As an alternative to using the API, you can use one of the Amazon Web Services SDKs, which consist of
164
- * libraries and sample code for various programming languages and platforms such as Java,
165
- * Ruby, .NET, iOS, and Android. The SDKs provide a convenient way to create programmatic
166
- * access to Amazon Web Services Secrets Manager. For example, the SDKs provide cryptographically signing requests,
167
- * managing errors, and retrying requests automatically. For more information about the Amazon Web Services
168
- * SDKs, including downloading and installing them, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>.</p>
169
- * </note>
170
- * <p>We recommend you use the Amazon Web Services SDKs to make programmatic API calls to Secrets Manager. However, you
171
- * also can use the Secrets Manager HTTP Query API to make direct calls to the Secrets Manager web service. To learn
172
- * more about the Secrets Manager HTTP Query API, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/query-requests.html">Making Query Requests</a> in the
173
- * <i>Amazon Web Services Secrets Manager User Guide</i>. </p>
174
- * <p>Secrets Manager API supports GET and POST requests for all actions, and doesn't require you to use
175
- * GET for some actions and POST for others. However, GET requests are subject to the limitation
176
- * size of a URL. Therefore, for operations that require larger sizes, use a POST request.</p>
162
+ *
163
+ *
164
+ *
165
+ *
166
+ *
167
+ *
168
+ *
169
+ *
177
170
  *
178
171
  *
179
172
  *
@@ -184,24 +177,11 @@ export interface SecretsManagerClientResolvedConfig extends SecretsManagerClient
184
177
  * <p>
185
178
  * <b>Support and Feedback for Amazon Web Services Secrets Manager</b>
186
179
  * </p>
187
- *
188
180
  * <p>We welcome your feedback. Send your comments to <a href="mailto:awssecretsmanager-feedback@amazon.com">awssecretsmanager-feedback@amazon.com</a>, or post your feedback and questions in the <a href="http://forums.aws.amazon.com/forum.jspa?forumID=296">Amazon Web Services Secrets Manager Discussion Forum</a>. For more
189
181
  * information about the Amazon Web Services Discussion Forums, see <a href="http://forums.aws.amazon.com/help.jspa">Forums
190
182
  * Help</a>.</p>
191
183
  *
192
184
  * <p>
193
- * <b>How examples are presented</b>
194
- * </p>
195
- *
196
- * <p>The JSON that Amazon Web Services Secrets Manager expects as your request parameters and the service returns as a
197
- * response to HTTP query requests contain single, long strings without line breaks or white
198
- * space formatting. The JSON shown in the examples displays the code formatted with both line
199
- * breaks and white space to improve readability. When example input parameters can also cause
200
- * long strings extending beyond the screen, you can insert line breaks to enhance readability.
201
- * You should always submit the input as a single JSON text string.</p>
202
- *
203
- *
204
- * <p>
205
185
  * <b>Logging API Requests</b>
206
186
  * </p>
207
187
  * <p>Amazon Web Services Secrets Manager supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your Amazon Web Services
@@ -18,6 +18,12 @@ export interface CancelRotateSecretCommandOutput extends CancelRotateSecretRespo
18
18
  * new version to see if it should be deleted. You can delete a version by removing all staging labels
19
19
  * from it.</p>
20
20
  * </note>
21
+ * <p>
22
+ * <b>Required permissions: </b>
23
+ * <code>secretsmanager:CancelRotateSecret</code>.
24
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
25
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
26
+ * and access control in Secrets Manager</a>. </p>
21
27
  * @example
22
28
  * Use a bare-bones client and the command you need to make an API call.
23
29
  * ```javascript
@@ -27,6 +27,12 @@ export interface CreateSecretCommandOutput extends CreateSecretResponse, __Metad
27
27
  * <p>If the secret is in a different Amazon Web Services account from the credentials calling the API, then
28
28
  * you can't use <code>aws/secretsmanager</code> to encrypt the secret, and you must create
29
29
  * and use a customer managed KMS key. </p>
30
+ * <p>
31
+ * <b>Required permissions: </b>
32
+ * <code>secretsmanager:CreateSecret</code>.
33
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
34
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
35
+ * and access control in Secrets Manager</a>. </p>
30
36
  * @example
31
37
  * Use a bare-bones client and the command you need to make an API call.
32
38
  * ```javascript
@@ -9,6 +9,12 @@ 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>
13
+ * <b>Required permissions: </b>
14
+ * <code>secretsmanager:DeleteResourcePolicy</code>.
15
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
16
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
17
+ * and access control in Secrets Manager</a>. </p>
12
18
  * @example
13
19
  * Use a bare-bones client and the command you need to make an API call.
14
20
  * ```javascript
@@ -20,6 +20,12 @@ export interface DeleteSecretCommandOutput extends DeleteSecretResponse, __Metad
20
20
  * remove the <code>DeletionDate</code> and cancel the deletion of the secret.</p>
21
21
  * <p>In a secret scheduled for deletion, you cannot access the encrypted secret value.
22
22
  * To access that information, first cancel the deletion with <a>RestoreSecret</a> and then retrieve the information.</p>
23
+ * <p>
24
+ * <b>Required permissions: </b>
25
+ * <code>secretsmanager:DeleteSecret</code>.
26
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
27
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
28
+ * and access control in Secrets Manager</a>. </p>
23
29
  * @example
24
30
  * Use a bare-bones client and the command you need to make an API call.
25
31
  * ```javascript
@@ -9,6 +9,12 @@ 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>
13
+ * <b>Required permissions: </b>
14
+ * <code>secretsmanager:DescribeSecret</code>.
15
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
16
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
17
+ * and access control in Secrets Manager</a>. </p>
12
18
  * @example
13
19
  * Use a bare-bones client and the command you need to make an API call.
14
20
  * ```javascript
@@ -10,6 +10,12 @@ 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>
14
+ * <b>Required permissions: </b>
15
+ * <code>secretsmanager:GetRandomPassword</code>.
16
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
17
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
18
+ * and access control in Secrets Manager</a>. </p>
13
19
  * @example
14
20
  * Use a bare-bones client and the command you need to make an API call.
15
21
  * ```javascript
@@ -11,6 +11,12 @@ 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>
15
+ * <b>Required permissions: </b>
16
+ * <code>secretsmanager:GetResourcePolicy</code>.
17
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
18
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
19
+ * and access control in Secrets Manager</a>. </p>
14
20
  * @example
15
21
  * Use a bare-bones client and the command you need to make an API call.
16
22
  * ```javascript
@@ -10,10 +10,18 @@ export interface GetSecretValueCommandOutput extends GetSecretValueResponse, __M
10
10
  * <p>Retrieves the contents of the encrypted fields <code>SecretString</code> or
11
11
  * <code>SecretBinary</code> from the specified version of a secret, whichever contains
12
12
  * content.</p>
13
- * <p>For information about retrieving the secret value in the console, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets.html">Retrieve secrets</a>. </p>
14
- * <p>To run this command, you must have <code>secretsmanager:GetSecretValue</code> permissions.
13
+ * <p>We recommend that you cache your secret values by using client-side caching.
14
+ * Caching secrets improves speed and reduces your costs. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets.html">Cache secrets for
15
+ * your applications</a>.</p>
16
+ *
17
+ * <p>
18
+ * <b>Required permissions: </b>
19
+ * <code>secretsmanager:GetSecretValue</code>.
15
20
  * If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key
16
- * <code>aws/secretsmanager</code>, then you also need <code>kms:Decrypt</code> permissions for that key.</p>
21
+ * <code>aws/secretsmanager</code>, then you also need <code>kms:Decrypt</code> permissions for that key.
22
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
23
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
24
+ * and access control in Secrets Manager</a>. </p>
17
25
  * @example
18
26
  * Use a bare-bones client and the command you need to make an API call.
19
27
  * ```javascript
@@ -11,12 +11,12 @@ export interface ListSecretVersionIdsCommandOutput extends ListSecretVersionIdsR
11
11
  * <p>To list the secrets in the account, use <a>ListSecrets</a>.</p>
12
12
  * <p>To get the secret value from <code>SecretString</code> or <code>SecretBinary</code>,
13
13
  * call <a>GetSecretValue</a>.</p>
14
- *
15
14
  * <p>
16
- * <b>Minimum
17
- * permissions</b>
18
- * </p>
19
- * <p>To run this command, you must have <code>secretsmanager:ListSecretVersionIds</code> permissions.</p>
15
+ * <b>Required permissions: </b>
16
+ * <code>secretsmanager:ListSecretVersionIds</code>.
17
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
18
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
19
+ * and access control in Secrets Manager</a>. </p>
20
20
  * @example
21
21
  * Use a bare-bones client and the command you need to make an API call.
22
22
  * ```javascript
@@ -14,10 +14,11 @@ export interface ListSecretsCommandOutput extends ListSecretsResponse, __Metadat
14
14
  * <p>For information about finding secrets in the console, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_search-secret.html">Enhanced search capabilities
15
15
  * for secrets in Secrets Manager</a>.</p>
16
16
  * <p>
17
- * <b>Minimum
18
- * permissions</b>
19
- * </p>
20
- * <p>To run this command, you must have <code>secretsmanager:ListSecrets</code> permissions.</p>
17
+ * <b>Required permissions: </b>
18
+ * <code>secretsmanager:ListSecrets</code>.
19
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
20
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
21
+ * and access control in Secrets Manager</a>. </p>
21
22
  * @example
22
23
  * Use a bare-bones client and the command you need to make an API call.
23
24
  * ```javascript
@@ -12,6 +12,12 @@ 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>
16
+ * <b>Required permissions: </b>
17
+ * <code>secretsmanager:PutResourcePolicy</code>.
18
+ * For more information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions">
19
+ * IAM policy actions for Secrets Manager</a> and <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication
20
+ * and access control in Secrets Manager</a>. </p>
15
21
  * @example
16
22
  * Use a bare-bones client and the command you need to make an API call.
17
23
  * ```javascript