aws-sdk-secretsmanager 1.57.0 → 1.60.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-secretsmanager/client.rb +157 -70
- data/lib/aws-sdk-secretsmanager/types.rb +75 -15
- data/lib/aws-sdk-secretsmanager.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8df4daf2d651916a1c2064939bcf1dc18cc30ef5ceef9fdda071f67f3d365632
|
4
|
+
data.tar.gz: 8913f355a291887628e8f3537e3f700dab0fd90c0cc5430c216d0310e7005421
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8068795275cfe892637f5e9635f01566a237fdca18b9388cd3372609d24fe011e011c8a2e59d4c75b0aac0c08078be335028539d6b363e09d0fd3a079fca116d
|
7
|
+
data.tar.gz: c68a142de2be5b6d86b0205d663a4fb289e94d8e6bef6f0d30a0744a7f0815339637662c4ed482ff29ee151ae6c6ef530f7bf9c998bbd2b51d1443e4286a6de3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.60.0 (2022-04-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for Secrets Manager
|
8
|
+
|
9
|
+
1.59.0 (2022-03-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for Secrets Manager.
|
13
|
+
|
14
|
+
1.58.0 (2022-02-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.57.0 (2022-02-03)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.60.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::SecretsManager
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -380,14 +382,18 @@ module Aws::SecretsManager
|
|
380
382
|
#
|
381
383
|
#
|
382
384
|
#
|
383
|
-
# [1]: https://docs.aws.amazon.com/
|
385
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
384
386
|
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
385
387
|
#
|
386
388
|
# @option params [required, String] :secret_id
|
387
389
|
# The ARN or name of the secret.
|
388
390
|
#
|
389
391
|
# For an ARN, we recommend that you specify a complete ARN rather than a
|
390
|
-
# partial ARN.
|
392
|
+
# partial ARN. See [Finding a secret from a partial ARN][1].
|
393
|
+
#
|
394
|
+
#
|
395
|
+
#
|
396
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
391
397
|
#
|
392
398
|
# @return [Types::CancelRotateSecretResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
393
399
|
#
|
@@ -433,8 +439,9 @@ module Aws::SecretsManager
|
|
433
439
|
req.send_request(options)
|
434
440
|
end
|
435
441
|
|
436
|
-
# Creates a new secret. A *secret*
|
437
|
-
# user name and password,
|
442
|
+
# Creates a new secret. A *secret* can be a password, a set of
|
443
|
+
# credentials such as a user name and password, an OAuth token, or other
|
444
|
+
# secret information that you store in an encrypted form in Secrets
|
438
445
|
# Manager. The secret also includes the connection information to access
|
439
446
|
# a database or other service, which Secrets Manager doesn't encrypt. A
|
440
447
|
# secret in Secrets Manager consists of both the protected secret data
|
@@ -449,6 +456,11 @@ module Aws::SecretsManager
|
|
449
456
|
# `SecretBinary` then Secrets Manager creates an initial secret version
|
450
457
|
# and automatically attaches the staging label `AWSCURRENT` to it.
|
451
458
|
#
|
459
|
+
# For database credentials you want to rotate, for Secrets Manager to be
|
460
|
+
# able to rotate the secret, you must make sure the JSON you store in
|
461
|
+
# the `SecretString` matches the [JSON structure of a database
|
462
|
+
# secret][2].
|
463
|
+
#
|
452
464
|
# If you don't specify an KMS encryption key, Secrets Manager uses the
|
453
465
|
# Amazon Web Services managed key `aws/secretsmanager`. If this key
|
454
466
|
# doesn't already exist in your account, then Secrets Manager creates
|
@@ -462,15 +474,22 @@ module Aws::SecretsManager
|
|
462
474
|
# to encrypt the secret, and you must create and use a customer managed
|
463
475
|
# KMS key.
|
464
476
|
#
|
465
|
-
# <b>Required permissions: </b> `secretsmanager:CreateSecret`.
|
466
|
-
#
|
467
|
-
#
|
477
|
+
# <b>Required permissions: </b> `secretsmanager:CreateSecret`. If you
|
478
|
+
# include tags in the secret, you also need
|
479
|
+
# `secretsmanager:TagResource`. For more information, see [ IAM policy
|
480
|
+
# actions for Secrets Manager][3] and [Authentication and access control
|
481
|
+
# in Secrets Manager][4].
|
482
|
+
#
|
483
|
+
# To encrypt the secret with a KMS key other than `aws/secretsmanager`,
|
484
|
+
# you need `kms:GenerateDataKey` and `kms:Decrypt` permission to the
|
485
|
+
# key.
|
468
486
|
#
|
469
487
|
#
|
470
488
|
#
|
471
489
|
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_create-basic-secret.html
|
472
|
-
# [2]: https://docs.aws.amazon.com/
|
473
|
-
# [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/
|
490
|
+
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_secret_json_structure.html
|
491
|
+
# [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
492
|
+
# [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
474
493
|
#
|
475
494
|
# @option params [required, String] :name
|
476
495
|
# The name of the new secret.
|
@@ -646,7 +665,7 @@ module Aws::SecretsManager
|
|
646
665
|
# client_request_token: "EXAMPLE1-90ab-cdef-fedc-ba987SECRET1",
|
647
666
|
# description: "My test database secret created with the CLI",
|
648
667
|
# name: "MyTestDatabaseSecret",
|
649
|
-
# secret_string: "{\"username\":\"david\",\"password\":\"
|
668
|
+
# secret_string: "{\"username\":\"david\",\"password\":\"EXAMPLE-PASSWORD\"}",
|
650
669
|
# })
|
651
670
|
#
|
652
671
|
# resp.to_h outputs the following:
|
@@ -710,7 +729,7 @@ module Aws::SecretsManager
|
|
710
729
|
#
|
711
730
|
#
|
712
731
|
#
|
713
|
-
# [1]: https://docs.aws.amazon.com/
|
732
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
714
733
|
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
715
734
|
#
|
716
735
|
# @option params [required, String] :secret_id
|
@@ -718,7 +737,11 @@ module Aws::SecretsManager
|
|
718
737
|
# policy for.
|
719
738
|
#
|
720
739
|
# For an ARN, we recommend that you specify a complete ARN rather than a
|
721
|
-
# partial ARN.
|
740
|
+
# partial ARN. See [Finding a secret from a partial ARN][1].
|
741
|
+
#
|
742
|
+
#
|
743
|
+
#
|
744
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
722
745
|
#
|
723
746
|
# @return [Types::DeleteResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
724
747
|
#
|
@@ -789,14 +812,18 @@ module Aws::SecretsManager
|
|
789
812
|
#
|
790
813
|
#
|
791
814
|
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_delete-secret.html
|
792
|
-
# [2]: https://docs.aws.amazon.com/
|
815
|
+
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
793
816
|
# [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
794
817
|
#
|
795
818
|
# @option params [required, String] :secret_id
|
796
819
|
# The ARN or name of the secret to delete.
|
797
820
|
#
|
798
821
|
# For an ARN, we recommend that you specify a complete ARN rather than a
|
799
|
-
# partial ARN.
|
822
|
+
# partial ARN. See [Finding a secret from a partial ARN][1].
|
823
|
+
#
|
824
|
+
#
|
825
|
+
#
|
826
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
800
827
|
#
|
801
828
|
# @option params [Integer] :recovery_window_in_days
|
802
829
|
# The number of days from 7 to 30 that Secrets Manager waits before
|
@@ -881,14 +908,18 @@ module Aws::SecretsManager
|
|
881
908
|
#
|
882
909
|
#
|
883
910
|
#
|
884
|
-
# [1]: https://docs.aws.amazon.com/
|
911
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
885
912
|
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
886
913
|
#
|
887
914
|
# @option params [required, String] :secret_id
|
888
915
|
# The ARN or name of the secret.
|
889
916
|
#
|
890
917
|
# For an ARN, we recommend that you specify a complete ARN rather than a
|
891
|
-
# partial ARN.
|
918
|
+
# partial ARN. See [Finding a secret from a partial ARN][1].
|
919
|
+
#
|
920
|
+
#
|
921
|
+
#
|
922
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
892
923
|
#
|
893
924
|
# @return [Types::DescribeSecretResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
894
925
|
#
|
@@ -931,7 +962,9 @@ module Aws::SecretsManager
|
|
931
962
|
# rotation_enabled: true,
|
932
963
|
# rotation_lambda_arn: "arn:aws:lambda:us-west-2:123456789012:function:MyTestRotationLambda",
|
933
964
|
# rotation_rules: {
|
934
|
-
# automatically_after_days:
|
965
|
+
# automatically_after_days: 14,
|
966
|
+
# duration: "2h",
|
967
|
+
# schedule_expression: "cron(0 16 1,15 * ? *)",
|
935
968
|
# },
|
936
969
|
# tags: [
|
937
970
|
# {
|
@@ -1009,7 +1042,7 @@ module Aws::SecretsManager
|
|
1009
1042
|
#
|
1010
1043
|
#
|
1011
1044
|
#
|
1012
|
-
# [1]: https://docs.aws.amazon.com/
|
1045
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
1013
1046
|
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
1014
1047
|
#
|
1015
1048
|
# @option params [Integer] :password_length
|
@@ -1066,7 +1099,7 @@ module Aws::SecretsManager
|
|
1066
1099
|
#
|
1067
1100
|
# resp.to_h outputs the following:
|
1068
1101
|
# {
|
1069
|
-
# random_password: "
|
1102
|
+
# random_password: "EXAMPLE-PASSWORD",
|
1070
1103
|
# }
|
1071
1104
|
#
|
1072
1105
|
# @example Request syntax with placeholder values
|
@@ -1107,7 +1140,7 @@ module Aws::SecretsManager
|
|
1107
1140
|
#
|
1108
1141
|
#
|
1109
1142
|
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_resource-policies.html
|
1110
|
-
# [2]: https://docs.aws.amazon.com/
|
1143
|
+
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
1111
1144
|
# [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
1112
1145
|
#
|
1113
1146
|
# @option params [required, String] :secret_id
|
@@ -1115,7 +1148,11 @@ module Aws::SecretsManager
|
|
1115
1148
|
# policy for.
|
1116
1149
|
#
|
1117
1150
|
# For an ARN, we recommend that you specify a complete ARN rather than a
|
1118
|
-
# partial ARN.
|
1151
|
+
# partial ARN. See [Finding a secret from a partial ARN][1].
|
1152
|
+
#
|
1153
|
+
#
|
1154
|
+
#
|
1155
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
1119
1156
|
#
|
1120
1157
|
# @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1121
1158
|
#
|
@@ -1178,14 +1215,18 @@ module Aws::SecretsManager
|
|
1178
1215
|
#
|
1179
1216
|
#
|
1180
1217
|
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets.html
|
1181
|
-
# [2]: https://docs.aws.amazon.com/
|
1218
|
+
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
1182
1219
|
# [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
1183
1220
|
#
|
1184
1221
|
# @option params [required, String] :secret_id
|
1185
1222
|
# The ARN or name of the secret to retrieve.
|
1186
1223
|
#
|
1187
1224
|
# For an ARN, we recommend that you specify a complete ARN rather than a
|
1188
|
-
# partial ARN.
|
1225
|
+
# partial ARN. See [Finding a secret from a partial ARN][1].
|
1226
|
+
#
|
1227
|
+
#
|
1228
|
+
#
|
1229
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
1189
1230
|
#
|
1190
1231
|
# @option params [String] :version_id
|
1191
1232
|
# The unique identifier of the version of the secret to retrieve. If you
|
@@ -1223,13 +1264,10 @@ module Aws::SecretsManager
|
|
1223
1264
|
#
|
1224
1265
|
# @example Example: To retrieve the encrypted secret value of a secret
|
1225
1266
|
#
|
1226
|
-
# # The following example shows how to retrieve
|
1227
|
-
# # AWSPREVIOUS staging label attached. If you want to retrieve the AWSCURRENT version of the secret, then you can omit the
|
1228
|
-
# # VersionStage parameter because it defaults to AWSCURRENT.
|
1267
|
+
# # The following example shows how to retrieve a secret string value.
|
1229
1268
|
#
|
1230
1269
|
# resp = client.get_secret_value({
|
1231
1270
|
# secret_id: "MyTestDatabaseSecret",
|
1232
|
-
# version_stage: "AWSPREVIOUS",
|
1233
1271
|
# })
|
1234
1272
|
#
|
1235
1273
|
# resp.to_h outputs the following:
|
@@ -1237,7 +1275,7 @@ module Aws::SecretsManager
|
|
1237
1275
|
# arn: "arn:aws:secretsmanager:us-west-2:123456789012:secret:MyTestDatabaseSecret-a1b2c3",
|
1238
1276
|
# created_date: Time.parse(1523477145.713),
|
1239
1277
|
# name: "MyTestDatabaseSecret",
|
1240
|
-
# secret_string: "{\n \"username\":\"david\",\n \"password\":\"
|
1278
|
+
# secret_string: "{\n \"username\":\"david\",\n \"password\":\"EXAMPLE-PASSWORD\"\n}\n",
|
1241
1279
|
# version_id: "EXAMPLE1-90ab-cdef-fedc-ba987SECRET1",
|
1242
1280
|
# version_stages: [
|
1243
1281
|
# "AWSPREVIOUS",
|
@@ -1285,14 +1323,18 @@ module Aws::SecretsManager
|
|
1285
1323
|
#
|
1286
1324
|
#
|
1287
1325
|
#
|
1288
|
-
# [1]: https://docs.aws.amazon.com/
|
1326
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
1289
1327
|
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
1290
1328
|
#
|
1291
1329
|
# @option params [required, String] :secret_id
|
1292
1330
|
# The ARN or name of the secret whose versions you want to list.
|
1293
1331
|
#
|
1294
1332
|
# For an ARN, we recommend that you specify a complete ARN rather than a
|
1295
|
-
# partial ARN.
|
1333
|
+
# partial ARN. See [Finding a secret from a partial ARN][1].
|
1334
|
+
#
|
1335
|
+
#
|
1336
|
+
#
|
1337
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
1296
1338
|
#
|
1297
1339
|
# @option params [Integer] :max_results
|
1298
1340
|
# The number of results to include in the response.
|
@@ -1390,7 +1432,8 @@ module Aws::SecretsManager
|
|
1390
1432
|
end
|
1391
1433
|
|
1392
1434
|
# Lists the secrets that are stored by Secrets Manager in the Amazon Web
|
1393
|
-
# Services account.
|
1435
|
+
# Services account, not including secrets that are marked for deletion.
|
1436
|
+
# To see secrets marked for deletion, use the Secrets Manager console.
|
1394
1437
|
#
|
1395
1438
|
# To list the versions of a secret, use ListSecretVersionIds.
|
1396
1439
|
#
|
@@ -1407,7 +1450,7 @@ module Aws::SecretsManager
|
|
1407
1450
|
#
|
1408
1451
|
#
|
1409
1452
|
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_search-secret.html
|
1410
|
-
# [2]: https://docs.aws.amazon.com/
|
1453
|
+
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
1411
1454
|
# [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
1412
1455
|
#
|
1413
1456
|
# @option params [Integer] :max_results
|
@@ -1536,13 +1579,17 @@ module Aws::SecretsManager
|
|
1536
1579
|
#
|
1537
1580
|
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
1538
1581
|
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_resource-based-policies.html
|
1539
|
-
# [3]: https://docs.aws.amazon.com/
|
1582
|
+
# [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
1540
1583
|
#
|
1541
1584
|
# @option params [required, String] :secret_id
|
1542
1585
|
# The ARN or name of the secret to attach the resource-based policy.
|
1543
1586
|
#
|
1544
1587
|
# For an ARN, we recommend that you specify a complete ARN rather than a
|
1545
|
-
# partial ARN.
|
1588
|
+
# partial ARN. See [Finding a secret from a partial ARN][1].
|
1589
|
+
#
|
1590
|
+
#
|
1591
|
+
#
|
1592
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
1546
1593
|
#
|
1547
1594
|
# @option params [required, String] :resource_policy
|
1548
1595
|
# A JSON-formatted string for an Amazon Web Services resource-based
|
@@ -1639,17 +1686,21 @@ module Aws::SecretsManager
|
|
1639
1686
|
#
|
1640
1687
|
#
|
1641
1688
|
#
|
1642
|
-
# [1]: https://docs.aws.amazon.com/
|
1689
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
1643
1690
|
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
1644
1691
|
#
|
1645
1692
|
# @option params [required, String] :secret_id
|
1646
1693
|
# The ARN or name of the secret to add a new version to.
|
1647
1694
|
#
|
1648
1695
|
# For an ARN, we recommend that you specify a complete ARN rather than a
|
1649
|
-
# partial ARN.
|
1696
|
+
# partial ARN. See [Finding a secret from a partial ARN][1].
|
1650
1697
|
#
|
1651
1698
|
# If the secret doesn't already exist, use `CreateSecret` instead.
|
1652
1699
|
#
|
1700
|
+
#
|
1701
|
+
#
|
1702
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
1703
|
+
#
|
1653
1704
|
# @option params [String] :client_request_token
|
1654
1705
|
# A unique identifier for the new version of the secret.
|
1655
1706
|
#
|
@@ -1740,7 +1791,7 @@ module Aws::SecretsManager
|
|
1740
1791
|
# resp = client.put_secret_value({
|
1741
1792
|
# client_request_token: "EXAMPLE2-90ab-cdef-fedc-ba987EXAMPLE",
|
1742
1793
|
# secret_id: "MyTestDatabaseSecret",
|
1743
|
-
# secret_string: "{\"username\":\"david\",\"password\":\"
|
1794
|
+
# secret_string: "{\"username\":\"david\",\"password\":\"EXAMPLE-PASSWORD\"}",
|
1744
1795
|
# })
|
1745
1796
|
#
|
1746
1797
|
# resp.to_h outputs the following:
|
@@ -1790,7 +1841,7 @@ module Aws::SecretsManager
|
|
1790
1841
|
#
|
1791
1842
|
#
|
1792
1843
|
#
|
1793
|
-
# [1]: https://docs.aws.amazon.com/
|
1844
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
1794
1845
|
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
1795
1846
|
#
|
1796
1847
|
# @option params [required, String] :secret_id
|
@@ -1840,7 +1891,7 @@ module Aws::SecretsManager
|
|
1840
1891
|
#
|
1841
1892
|
#
|
1842
1893
|
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/create-manage-multi-region-secrets.html
|
1843
|
-
# [2]: https://docs.aws.amazon.com/
|
1894
|
+
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
1844
1895
|
# [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
1845
1896
|
#
|
1846
1897
|
# @option params [required, String] :secret_id
|
@@ -1900,14 +1951,18 @@ module Aws::SecretsManager
|
|
1900
1951
|
#
|
1901
1952
|
#
|
1902
1953
|
#
|
1903
|
-
# [1]: https://docs.aws.amazon.com/
|
1954
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
1904
1955
|
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
1905
1956
|
#
|
1906
1957
|
# @option params [required, String] :secret_id
|
1907
1958
|
# The ARN or name of the secret to restore.
|
1908
1959
|
#
|
1909
1960
|
# For an ARN, we recommend that you specify a complete ARN rather than a
|
1910
|
-
# partial ARN.
|
1961
|
+
# partial ARN. See [Finding a secret from a partial ARN][1].
|
1962
|
+
#
|
1963
|
+
#
|
1964
|
+
#
|
1965
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
1911
1966
|
#
|
1912
1967
|
# @return [Types::RestoreSecretResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1913
1968
|
#
|
@@ -1950,49 +2005,65 @@ module Aws::SecretsManager
|
|
1950
2005
|
end
|
1951
2006
|
|
1952
2007
|
# Configures and starts the asynchronous process of rotating the secret.
|
2008
|
+
# For more information about rotation, see [Rotate secrets][1].
|
1953
2009
|
#
|
1954
2010
|
# If you include the configuration parameters, the operation sets the
|
1955
2011
|
# values for the secret and then immediately starts a rotation. If you
|
1956
2012
|
# don't include the configuration parameters, the operation starts a
|
1957
|
-
# rotation with the values already stored in the secret.
|
1958
|
-
# information about rotation, see [Rotate secrets][1].
|
2013
|
+
# rotation with the values already stored in the secret.
|
1959
2014
|
#
|
1960
|
-
#
|
2015
|
+
# For database credentials you want to rotate, for Secrets Manager to be
|
2016
|
+
# able to rotate the secret, you must make sure the secret value is in
|
2017
|
+
# the [ JSON structure of a database secret][2]. In particular, if you
|
2018
|
+
# want to use the [ alternating users strategy][3], your secret must
|
2019
|
+
# contain the ARN of a superuser secret.
|
2020
|
+
#
|
2021
|
+
# To configure rotation, you also need the ARN of an Amazon Web Services
|
1961
2022
|
# Lambda function and the schedule for the rotation. The Lambda rotation
|
1962
2023
|
# function creates a new version of the secret and creates or updates
|
1963
2024
|
# the credentials on the database or service to match. After testing the
|
1964
2025
|
# new credentials, the function marks the new secret version with the
|
1965
2026
|
# staging label `AWSCURRENT`. Then anyone who retrieves the secret gets
|
1966
|
-
# the new version. For more information, see [How rotation works][
|
2027
|
+
# the new version. For more information, see [How rotation works][4].
|
2028
|
+
#
|
2029
|
+
# You can create the Lambda rotation function based on the [rotation
|
2030
|
+
# function templates][5] that Secrets Manager provides. Choose a
|
2031
|
+
# template that matches your [Rotation strategy][6].
|
1967
2032
|
#
|
1968
2033
|
# When rotation is successful, the `AWSPENDING` staging label might be
|
1969
2034
|
# attached to the same version as the `AWSCURRENT` version, or it might
|
1970
|
-
# not be attached to any version.
|
1971
|
-
#
|
1972
|
-
#
|
1973
|
-
#
|
1974
|
-
# `RotateSecret` assumes that a previous rotation request is still in
|
1975
|
-
# progress and returns an error.
|
2035
|
+
# not be attached to any version. If the `AWSPENDING` staging label is
|
2036
|
+
# present but not attached to the same version as `AWSCURRENT`, then any
|
2037
|
+
# later invocation of `RotateSecret` assumes that a previous rotation
|
2038
|
+
# request is still in progress and returns an error.
|
1976
2039
|
#
|
1977
2040
|
# <b>Required permissions: </b> `secretsmanager:RotateSecret`. For more
|
1978
|
-
# information, see [ IAM policy actions for Secrets Manager][
|
1979
|
-
# [Authentication and access control in Secrets Manager][
|
2041
|
+
# information, see [ IAM policy actions for Secrets Manager][7] and
|
2042
|
+
# [Authentication and access control in Secrets Manager][8]. You also
|
1980
2043
|
# need `lambda:InvokeFunction` permissions on the rotation function. For
|
1981
|
-
# more information, see [ Permissions for rotation][
|
2044
|
+
# more information, see [ Permissions for rotation][9].
|
1982
2045
|
#
|
1983
2046
|
#
|
1984
2047
|
#
|
1985
2048
|
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html
|
1986
|
-
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/
|
1987
|
-
# [3]: https://docs.aws.amazon.com/
|
1988
|
-
# [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/
|
1989
|
-
# [5]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/
|
2049
|
+
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_secret_json_structure.html
|
2050
|
+
# [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets_strategies.html#rotating-secrets-two-users
|
2051
|
+
# [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html
|
2052
|
+
# [5]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html
|
2053
|
+
# [6]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets_strategies.html
|
2054
|
+
# [7]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
2055
|
+
# [8]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
2056
|
+
# [9]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets-required-permissions-function.html
|
1990
2057
|
#
|
1991
2058
|
# @option params [required, String] :secret_id
|
1992
2059
|
# The ARN or name of the secret to rotate.
|
1993
2060
|
#
|
1994
2061
|
# For an ARN, we recommend that you specify a complete ARN rather than a
|
1995
|
-
# partial ARN.
|
2062
|
+
# partial ARN. See [Finding a secret from a partial ARN][1].
|
2063
|
+
#
|
2064
|
+
#
|
2065
|
+
#
|
2066
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
1996
2067
|
#
|
1997
2068
|
# @option params [String] :client_request_token
|
1998
2069
|
# A unique identifier for the new version of the secret that helps
|
@@ -2092,7 +2163,7 @@ module Aws::SecretsManager
|
|
2092
2163
|
#
|
2093
2164
|
#
|
2094
2165
|
#
|
2095
|
-
# [1]: https://docs.aws.amazon.com/
|
2166
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
2096
2167
|
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
2097
2168
|
#
|
2098
2169
|
# @option params [required, String] :secret_id
|
@@ -2158,7 +2229,7 @@ module Aws::SecretsManager
|
|
2158
2229
|
#
|
2159
2230
|
#
|
2160
2231
|
#
|
2161
|
-
# [1]: https://docs.aws.amazon.com/
|
2232
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
2162
2233
|
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
2163
2234
|
#
|
2164
2235
|
# @option params [required, String] :secret_id
|
@@ -2167,7 +2238,11 @@ module Aws::SecretsManager
|
|
2167
2238
|
# secret.
|
2168
2239
|
#
|
2169
2240
|
# For an ARN, we recommend that you specify a complete ARN rather than a
|
2170
|
-
# partial ARN.
|
2241
|
+
# partial ARN. See [Finding a secret from a partial ARN][1].
|
2242
|
+
#
|
2243
|
+
#
|
2244
|
+
#
|
2245
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
2171
2246
|
#
|
2172
2247
|
# @option params [required, Array<Types::Tag>] :tags
|
2173
2248
|
# The tags to attach to the secret as a JSON text string argument. Each
|
@@ -2241,14 +2316,18 @@ module Aws::SecretsManager
|
|
2241
2316
|
#
|
2242
2317
|
#
|
2243
2318
|
#
|
2244
|
-
# [1]: https://docs.aws.amazon.com/
|
2319
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
2245
2320
|
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
2246
2321
|
#
|
2247
2322
|
# @option params [required, String] :secret_id
|
2248
2323
|
# The ARN or name of the secret.
|
2249
2324
|
#
|
2250
2325
|
# For an ARN, we recommend that you specify a complete ARN rather than a
|
2251
|
-
# partial ARN.
|
2326
|
+
# partial ARN. See [Finding a secret from a partial ARN][1].
|
2327
|
+
#
|
2328
|
+
#
|
2329
|
+
#
|
2330
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
2252
2331
|
#
|
2253
2332
|
# @option params [required, Array<String>] :tag_keys
|
2254
2333
|
# A list of tag key names to remove from the secret. You don't specify
|
@@ -2344,7 +2423,7 @@ module Aws::SecretsManager
|
|
2344
2423
|
#
|
2345
2424
|
#
|
2346
2425
|
#
|
2347
|
-
# [1]: https://docs.aws.amazon.com/
|
2426
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
2348
2427
|
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
2349
2428
|
# [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/security-encryption.html
|
2350
2429
|
#
|
@@ -2352,7 +2431,11 @@ module Aws::SecretsManager
|
|
2352
2431
|
# The ARN or name of the secret.
|
2353
2432
|
#
|
2354
2433
|
# For an ARN, we recommend that you specify a complete ARN rather than a
|
2355
|
-
# partial ARN.
|
2434
|
+
# partial ARN. See [Finding a secret from a partial ARN][1].
|
2435
|
+
#
|
2436
|
+
#
|
2437
|
+
#
|
2438
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
2356
2439
|
#
|
2357
2440
|
# @option params [String] :client_request_token
|
2358
2441
|
# If you include `SecretString` or `SecretBinary`, then Secrets Manager
|
@@ -2530,7 +2613,7 @@ module Aws::SecretsManager
|
|
2530
2613
|
#
|
2531
2614
|
#
|
2532
2615
|
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/getting-started.html#term_version
|
2533
|
-
# [2]: https://docs.aws.amazon.com/
|
2616
|
+
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
2534
2617
|
# [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
2535
2618
|
#
|
2536
2619
|
# @option params [required, String] :secret_id
|
@@ -2538,7 +2621,11 @@ module Aws::SecretsManager
|
|
2538
2621
|
# labelsto modify.
|
2539
2622
|
#
|
2540
2623
|
# For an ARN, we recommend that you specify a complete ARN rather than a
|
2541
|
-
# partial ARN.
|
2624
|
+
# partial ARN. See [Finding a secret from a partial ARN][1].
|
2625
|
+
#
|
2626
|
+
#
|
2627
|
+
#
|
2628
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
2542
2629
|
#
|
2543
2630
|
# @option params [required, String] :version_stage
|
2544
2631
|
# The staging label to add to this version.
|
@@ -2663,7 +2750,7 @@ module Aws::SecretsManager
|
|
2663
2750
|
#
|
2664
2751
|
#
|
2665
2752
|
# [1]: https://aws.amazon.com/blogs/security/protect-sensitive-data-in-the-cloud-with-automated-reasoning-zelkova/
|
2666
|
-
# [2]: https://docs.aws.amazon.com/
|
2753
|
+
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
2667
2754
|
# [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
2668
2755
|
#
|
2669
2756
|
# @option params [String] :secret_id
|
@@ -2737,7 +2824,7 @@ module Aws::SecretsManager
|
|
2737
2824
|
params: params,
|
2738
2825
|
config: config)
|
2739
2826
|
context[:gem_name] = 'aws-sdk-secretsmanager'
|
2740
|
-
context[:gem_version] = '1.
|
2827
|
+
context[:gem_version] = '1.60.0'
|
2741
2828
|
Seahorse::Client::Request.new(handlers, context)
|
2742
2829
|
end
|
2743
2830
|
|
@@ -21,7 +21,11 @@ module Aws::SecretsManager
|
|
21
21
|
# The ARN or name of the secret.
|
22
22
|
#
|
23
23
|
# For an ARN, we recommend that you specify a complete ARN rather than
|
24
|
-
# a partial ARN.
|
24
|
+
# a partial ARN. See [Finding a secret from a partial ARN][1].
|
25
|
+
#
|
26
|
+
#
|
27
|
+
#
|
28
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
25
29
|
# @return [String]
|
26
30
|
#
|
27
31
|
# @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/CancelRotateSecretRequest AWS API Documentation
|
@@ -330,7 +334,11 @@ module Aws::SecretsManager
|
|
330
334
|
# policy for.
|
331
335
|
#
|
332
336
|
# For an ARN, we recommend that you specify a complete ARN rather than
|
333
|
-
# a partial ARN.
|
337
|
+
# a partial ARN. See [Finding a secret from a partial ARN][1].
|
338
|
+
#
|
339
|
+
#
|
340
|
+
#
|
341
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
334
342
|
# @return [String]
|
335
343
|
#
|
336
344
|
# @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/DeleteResourcePolicyRequest AWS API Documentation
|
@@ -373,7 +381,11 @@ module Aws::SecretsManager
|
|
373
381
|
# The ARN or name of the secret to delete.
|
374
382
|
#
|
375
383
|
# For an ARN, we recommend that you specify a complete ARN rather than
|
376
|
-
# a partial ARN.
|
384
|
+
# a partial ARN. See [Finding a secret from a partial ARN][1].
|
385
|
+
#
|
386
|
+
#
|
387
|
+
#
|
388
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
377
389
|
# @return [String]
|
378
390
|
#
|
379
391
|
# @!attribute [rw] recovery_window_in_days
|
@@ -449,7 +461,11 @@ module Aws::SecretsManager
|
|
449
461
|
# The ARN or name of the secret.
|
450
462
|
#
|
451
463
|
# For an ARN, we recommend that you specify a complete ARN rather than
|
452
|
-
# a partial ARN.
|
464
|
+
# a partial ARN. See [Finding a secret from a partial ARN][1].
|
465
|
+
#
|
466
|
+
#
|
467
|
+
#
|
468
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
453
469
|
# @return [String]
|
454
470
|
#
|
455
471
|
# @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/DescribeSecretRequest AWS API Documentation
|
@@ -775,7 +791,11 @@ module Aws::SecretsManager
|
|
775
791
|
# resource-based policy for.
|
776
792
|
#
|
777
793
|
# For an ARN, we recommend that you specify a complete ARN rather than
|
778
|
-
# a partial ARN.
|
794
|
+
# a partial ARN. See [Finding a secret from a partial ARN][1].
|
795
|
+
#
|
796
|
+
#
|
797
|
+
#
|
798
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
779
799
|
# @return [String]
|
780
800
|
#
|
781
801
|
# @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/GetResourcePolicyRequest AWS API Documentation
|
@@ -830,7 +850,11 @@ module Aws::SecretsManager
|
|
830
850
|
# The ARN or name of the secret to retrieve.
|
831
851
|
#
|
832
852
|
# For an ARN, we recommend that you specify a complete ARN rather than
|
833
|
-
# a partial ARN.
|
853
|
+
# a partial ARN. See [Finding a secret from a partial ARN][1].
|
854
|
+
#
|
855
|
+
#
|
856
|
+
#
|
857
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
834
858
|
# @return [String]
|
835
859
|
#
|
836
860
|
# @!attribute [rw] version_id
|
@@ -1018,7 +1042,11 @@ module Aws::SecretsManager
|
|
1018
1042
|
# The ARN or name of the secret whose versions you want to list.
|
1019
1043
|
#
|
1020
1044
|
# For an ARN, we recommend that you specify a complete ARN rather than
|
1021
|
-
# a partial ARN.
|
1045
|
+
# a partial ARN. See [Finding a secret from a partial ARN][1].
|
1046
|
+
#
|
1047
|
+
#
|
1048
|
+
#
|
1049
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
1022
1050
|
# @return [String]
|
1023
1051
|
#
|
1024
1052
|
# @!attribute [rw] max_results
|
@@ -1207,7 +1235,11 @@ module Aws::SecretsManager
|
|
1207
1235
|
# The ARN or name of the secret to attach the resource-based policy.
|
1208
1236
|
#
|
1209
1237
|
# For an ARN, we recommend that you specify a complete ARN rather than
|
1210
|
-
# a partial ARN.
|
1238
|
+
# a partial ARN. See [Finding a secret from a partial ARN][1].
|
1239
|
+
#
|
1240
|
+
#
|
1241
|
+
#
|
1242
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
1211
1243
|
# @return [String]
|
1212
1244
|
#
|
1213
1245
|
# @!attribute [rw] resource_policy
|
@@ -1268,9 +1300,13 @@ module Aws::SecretsManager
|
|
1268
1300
|
# The ARN or name of the secret to add a new version to.
|
1269
1301
|
#
|
1270
1302
|
# For an ARN, we recommend that you specify a complete ARN rather than
|
1271
|
-
# a partial ARN.
|
1303
|
+
# a partial ARN. See [Finding a secret from a partial ARN][1].
|
1272
1304
|
#
|
1273
1305
|
# If the secret doesn't already exist, use `CreateSecret` instead.
|
1306
|
+
#
|
1307
|
+
#
|
1308
|
+
#
|
1309
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
1274
1310
|
# @return [String]
|
1275
1311
|
#
|
1276
1312
|
# @!attribute [rw] client_request_token
|
@@ -1597,7 +1633,11 @@ module Aws::SecretsManager
|
|
1597
1633
|
# The ARN or name of the secret to restore.
|
1598
1634
|
#
|
1599
1635
|
# For an ARN, we recommend that you specify a complete ARN rather than
|
1600
|
-
# a partial ARN.
|
1636
|
+
# a partial ARN. See [Finding a secret from a partial ARN][1].
|
1637
|
+
#
|
1638
|
+
#
|
1639
|
+
#
|
1640
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
1601
1641
|
# @return [String]
|
1602
1642
|
#
|
1603
1643
|
# @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/RestoreSecretRequest AWS API Documentation
|
@@ -1644,7 +1684,11 @@ module Aws::SecretsManager
|
|
1644
1684
|
# The ARN or name of the secret to rotate.
|
1645
1685
|
#
|
1646
1686
|
# For an ARN, we recommend that you specify a complete ARN rather than
|
1647
|
-
# a partial ARN.
|
1687
|
+
# a partial ARN. See [Finding a secret from a partial ARN][1].
|
1688
|
+
#
|
1689
|
+
#
|
1690
|
+
#
|
1691
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
1648
1692
|
# @return [String]
|
1649
1693
|
#
|
1650
1694
|
# @!attribute [rw] client_request_token
|
@@ -2060,7 +2104,11 @@ module Aws::SecretsManager
|
|
2060
2104
|
# secret.
|
2061
2105
|
#
|
2062
2106
|
# For an ARN, we recommend that you specify a complete ARN rather than
|
2063
|
-
# a partial ARN.
|
2107
|
+
# a partial ARN. See [Finding a secret from a partial ARN][1].
|
2108
|
+
#
|
2109
|
+
#
|
2110
|
+
#
|
2111
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
2064
2112
|
# @return [String]
|
2065
2113
|
#
|
2066
2114
|
# @!attribute [rw] tags
|
@@ -2098,7 +2146,11 @@ module Aws::SecretsManager
|
|
2098
2146
|
# The ARN or name of the secret.
|
2099
2147
|
#
|
2100
2148
|
# For an ARN, we recommend that you specify a complete ARN rather than
|
2101
|
-
# a partial ARN.
|
2149
|
+
# a partial ARN. See [Finding a secret from a partial ARN][1].
|
2150
|
+
#
|
2151
|
+
#
|
2152
|
+
#
|
2153
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
2102
2154
|
# @return [String]
|
2103
2155
|
#
|
2104
2156
|
# @!attribute [rw] tag_keys
|
@@ -2143,7 +2195,11 @@ module Aws::SecretsManager
|
|
2143
2195
|
# The ARN or name of the secret.
|
2144
2196
|
#
|
2145
2197
|
# For an ARN, we recommend that you specify a complete ARN rather than
|
2146
|
-
# a partial ARN.
|
2198
|
+
# a partial ARN. See [Finding a secret from a partial ARN][1].
|
2199
|
+
#
|
2200
|
+
#
|
2201
|
+
#
|
2202
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
2147
2203
|
# @return [String]
|
2148
2204
|
#
|
2149
2205
|
# @!attribute [rw] client_request_token
|
@@ -2264,7 +2320,11 @@ module Aws::SecretsManager
|
|
2264
2320
|
# labelsto modify.
|
2265
2321
|
#
|
2266
2322
|
# For an ARN, we recommend that you specify a complete ARN rather than
|
2267
|
-
# a partial ARN.
|
2323
|
+
# a partial ARN. See [Finding a secret from a partial ARN][1].
|
2324
|
+
#
|
2325
|
+
#
|
2326
|
+
#
|
2327
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen
|
2268
2328
|
# @return [String]
|
2269
2329
|
#
|
2270
2330
|
# @!attribute [rw] version_stage
|
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.
|
4
|
+
version: 1.60.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-
|
11
|
+
date: 2022-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|