aws-sdk-secretsmanager 1.65.0 → 1.66.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 55454322928dc33ba5dbd7fde31a3d863eccff4c56eb542668f51ae0b08f16f7
4
- data.tar.gz: 8726157c51744c29b479d30782973a74a00fb486408b696c4e5bbb1a70ac7a93
3
+ metadata.gz: be8a3646b585f20357ca5d121853825dacce1a927eccf8ebdf58100b5c016842
4
+ data.tar.gz: 5df2cb07d6789b0894c5fffed9126f6aa0fa7c5208439c0216c001d61f0382ce
5
5
  SHA512:
6
- metadata.gz: a3ce58ec66c49f185e64a1cdde6f9bec89c261df7eec2dc3a71d3bf5d9b1fdfee4852fa63be43635921f0a8702814c46868ba831d400bb124aa3cc4f19463e07
7
- data.tar.gz: 16cbab9304366563b8e9222ea70d917b8649ec4be9fedb85159671d2f531b6c0dc38074ca40351bf7a9508283986fa50743ccdbc94cbd96dcf062387d667e6b0
6
+ metadata.gz: e2beaeabaa877247d38ee3a11b5dc1cfebc4484da9ffd2f23867a83070d049c10910baec7ea1162d7fe7ac817c8d5e6208083015b2ed8c3a7e3f8d9ad269332f
7
+ data.tar.gz: 4ac3f03d379ecfe591c9edc4685f95862de4e44b49f8c315f85c9e20c07c28e76046c5ceeb48eb5b56b332202205db06dbf6afca5d2219e9fa6b969be8c58235
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.66.0 (2022-09-29)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for Secrets Manager
8
+
4
9
  1.65.0 (2022-08-17)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.65.0
1
+ 1.66.0
@@ -376,15 +376,21 @@ module Aws::SecretsManager
376
376
  #
377
377
  # To turn on automatic rotation again, call RotateSecret.
378
378
  #
379
+ # Secrets Manager generates a CloudTrail log entry when you call this
380
+ # action. Do not include sensitive information in request parameters
381
+ # because it might be logged. For more information, see [Logging Secrets
382
+ # Manager events with CloudTrail][2].
383
+ #
379
384
  # <b>Required permissions: </b> `secretsmanager:CancelRotateSecret`. For
380
- # more information, see [ IAM policy actions for Secrets Manager][2] and
381
- # [Authentication and access control in Secrets Manager][3].
385
+ # more information, see [ IAM policy actions for Secrets Manager][3] and
386
+ # [Authentication and access control in Secrets Manager][4].
382
387
  #
383
388
  #
384
389
  #
385
390
  # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html
386
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
387
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
391
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
392
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
393
+ # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
388
394
  #
389
395
  # @option params [required, String] :secret_id
390
396
  # The ARN or name of the secret.
@@ -475,11 +481,17 @@ module Aws::SecretsManager
475
481
  # to encrypt the secret, and you must create and use a customer managed
476
482
  # KMS key.
477
483
  #
484
+ # Secrets Manager generates a CloudTrail log entry when you call this
485
+ # action. Do not include sensitive information in request parameters
486
+ # except `SecretBinary` or `SecretString` because it might be logged.
487
+ # For more information, see [Logging Secrets Manager events with
488
+ # CloudTrail][3].
489
+ #
478
490
  # <b>Required permissions: </b> `secretsmanager:CreateSecret`. If you
479
491
  # include tags in the secret, you also need
480
492
  # `secretsmanager:TagResource`. For more information, see [ IAM policy
481
- # actions for Secrets Manager][3] and [Authentication and access control
482
- # in Secrets Manager][4].
493
+ # actions for Secrets Manager][4] and [Authentication and access control
494
+ # in Secrets Manager][5].
483
495
  #
484
496
  # To encrypt the secret with a KMS key other than `aws/secretsmanager`,
485
497
  # you need `kms:GenerateDataKey` and `kms:Decrypt` permission to the
@@ -489,8 +501,9 @@ module Aws::SecretsManager
489
501
  #
490
502
  # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_create-basic-secret.html
491
503
  # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_secret_json_structure.html
492
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
493
- # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
504
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
505
+ # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
506
+ # [5]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
494
507
  #
495
508
  # @option params [required, String] :name
496
509
  # The name of the new secret.
@@ -730,14 +743,20 @@ module Aws::SecretsManager
730
743
  # Deletes the resource-based permission policy attached to the secret.
731
744
  # To attach a policy to a secret, use PutResourcePolicy.
732
745
  #
746
+ # Secrets Manager generates a CloudTrail log entry when you call this
747
+ # action. Do not include sensitive information in request parameters
748
+ # because it might be logged. For more information, see [Logging Secrets
749
+ # Manager events with CloudTrail][1].
750
+ #
733
751
  # <b>Required permissions: </b> `secretsmanager:DeleteResourcePolicy`.
734
- # For more information, see [ IAM policy actions for Secrets Manager][1]
735
- # and [Authentication and access control in Secrets Manager][2].
752
+ # For more information, see [ IAM policy actions for Secrets Manager][2]
753
+ # and [Authentication and access control in Secrets Manager][3].
736
754
  #
737
755
  #
738
756
  #
739
- # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
740
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
757
+ # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
758
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
759
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
741
760
  #
742
761
  # @option params [required, String] :secret_id
743
762
  # The ARN or name of the secret to delete the attached resource-based
@@ -824,15 +843,21 @@ module Aws::SecretsManager
824
843
  # secret value. You must first cancel the deletion with RestoreSecret
825
844
  # and then you can retrieve the secret.
826
845
  #
846
+ # Secrets Manager generates a CloudTrail log entry when you call this
847
+ # action. Do not include sensitive information in request parameters
848
+ # because it might be logged. For more information, see [Logging Secrets
849
+ # Manager events with CloudTrail][2].
850
+ #
827
851
  # <b>Required permissions: </b> `secretsmanager:DeleteSecret`. For more
828
- # information, see [ IAM policy actions for Secrets Manager][2] and
829
- # [Authentication and access control in Secrets Manager][3].
852
+ # information, see [ IAM policy actions for Secrets Manager][3] and
853
+ # [Authentication and access control in Secrets Manager][4].
830
854
  #
831
855
  #
832
856
  #
833
857
  # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/monitoring_cloudwatch_deleted-secrets.html
834
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
835
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
858
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
859
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
860
+ # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
836
861
  #
837
862
  # @option params [required, String] :secret_id
838
863
  # The ARN or name of the secret to delete.
@@ -921,14 +946,20 @@ module Aws::SecretsManager
921
946
  # secret value. Secrets Manager only returns fields that have a value in
922
947
  # the response.
923
948
  #
949
+ # Secrets Manager generates a CloudTrail log entry when you call this
950
+ # action. Do not include sensitive information in request parameters
951
+ # because it might be logged. For more information, see [Logging Secrets
952
+ # Manager events with CloudTrail][1].
953
+ #
924
954
  # <b>Required permissions: </b> `secretsmanager:DescribeSecret`. For
925
- # more information, see [ IAM policy actions for Secrets Manager][1] and
926
- # [Authentication and access control in Secrets Manager][2].
955
+ # more information, see [ IAM policy actions for Secrets Manager][2] and
956
+ # [Authentication and access control in Secrets Manager][3].
927
957
  #
928
958
  #
929
959
  #
930
- # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
931
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
960
+ # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
961
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
962
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
932
963
  #
933
964
  # @option params [required, String] :secret_id
934
965
  # The ARN or name of the secret.
@@ -1055,14 +1086,20 @@ module Aws::SecretsManager
1055
1086
  # length and include every character type that the system you are
1056
1087
  # generating a password for can support.
1057
1088
  #
1089
+ # Secrets Manager generates a CloudTrail log entry when you call this
1090
+ # action. Do not include sensitive information in request parameters
1091
+ # because it might be logged. For more information, see [Logging Secrets
1092
+ # Manager events with CloudTrail][1].
1093
+ #
1058
1094
  # <b>Required permissions: </b> `secretsmanager:GetRandomPassword`. For
1059
- # more information, see [ IAM policy actions for Secrets Manager][1] and
1060
- # [Authentication and access control in Secrets Manager][2].
1095
+ # more information, see [ IAM policy actions for Secrets Manager][2] and
1096
+ # [Authentication and access control in Secrets Manager][3].
1061
1097
  #
1062
1098
  #
1063
1099
  #
1064
- # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1065
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
1100
+ # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
1101
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1102
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
1066
1103
  #
1067
1104
  # @option params [Integer] :password_length
1068
1105
  # The length of the password. If you don't include this parameter, the
@@ -1152,15 +1189,21 @@ module Aws::SecretsManager
1152
1189
  # attached to a secret, see [Permissions policies attached to a
1153
1190
  # secret][1].
1154
1191
  #
1192
+ # Secrets Manager generates a CloudTrail log entry when you call this
1193
+ # action. Do not include sensitive information in request parameters
1194
+ # because it might be logged. For more information, see [Logging Secrets
1195
+ # Manager events with CloudTrail][2].
1196
+ #
1155
1197
  # <b>Required permissions: </b> `secretsmanager:GetResourcePolicy`. For
1156
- # more information, see [ IAM policy actions for Secrets Manager][2] and
1157
- # [Authentication and access control in Secrets Manager][3].
1198
+ # more information, see [ IAM policy actions for Secrets Manager][3] and
1199
+ # [Authentication and access control in Secrets Manager][4].
1158
1200
  #
1159
1201
  #
1160
1202
  #
1161
1203
  # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_resource-policies.html
1162
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1163
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
1204
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
1205
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1206
+ # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
1164
1207
  #
1165
1208
  # @option params [required, String] :secret_id
1166
1209
  # The ARN or name of the secret to retrieve the attached resource-based
@@ -1228,19 +1271,25 @@ module Aws::SecretsManager
1228
1271
  # specify AWSPREVIOUS. To revert to the previous version of a secret,
1229
1272
  # call [UpdateSecretVersionStage][2].
1230
1273
  #
1274
+ # Secrets Manager generates a CloudTrail log entry when you call this
1275
+ # action. Do not include sensitive information in request parameters
1276
+ # because it might be logged. For more information, see [Logging Secrets
1277
+ # Manager events with CloudTrail][3].
1278
+ #
1231
1279
  # <b>Required permissions: </b> `secretsmanager:GetSecretValue`. If the
1232
1280
  # secret is encrypted using a customer-managed key instead of the Amazon
1233
1281
  # Web Services managed key `aws/secretsmanager`, then you also need
1234
1282
  # `kms:Decrypt` permissions for that key. For more information, see [
1235
- # IAM policy actions for Secrets Manager][3] and [Authentication and
1236
- # access control in Secrets Manager][4].
1283
+ # IAM policy actions for Secrets Manager][4] and [Authentication and
1284
+ # access control in Secrets Manager][5].
1237
1285
  #
1238
1286
  #
1239
1287
  #
1240
1288
  # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets.html
1241
1289
  # [2]: https://docs.aws.amazon.com/cli/latest/reference/secretsmanager/update-secret-version-stage.html
1242
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1243
- # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
1290
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
1291
+ # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1292
+ # [5]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
1244
1293
  #
1245
1294
  # @option params [required, String] :secret_id
1246
1295
  # The ARN or name of the secret to retrieve.
@@ -1340,15 +1389,21 @@ module Aws::SecretsManager
1340
1389
  #
1341
1390
  # To list the secrets in the account, use ListSecrets.
1342
1391
  #
1392
+ # Secrets Manager generates a CloudTrail log entry when you call this
1393
+ # action. Do not include sensitive information in request parameters
1394
+ # because it might be logged. For more information, see [Logging Secrets
1395
+ # Manager events with CloudTrail][2].
1396
+ #
1343
1397
  # <b>Required permissions: </b> `secretsmanager:ListSecretVersionIds`.
1344
- # For more information, see [ IAM policy actions for Secrets Manager][2]
1345
- # and [Authentication and access control in Secrets Manager][3].
1398
+ # For more information, see [ IAM policy actions for Secrets Manager][3]
1399
+ # and [Authentication and access control in Secrets Manager][4].
1346
1400
  #
1347
1401
  #
1348
1402
  #
1349
1403
  # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/getting-started.html#term_version
1350
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1351
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
1404
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
1405
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1406
+ # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
1352
1407
  #
1353
1408
  # @option params [required, String] :secret_id
1354
1409
  # The ARN or name of the secret whose versions you want to list.
@@ -1471,15 +1526,21 @@ module Aws::SecretsManager
1471
1526
  # For information about finding secrets in the console, see [Find
1472
1527
  # secrets in Secrets Manager][1].
1473
1528
  #
1529
+ # Secrets Manager generates a CloudTrail log entry when you call this
1530
+ # action. Do not include sensitive information in request parameters
1531
+ # because it might be logged. For more information, see [Logging Secrets
1532
+ # Manager events with CloudTrail][2].
1533
+ #
1474
1534
  # <b>Required permissions: </b> `secretsmanager:ListSecrets`. For more
1475
- # information, see [ IAM policy actions for Secrets Manager][2] and
1476
- # [Authentication and access control in Secrets Manager][3].
1535
+ # information, see [ IAM policy actions for Secrets Manager][3] and
1536
+ # [Authentication and access control in Secrets Manager][4].
1477
1537
  #
1478
1538
  #
1479
1539
  #
1480
1540
  # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_search-secret.html
1481
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1482
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
1541
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
1542
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1543
+ # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
1483
1544
  #
1484
1545
  # @option params [Integer] :max_results
1485
1546
  # The number of results to include in the response.
@@ -1599,15 +1660,21 @@ module Aws::SecretsManager
1599
1660
  # For information about attaching a policy in the console, see [Attach a
1600
1661
  # permissions policy to a secret][2].
1601
1662
  #
1663
+ # Secrets Manager generates a CloudTrail log entry when you call this
1664
+ # action. Do not include sensitive information in request parameters
1665
+ # because it might be logged. For more information, see [Logging Secrets
1666
+ # Manager events with CloudTrail][3].
1667
+ #
1602
1668
  # <b>Required permissions: </b> `secretsmanager:PutResourcePolicy`. For
1603
- # more information, see [ IAM policy actions for Secrets Manager][3] and
1669
+ # more information, see [ IAM policy actions for Secrets Manager][4] and
1604
1670
  # [Authentication and access control in Secrets Manager][1].
1605
1671
  #
1606
1672
  #
1607
1673
  #
1608
1674
  # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
1609
1675
  # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_resource-based-policies.html
1610
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1676
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
1677
+ # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1611
1678
  #
1612
1679
  # @option params [required, String] :secret_id
1613
1680
  # The ARN or name of the secret to attach the resource-based policy.
@@ -1693,12 +1760,10 @@ module Aws::SecretsManager
1693
1760
  # Manager automatically moves the staging label `AWSCURRENT` to this
1694
1761
  # version. If this operation creates the first version for the secret,
1695
1762
  # then Secrets Manager automatically attaches the staging label
1696
- # `AWSCURRENT` to it .
1697
- #
1698
- # If this operation moves the staging label `AWSCURRENT` from another
1699
- # version to this version, then Secrets Manager also automatically moves
1700
- # the staging label `AWSPREVIOUS` to the version that `AWSCURRENT` was
1701
- # removed from.
1763
+ # `AWSCURRENT` to it. If this operation moves the staging label
1764
+ # `AWSCURRENT` from another version to this version, then Secrets
1765
+ # Manager also automatically moves the staging label `AWSPREVIOUS` to
1766
+ # the version that `AWSCURRENT` was removed from.
1702
1767
  #
1703
1768
  # This operation is idempotent. If you call this operation with a
1704
1769
  # `ClientRequestToken` that matches an existing version's VersionId,
@@ -1707,14 +1772,21 @@ module Aws::SecretsManager
1707
1772
  # fails because you can't modify an existing version; you can only
1708
1773
  # create new ones.
1709
1774
  #
1775
+ # Secrets Manager generates a CloudTrail log entry when you call this
1776
+ # action. Do not include sensitive information in request parameters
1777
+ # except `SecretBinary` or `SecretString` because it might be logged.
1778
+ # For more information, see [Logging Secrets Manager events with
1779
+ # CloudTrail][1].
1780
+ #
1710
1781
  # <b>Required permissions: </b> `secretsmanager:PutSecretValue`. For
1711
- # more information, see [ IAM policy actions for Secrets Manager][1] and
1712
- # [Authentication and access control in Secrets Manager][2].
1782
+ # more information, see [ IAM policy actions for Secrets Manager][2] and
1783
+ # [Authentication and access control in Secrets Manager][3].
1713
1784
  #
1714
1785
  #
1715
1786
  #
1716
- # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1717
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
1787
+ # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
1788
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1789
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
1718
1790
  #
1719
1791
  # @option params [required, String] :secret_id
1720
1792
  # The ARN or name of the secret to add a new version to.
@@ -1861,15 +1933,21 @@ module Aws::SecretsManager
1861
1933
  # For a secret that is replicated to other Regions, deletes the secret
1862
1934
  # replicas from the Regions you specify.
1863
1935
  #
1936
+ # Secrets Manager generates a CloudTrail log entry when you call this
1937
+ # action. Do not include sensitive information in request parameters
1938
+ # because it might be logged. For more information, see [Logging Secrets
1939
+ # Manager events with CloudTrail][1].
1940
+ #
1864
1941
  # <b>Required permissions: </b>
1865
1942
  # `secretsmanager:RemoveRegionsFromReplication`. For more information,
1866
- # see [ IAM policy actions for Secrets Manager][1] and [Authentication
1867
- # and access control in Secrets Manager][2].
1943
+ # see [ IAM policy actions for Secrets Manager][2] and [Authentication
1944
+ # and access control in Secrets Manager][3].
1868
1945
  #
1869
1946
  #
1870
1947
  #
1871
- # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1872
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
1948
+ # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
1949
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1950
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
1873
1951
  #
1874
1952
  # @option params [required, String] :secret_id
1875
1953
  # The ARN or name of the secret.
@@ -1910,16 +1988,22 @@ module Aws::SecretsManager
1910
1988
 
1911
1989
  # Replicates the secret to a new Regions. See [Multi-Region secrets][1].
1912
1990
  #
1991
+ # Secrets Manager generates a CloudTrail log entry when you call this
1992
+ # action. Do not include sensitive information in request parameters
1993
+ # because it might be logged. For more information, see [Logging Secrets
1994
+ # Manager events with CloudTrail][2].
1995
+ #
1913
1996
  # <b>Required permissions: </b>
1914
1997
  # `secretsmanager:ReplicateSecretToRegions`. For more information, see [
1915
- # IAM policy actions for Secrets Manager][2] and [Authentication and
1916
- # access control in Secrets Manager][3].
1998
+ # IAM policy actions for Secrets Manager][3] and [Authentication and
1999
+ # access control in Secrets Manager][4].
1917
2000
  #
1918
2001
  #
1919
2002
  #
1920
2003
  # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/create-manage-multi-region-secrets.html
1921
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1922
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2004
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
2005
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2006
+ # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
1923
2007
  #
1924
2008
  # @option params [required, String] :secret_id
1925
2009
  # The ARN or name of the secret to replicate.
@@ -1972,14 +2056,20 @@ module Aws::SecretsManager
1972
2056
  # `DeletedDate` time stamp. You can access a secret again after it has
1973
2057
  # been restored.
1974
2058
  #
2059
+ # Secrets Manager generates a CloudTrail log entry when you call this
2060
+ # action. Do not include sensitive information in request parameters
2061
+ # because it might be logged. For more information, see [Logging Secrets
2062
+ # Manager events with CloudTrail][1].
2063
+ #
1975
2064
  # <b>Required permissions: </b> `secretsmanager:RestoreSecret`. For more
1976
- # information, see [ IAM policy actions for Secrets Manager][1] and
1977
- # [Authentication and access control in Secrets Manager][2].
2065
+ # information, see [ IAM policy actions for Secrets Manager][2] and
2066
+ # [Authentication and access control in Secrets Manager][3].
1978
2067
  #
1979
2068
  #
1980
2069
  #
1981
- # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
1982
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2070
+ # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
2071
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2072
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
1983
2073
  #
1984
2074
  # @option params [required, String] :secret_id
1985
2075
  # The ARN or name of the secret to restore.
@@ -2064,11 +2154,16 @@ module Aws::SecretsManager
2064
2154
  # later invocation of `RotateSecret` assumes that a previous rotation
2065
2155
  # request is still in progress and returns an error.
2066
2156
  #
2157
+ # Secrets Manager generates a CloudTrail log entry when you call this
2158
+ # action. Do not include sensitive information in request parameters
2159
+ # because it might be logged. For more information, see [Logging Secrets
2160
+ # Manager events with CloudTrail][7].
2161
+ #
2067
2162
  # <b>Required permissions: </b> `secretsmanager:RotateSecret`. For more
2068
- # information, see [ IAM policy actions for Secrets Manager][7] and
2069
- # [Authentication and access control in Secrets Manager][8]. You also
2163
+ # information, see [ IAM policy actions for Secrets Manager][8] and
2164
+ # [Authentication and access control in Secrets Manager][9]. You also
2070
2165
  # need `lambda:InvokeFunction` permissions on the rotation function. For
2071
- # more information, see [ Permissions for rotation][9].
2166
+ # more information, see [ Permissions for rotation][10].
2072
2167
  #
2073
2168
  #
2074
2169
  #
@@ -2078,9 +2173,10 @@ module Aws::SecretsManager
2078
2173
  # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html
2079
2174
  # [5]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html
2080
2175
  # [6]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets_strategies.html
2081
- # [7]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2082
- # [8]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2083
- # [9]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets-required-permissions-function.html
2176
+ # [7]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
2177
+ # [8]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2178
+ # [9]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2179
+ # [10]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets-required-permissions-function.html
2084
2180
  #
2085
2181
  # @option params [required, String] :secret_id
2086
2182
  # The ARN or name of the secret to rotate.
@@ -2222,15 +2318,21 @@ module Aws::SecretsManager
2222
2318
  # You must call this operation from the Region in which you want to
2223
2319
  # promote the replica to a primary secret.
2224
2320
  #
2321
+ # Secrets Manager generates a CloudTrail log entry when you call this
2322
+ # action. Do not include sensitive information in request parameters
2323
+ # because it might be logged. For more information, see [Logging Secrets
2324
+ # Manager events with CloudTrail][1].
2325
+ #
2225
2326
  # <b>Required permissions: </b>
2226
2327
  # `secretsmanager:StopReplicationToReplica`. For more information, see [
2227
- # IAM policy actions for Secrets Manager][1] and [Authentication and
2228
- # access control in Secrets Manager][2].
2328
+ # IAM policy actions for Secrets Manager][2] and [Authentication and
2329
+ # access control in Secrets Manager][3].
2229
2330
  #
2230
2331
  #
2231
2332
  #
2232
- # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2233
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2333
+ # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
2334
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2335
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2234
2336
  #
2235
2337
  # @option params [required, String] :secret_id
2236
2338
  # The ARN of the primary secret.
@@ -2289,14 +2391,20 @@ module Aws::SecretsManager
2289
2391
  # operation would result in you losing your permissions for this secret,
2290
2392
  # then the operation is blocked and returns an Access Denied error.
2291
2393
  #
2394
+ # Secrets Manager generates a CloudTrail log entry when you call this
2395
+ # action. Do not include sensitive information in request parameters
2396
+ # because it might be logged. For more information, see [Logging Secrets
2397
+ # Manager events with CloudTrail][1].
2398
+ #
2292
2399
  # <b>Required permissions: </b> `secretsmanager:TagResource`. For more
2293
- # information, see [ IAM policy actions for Secrets Manager][1] and
2294
- # [Authentication and access control in Secrets Manager][2].
2400
+ # information, see [ IAM policy actions for Secrets Manager][2] and
2401
+ # [Authentication and access control in Secrets Manager][3].
2295
2402
  #
2296
2403
  #
2297
2404
  #
2298
- # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2299
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2405
+ # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
2406
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2407
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2300
2408
  #
2301
2409
  # @option params [required, String] :secret_id
2302
2410
  # The identifier for the secret to attach tags to. You can specify
@@ -2376,14 +2484,20 @@ module Aws::SecretsManager
2376
2484
  # would result in you losing your permissions for this secret, then the
2377
2485
  # operation is blocked and returns an Access Denied error.
2378
2486
  #
2487
+ # Secrets Manager generates a CloudTrail log entry when you call this
2488
+ # action. Do not include sensitive information in request parameters
2489
+ # because it might be logged. For more information, see [Logging Secrets
2490
+ # Manager events with CloudTrail][1].
2491
+ #
2379
2492
  # <b>Required permissions: </b> `secretsmanager:UntagResource`. For more
2380
- # information, see [ IAM policy actions for Secrets Manager][1] and
2381
- # [Authentication and access control in Secrets Manager][2].
2493
+ # information, see [ IAM policy actions for Secrets Manager][2] and
2494
+ # [Authentication and access control in Secrets Manager][3].
2382
2495
  #
2383
2496
  #
2384
2497
  #
2385
- # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2386
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2498
+ # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
2499
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2500
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2387
2501
  #
2388
2502
  # @option params [required, String] :secret_id
2389
2503
  # The ARN or name of the secret.
@@ -2458,8 +2572,9 @@ module Aws::SecretsManager
2458
2572
  # reach the quota for secret versions.
2459
2573
  #
2460
2574
  # If you include `SecretString` or `SecretBinary` to create a new secret
2461
- # version, Secrets Manager automatically attaches the staging label
2462
- # `AWSCURRENT` to the new version.
2575
+ # version, Secrets Manager automatically moves the staging label
2576
+ # `AWSCURRENT` to the new version. Then it attaches the label
2577
+ # `AWSPREVIOUS` to the version that `AWSCURRENT` was removed from.
2463
2578
  #
2464
2579
  # If you call this operation with a `ClientRequestToken` that matches an
2465
2580
  # existing version's `VersionId`, the operation results in an error.
@@ -2467,18 +2582,25 @@ module Aws::SecretsManager
2467
2582
  # version. To remove a version, remove all staging labels from it. See
2468
2583
  # UpdateSecretVersionStage.
2469
2584
  #
2585
+ # Secrets Manager generates a CloudTrail log entry when you call this
2586
+ # action. Do not include sensitive information in request parameters
2587
+ # except `SecretBinary` or `SecretString` because it might be logged.
2588
+ # For more information, see [Logging Secrets Manager events with
2589
+ # CloudTrail][1].
2590
+ #
2470
2591
  # <b>Required permissions: </b> `secretsmanager:UpdateSecret`. For more
2471
- # information, see [ IAM policy actions for Secrets Manager][1] and
2472
- # [Authentication and access control in Secrets Manager][2]. If you use
2592
+ # information, see [ IAM policy actions for Secrets Manager][2] and
2593
+ # [Authentication and access control in Secrets Manager][3]. If you use
2473
2594
  # a customer managed key, you must also have `kms:GenerateDataKey` and
2474
2595
  # `kms:Decrypt` permissions on the key. For more information, see [
2475
- # Secret encryption and decryption][3].
2596
+ # Secret encryption and decryption][4].
2476
2597
  #
2477
2598
  #
2478
2599
  #
2479
- # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2480
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2481
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/security-encryption.html
2600
+ # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
2601
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2602
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2603
+ # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/security-encryption.html
2482
2604
  #
2483
2605
  # @option params [required, String] :secret_id
2484
2606
  # The ARN or name of the secret.
@@ -2671,16 +2793,22 @@ module Aws::SecretsManager
2671
2793
  # then the version is considered to be 'deprecated' and can be deleted
2672
2794
  # by Secrets Manager.
2673
2795
  #
2796
+ # Secrets Manager generates a CloudTrail log entry when you call this
2797
+ # action. Do not include sensitive information in request parameters
2798
+ # because it might be logged. For more information, see [Logging Secrets
2799
+ # Manager events with CloudTrail][2].
2800
+ #
2674
2801
  # <b>Required permissions: </b>
2675
2802
  # `secretsmanager:UpdateSecretVersionStage`. For more information, see [
2676
- # IAM policy actions for Secrets Manager][2] and [Authentication and
2677
- # access control in Secrets Manager][3].
2803
+ # IAM policy actions for Secrets Manager][3] and [Authentication and
2804
+ # access control in Secrets Manager][4].
2678
2805
  #
2679
2806
  #
2680
2807
  #
2681
2808
  # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/getting-started.html#term_version
2682
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2683
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2809
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
2810
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2811
+ # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2684
2812
  #
2685
2813
  # @option params [required, String] :secret_id
2686
2814
  # The ARN or the name of the secret with the version and staging
@@ -2809,15 +2937,21 @@ module Aws::SecretsManager
2809
2937
  #
2810
2938
  # * Verifies the policy does not lock out a caller.
2811
2939
  #
2940
+ # Secrets Manager generates a CloudTrail log entry when you call this
2941
+ # action. Do not include sensitive information in request parameters
2942
+ # because it might be logged. For more information, see [Logging Secrets
2943
+ # Manager events with CloudTrail][2].
2944
+ #
2812
2945
  # <b>Required permissions: </b> `secretsmanager:ValidateResourcePolicy`.
2813
- # For more information, see [ IAM policy actions for Secrets Manager][2]
2814
- # and [Authentication and access control in Secrets Manager][3].
2946
+ # For more information, see [ IAM policy actions for Secrets Manager][3]
2947
+ # and [Authentication and access control in Secrets Manager][4].
2815
2948
  #
2816
2949
  #
2817
2950
  #
2818
2951
  # [1]: https://aws.amazon.com/blogs/security/protect-sensitive-data-in-the-cloud-with-automated-reasoning-zelkova/
2819
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2820
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2952
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
2953
+ # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
2954
+ # [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
2821
2955
  #
2822
2956
  # @option params [String] :secret_id
2823
2957
  # This field is reserved for internal use.
@@ -2890,7 +3024,7 @@ module Aws::SecretsManager
2890
3024
  params: params,
2891
3025
  config: config)
2892
3026
  context[:gem_name] = 'aws-sdk-secretsmanager'
2893
- context[:gem_version] = '1.65.0'
3027
+ context[:gem_version] = '1.66.0'
2894
3028
  Seahorse::Client::Request.new(handlers, context)
2895
3029
  end
2896
3030
 
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-secretsmanager/customizations'
48
48
  # @!group service
49
49
  module Aws::SecretsManager
50
50
 
51
- GEM_VERSION = '1.65.0'
51
+ GEM_VERSION = '1.66.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-secretsmanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.65.0
4
+ version: 1.66.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-17 00:00:00.000000000 Z
11
+ date: 2022-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core