aws-sdk-secretsmanager 1.122.0 → 1.123.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-secretsmanager/client.rb +109 -25
- data/lib/aws-sdk-secretsmanager/client_api.rb +22 -0
- data/lib/aws-sdk-secretsmanager/types.rb +178 -14
- data/lib/aws-sdk-secretsmanager.rb +1 -1
- data/sig/client.rbs +14 -2
- data/sig/types.rbs +16 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 912160e1a7f4587439c33991739c760d3f965fad20a9eb2c515b21ea763f2499
|
|
4
|
+
data.tar.gz: 8ffae67768ebea011e1e4c33700d3beb955d4e6484fc736974bb4a5dfa446d30
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ac67bd7879e195397ce74b7ef42568cf5920660f65c76f746845cef955e120c45b7190c8395dc50d25994194d4d36f86aad2c67604273e5becc9c9a3bdc1b64
|
|
7
|
+
data.tar.gz: e4d21654c32140380096eefe39ac021256406dff557f1f3e096734eb8a1b51981b15cd4cb37b27a1ee28d1b87af251ec41c91ee95a92453e917288b16d813e58
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.123.0
|
|
@@ -947,6 +947,15 @@ module Aws::SecretsManager
|
|
|
947
947
|
# Specifies whether to overwrite a secret with the same name in the
|
|
948
948
|
# destination Region. By default, secrets aren't overwritten.
|
|
949
949
|
#
|
|
950
|
+
# @option params [String] :type
|
|
951
|
+
# The exact string that identifies the partner that holds the external
|
|
952
|
+
# secret. For more information, see [Using Secrets Manager managed
|
|
953
|
+
# external secrets][1].
|
|
954
|
+
#
|
|
955
|
+
#
|
|
956
|
+
#
|
|
957
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/managed-external-secrets.html
|
|
958
|
+
#
|
|
950
959
|
# @return [Types::CreateSecretResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
951
960
|
#
|
|
952
961
|
# * {Types::CreateSecretResponse#arn #arn} => String
|
|
@@ -996,6 +1005,7 @@ module Aws::SecretsManager
|
|
|
996
1005
|
# },
|
|
997
1006
|
# ],
|
|
998
1007
|
# force_overwrite_replica_secret: false,
|
|
1008
|
+
# type: "MedeaTypeType",
|
|
999
1009
|
# })
|
|
1000
1010
|
#
|
|
1001
1011
|
# @example Response structure
|
|
@@ -1257,11 +1267,14 @@ module Aws::SecretsManager
|
|
|
1257
1267
|
#
|
|
1258
1268
|
# * {Types::DescribeSecretResponse#arn #arn} => String
|
|
1259
1269
|
# * {Types::DescribeSecretResponse#name #name} => String
|
|
1270
|
+
# * {Types::DescribeSecretResponse#type #type} => String
|
|
1260
1271
|
# * {Types::DescribeSecretResponse#description #description} => String
|
|
1261
1272
|
# * {Types::DescribeSecretResponse#kms_key_id #kms_key_id} => String
|
|
1262
1273
|
# * {Types::DescribeSecretResponse#rotation_enabled #rotation_enabled} => Boolean
|
|
1263
1274
|
# * {Types::DescribeSecretResponse#rotation_lambda_arn #rotation_lambda_arn} => String
|
|
1264
1275
|
# * {Types::DescribeSecretResponse#rotation_rules #rotation_rules} => Types::RotationRulesType
|
|
1276
|
+
# * {Types::DescribeSecretResponse#external_secret_rotation_metadata #external_secret_rotation_metadata} => Array<Types::ExternalSecretRotationMetadataItem>
|
|
1277
|
+
# * {Types::DescribeSecretResponse#external_secret_rotation_role_arn #external_secret_rotation_role_arn} => String
|
|
1265
1278
|
# * {Types::DescribeSecretResponse#last_rotated_date #last_rotated_date} => Time
|
|
1266
1279
|
# * {Types::DescribeSecretResponse#last_changed_date #last_changed_date} => Time
|
|
1267
1280
|
# * {Types::DescribeSecretResponse#last_accessed_date #last_accessed_date} => Time
|
|
@@ -1330,6 +1343,7 @@ module Aws::SecretsManager
|
|
|
1330
1343
|
#
|
|
1331
1344
|
# resp.arn #=> String
|
|
1332
1345
|
# resp.name #=> String
|
|
1346
|
+
# resp.type #=> String
|
|
1333
1347
|
# resp.description #=> String
|
|
1334
1348
|
# resp.kms_key_id #=> String
|
|
1335
1349
|
# resp.rotation_enabled #=> Boolean
|
|
@@ -1337,6 +1351,10 @@ module Aws::SecretsManager
|
|
|
1337
1351
|
# resp.rotation_rules.automatically_after_days #=> Integer
|
|
1338
1352
|
# resp.rotation_rules.duration #=> String
|
|
1339
1353
|
# resp.rotation_rules.schedule_expression #=> String
|
|
1354
|
+
# resp.external_secret_rotation_metadata #=> Array
|
|
1355
|
+
# resp.external_secret_rotation_metadata[0].key #=> String
|
|
1356
|
+
# resp.external_secret_rotation_metadata[0].value #=> String
|
|
1357
|
+
# resp.external_secret_rotation_role_arn #=> String
|
|
1340
1358
|
# resp.last_rotated_date #=> Time
|
|
1341
1359
|
# resp.last_changed_date #=> Time
|
|
1342
1360
|
# resp.last_accessed_date #=> Time
|
|
@@ -1916,6 +1934,7 @@ module Aws::SecretsManager
|
|
|
1916
1934
|
# resp.secret_list #=> Array
|
|
1917
1935
|
# resp.secret_list[0].arn #=> String
|
|
1918
1936
|
# resp.secret_list[0].name #=> String
|
|
1937
|
+
# resp.secret_list[0].type #=> String
|
|
1919
1938
|
# resp.secret_list[0].description #=> String
|
|
1920
1939
|
# resp.secret_list[0].kms_key_id #=> String
|
|
1921
1940
|
# resp.secret_list[0].rotation_enabled #=> Boolean
|
|
@@ -1923,6 +1942,10 @@ module Aws::SecretsManager
|
|
|
1923
1942
|
# resp.secret_list[0].rotation_rules.automatically_after_days #=> Integer
|
|
1924
1943
|
# resp.secret_list[0].rotation_rules.duration #=> String
|
|
1925
1944
|
# resp.secret_list[0].rotation_rules.schedule_expression #=> String
|
|
1945
|
+
# resp.secret_list[0].external_secret_rotation_metadata #=> Array
|
|
1946
|
+
# resp.secret_list[0].external_secret_rotation_metadata[0].key #=> String
|
|
1947
|
+
# resp.secret_list[0].external_secret_rotation_metadata[0].value #=> String
|
|
1948
|
+
# resp.secret_list[0].external_secret_rotation_role_arn #=> String
|
|
1926
1949
|
# resp.secret_list[0].last_rotated_date #=> Time
|
|
1927
1950
|
# resp.secret_list[0].last_changed_date #=> Time
|
|
1928
1951
|
# resp.secret_list[0].last_accessed_date #=> Time
|
|
@@ -2056,18 +2079,17 @@ module Aws::SecretsManager
|
|
|
2056
2079
|
req.send_request(options)
|
|
2057
2080
|
end
|
|
2058
2081
|
|
|
2059
|
-
# Creates a new version
|
|
2060
|
-
# it to the secret.
|
|
2061
|
-
# or a new `SecretBinary` value.
|
|
2062
|
-
#
|
|
2063
|
-
#
|
|
2064
|
-
#
|
|
2065
|
-
#
|
|
2066
|
-
#
|
|
2067
|
-
#
|
|
2068
|
-
#
|
|
2069
|
-
#
|
|
2070
|
-
# for secret versions.
|
|
2082
|
+
# Creates a new version of your secret by creating a new encrypted value
|
|
2083
|
+
# and attaching it to the secret. version can contain a new
|
|
2084
|
+
# `SecretString` value or a new `SecretBinary` value.
|
|
2085
|
+
#
|
|
2086
|
+
# Do not call `PutSecretValue` at a sustained rate of more than once
|
|
2087
|
+
# every 10 minutes. When you update the secret value, Secrets Manager
|
|
2088
|
+
# creates a new version of the secret. Secrets Manager keeps 100 of the
|
|
2089
|
+
# most recent versions, but it keeps *all* secret versions created in
|
|
2090
|
+
# the last 24 hours. If you call `PutSecretValue` more than once every
|
|
2091
|
+
# 10 minutes, you will create more versions than Secrets Manager
|
|
2092
|
+
# removes, and you will reach the quota for secret versions.
|
|
2071
2093
|
#
|
|
2072
2094
|
# You can specify the staging labels to attach to the new version in
|
|
2073
2095
|
# `VersionStages`. If you don't include `VersionStages`, then Secrets
|
|
@@ -2207,12 +2229,14 @@ module Aws::SecretsManager
|
|
|
2207
2229
|
# automatically moves the staging label `AWSCURRENT` to this version.
|
|
2208
2230
|
#
|
|
2209
2231
|
# @option params [String] :rotation_token
|
|
2210
|
-
# A unique identifier that indicates the source of the request.
|
|
2211
|
-
#
|
|
2212
|
-
#
|
|
2213
|
-
# rotation function
|
|
2214
|
-
#
|
|
2215
|
-
#
|
|
2232
|
+
# A unique identifier that indicates the source of the request. Required
|
|
2233
|
+
# for secret rotations using an IAM assumed role or cross-account
|
|
2234
|
+
# rotation, in which you rotate a secret in one account by using a
|
|
2235
|
+
# Lambda rotation function in another account. In both cases, the
|
|
2236
|
+
# rotation function assumes an IAM role to call Secrets Manager, and
|
|
2237
|
+
# then Secrets Manager validates the identity using the token. For more
|
|
2238
|
+
# information, see [How rotation works][1] and [Rotation by Lambda
|
|
2239
|
+
# functions][2].
|
|
2216
2240
|
#
|
|
2217
2241
|
# Sensitive: This field contains sensitive information, so the service
|
|
2218
2242
|
# does not include it in CloudTrail log entries. If you create your own
|
|
@@ -2222,6 +2246,7 @@ module Aws::SecretsManager
|
|
|
2222
2246
|
#
|
|
2223
2247
|
#
|
|
2224
2248
|
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html
|
|
2249
|
+
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_lambda
|
|
2225
2250
|
#
|
|
2226
2251
|
# @return [Types::PutSecretValueResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2227
2252
|
#
|
|
@@ -2596,22 +2621,62 @@ module Aws::SecretsManager
|
|
|
2596
2621
|
# @option params [Types::RotationRulesType] :rotation_rules
|
|
2597
2622
|
# A structure that defines the rotation configuration for this secret.
|
|
2598
2623
|
#
|
|
2624
|
+
# When changing an existing rotation schedule and setting
|
|
2625
|
+
# `RotateImmediately` to `false`:
|
|
2626
|
+
#
|
|
2627
|
+
# * If using `AutomaticallyAfterDays` or a `ScheduleExpression` with
|
|
2628
|
+
# `rate()`, the previously scheduled rotation might still occur.
|
|
2629
|
+
#
|
|
2630
|
+
# * To prevent unintended rotations, use a `ScheduleExpression` with
|
|
2631
|
+
# `cron()` for granular control over rotation windows.
|
|
2632
|
+
#
|
|
2633
|
+
# @option params [Array<Types::ExternalSecretRotationMetadataItem>] :external_secret_rotation_metadata
|
|
2634
|
+
# The metadata needed to successfully rotate a managed external secret.
|
|
2635
|
+
# A list of key value pairs in JSON format specified by the partner. For
|
|
2636
|
+
# more information about the required information, see [Using Secrets
|
|
2637
|
+
# Manager managed external secrets][1]
|
|
2638
|
+
#
|
|
2639
|
+
#
|
|
2640
|
+
#
|
|
2641
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/managed-external-secrets.html
|
|
2642
|
+
#
|
|
2643
|
+
# @option params [String] :external_secret_rotation_role_arn
|
|
2644
|
+
# The Amazon Resource Name (ARN) of the role that allows Secrets Manager
|
|
2645
|
+
# to rotate a secret held by a third-party partner. For more
|
|
2646
|
+
# information, see [Security and permissions][1].
|
|
2647
|
+
#
|
|
2648
|
+
#
|
|
2649
|
+
#
|
|
2650
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/mes-security.html
|
|
2651
|
+
#
|
|
2599
2652
|
# @option params [Boolean] :rotate_immediately
|
|
2600
2653
|
# Specifies whether to rotate the secret immediately or wait until the
|
|
2601
2654
|
# next scheduled rotation window. The rotation schedule is defined in
|
|
2602
2655
|
# RotateSecretRequest$RotationRules.
|
|
2603
2656
|
#
|
|
2604
|
-
#
|
|
2605
|
-
#
|
|
2657
|
+
# The default for `RotateImmediately` is `true`. If you don't specify
|
|
2658
|
+
# this value, Secrets Manager rotates the secret immediately.
|
|
2659
|
+
#
|
|
2660
|
+
# If you set `RotateImmediately` to `false`, Secrets Manager tests the
|
|
2606
2661
|
# rotation configuration by running the [ `testSecret` step][1] of the
|
|
2607
|
-
# Lambda rotation function.
|
|
2662
|
+
# Lambda rotation function. This test creates an `AWSPENDING` version of
|
|
2608
2663
|
# the secret and then removes it.
|
|
2609
2664
|
#
|
|
2610
|
-
#
|
|
2665
|
+
# When changing an existing rotation schedule and setting
|
|
2666
|
+
# `RotateImmediately` to `false`:
|
|
2667
|
+
#
|
|
2668
|
+
# * If using `AutomaticallyAfterDays` or a `ScheduleExpression` with
|
|
2669
|
+
# `rate()`, the previously scheduled rotation might still occur.
|
|
2611
2670
|
#
|
|
2671
|
+
# * To prevent unintended rotations, use a `ScheduleExpression` with
|
|
2672
|
+
# `cron()` for granular control over rotation windows.
|
|
2612
2673
|
#
|
|
2674
|
+
# Rotation is an asynchronous process. For more information, see [How
|
|
2675
|
+
# rotation works][1].
|
|
2613
2676
|
#
|
|
2614
|
-
#
|
|
2677
|
+
#
|
|
2678
|
+
#
|
|
2679
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html
|
|
2615
2680
|
#
|
|
2616
2681
|
# @return [Types::RotateSecretResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2617
2682
|
#
|
|
@@ -2669,6 +2734,13 @@ module Aws::SecretsManager
|
|
|
2669
2734
|
# duration: "DurationType",
|
|
2670
2735
|
# schedule_expression: "ScheduleExpressionType",
|
|
2671
2736
|
# },
|
|
2737
|
+
# external_secret_rotation_metadata: [
|
|
2738
|
+
# {
|
|
2739
|
+
# key: "ExternalSecretRotationMetadataItemKeyType",
|
|
2740
|
+
# value: "ExternalSecretRotationMetadataItemValueType",
|
|
2741
|
+
# },
|
|
2742
|
+
# ],
|
|
2743
|
+
# external_secret_rotation_role_arn: "RoleARNType",
|
|
2672
2744
|
# rotate_immediately: false,
|
|
2673
2745
|
# })
|
|
2674
2746
|
#
|
|
@@ -2710,7 +2782,9 @@ module Aws::SecretsManager
|
|
|
2710
2782
|
# [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
|
2711
2783
|
#
|
|
2712
2784
|
# @option params [required, String] :secret_id
|
|
2713
|
-
# The
|
|
2785
|
+
# The name of the secret or the replica ARN. The replica ARN is the same
|
|
2786
|
+
# as the original primary secret ARN expect the Region is changed to the
|
|
2787
|
+
# replica Region.
|
|
2714
2788
|
#
|
|
2715
2789
|
# @return [Types::StopReplicationToReplicaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2716
2790
|
#
|
|
@@ -3079,6 +3153,15 @@ module Aws::SecretsManager
|
|
|
3079
3153
|
# log entries, you must also avoid logging the information in this
|
|
3080
3154
|
# field.
|
|
3081
3155
|
#
|
|
3156
|
+
# @option params [String] :type
|
|
3157
|
+
# The exact string that identifies the third-party partner that holds
|
|
3158
|
+
# the external secret. For more information, see [Managed external
|
|
3159
|
+
# secret partners][1].
|
|
3160
|
+
#
|
|
3161
|
+
#
|
|
3162
|
+
#
|
|
3163
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/mes-partners.html
|
|
3164
|
+
#
|
|
3082
3165
|
# @return [Types::UpdateSecretResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3083
3166
|
#
|
|
3084
3167
|
# * {Types::UpdateSecretResponse#arn #arn} => String
|
|
@@ -3144,6 +3227,7 @@ module Aws::SecretsManager
|
|
|
3144
3227
|
# kms_key_id: "KmsKeyIdType",
|
|
3145
3228
|
# secret_binary: "data",
|
|
3146
3229
|
# secret_string: "SecretStringType",
|
|
3230
|
+
# type: "MedeaTypeType",
|
|
3147
3231
|
# })
|
|
3148
3232
|
#
|
|
3149
3233
|
# @example Response structure
|
|
@@ -3424,7 +3508,7 @@ module Aws::SecretsManager
|
|
|
3424
3508
|
tracer: tracer
|
|
3425
3509
|
)
|
|
3426
3510
|
context[:gem_name] = 'aws-sdk-secretsmanager'
|
|
3427
|
-
context[:gem_version] = '1.
|
|
3511
|
+
context[:gem_version] = '1.123.0'
|
|
3428
3512
|
Seahorse::Client::Request.new(handlers, context)
|
|
3429
3513
|
end
|
|
3430
3514
|
|
|
@@ -46,6 +46,10 @@ module Aws::SecretsManager
|
|
|
46
46
|
ExcludeNumbersType = Shapes::BooleanShape.new(name: 'ExcludeNumbersType')
|
|
47
47
|
ExcludePunctuationType = Shapes::BooleanShape.new(name: 'ExcludePunctuationType')
|
|
48
48
|
ExcludeUppercaseType = Shapes::BooleanShape.new(name: 'ExcludeUppercaseType')
|
|
49
|
+
ExternalSecretRotationMetadataItem = Shapes::StructureShape.new(name: 'ExternalSecretRotationMetadataItem')
|
|
50
|
+
ExternalSecretRotationMetadataItemKeyType = Shapes::StringShape.new(name: 'ExternalSecretRotationMetadataItemKeyType')
|
|
51
|
+
ExternalSecretRotationMetadataItemValueType = Shapes::StringShape.new(name: 'ExternalSecretRotationMetadataItemValueType')
|
|
52
|
+
ExternalSecretRotationMetadataType = Shapes::ListShape.new(name: 'ExternalSecretRotationMetadataType')
|
|
49
53
|
Filter = Shapes::StructureShape.new(name: 'Filter')
|
|
50
54
|
FilterNameStringType = Shapes::StringShape.new(name: 'FilterNameStringType')
|
|
51
55
|
FilterValueStringType = Shapes::StringShape.new(name: 'FilterValueStringType')
|
|
@@ -75,6 +79,7 @@ module Aws::SecretsManager
|
|
|
75
79
|
MalformedPolicyDocumentException = Shapes::StructureShape.new(name: 'MalformedPolicyDocumentException')
|
|
76
80
|
MaxResultsBatchType = Shapes::IntegerShape.new(name: 'MaxResultsBatchType')
|
|
77
81
|
MaxResultsType = Shapes::IntegerShape.new(name: 'MaxResultsType')
|
|
82
|
+
MedeaTypeType = Shapes::StringShape.new(name: 'MedeaTypeType')
|
|
78
83
|
NameType = Shapes::StringShape.new(name: 'NameType')
|
|
79
84
|
NextRotationDateType = Shapes::TimestampShape.new(name: 'NextRotationDateType')
|
|
80
85
|
NextTokenType = Shapes::StringShape.new(name: 'NextTokenType')
|
|
@@ -103,6 +108,7 @@ module Aws::SecretsManager
|
|
|
103
108
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
104
109
|
RestoreSecretRequest = Shapes::StructureShape.new(name: 'RestoreSecretRequest')
|
|
105
110
|
RestoreSecretResponse = Shapes::StructureShape.new(name: 'RestoreSecretResponse')
|
|
111
|
+
RoleARNType = Shapes::StringShape.new(name: 'RoleARNType')
|
|
106
112
|
RotateSecretRequest = Shapes::StructureShape.new(name: 'RotateSecretRequest')
|
|
107
113
|
RotateSecretResponse = Shapes::StructureShape.new(name: 'RotateSecretResponse')
|
|
108
114
|
RotationEnabledType = Shapes::BooleanShape.new(name: 'RotationEnabledType')
|
|
@@ -185,6 +191,7 @@ module Aws::SecretsManager
|
|
|
185
191
|
CreateSecretRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagListType, location_name: "Tags"))
|
|
186
192
|
CreateSecretRequest.add_member(:add_replica_regions, Shapes::ShapeRef.new(shape: AddReplicaRegionListType, location_name: "AddReplicaRegions"))
|
|
187
193
|
CreateSecretRequest.add_member(:force_overwrite_replica_secret, Shapes::ShapeRef.new(shape: BooleanType, location_name: "ForceOverwriteReplicaSecret"))
|
|
194
|
+
CreateSecretRequest.add_member(:type, Shapes::ShapeRef.new(shape: MedeaTypeType, location_name: "Type"))
|
|
188
195
|
CreateSecretRequest.struct_class = Types::CreateSecretRequest
|
|
189
196
|
|
|
190
197
|
CreateSecretResponse.add_member(:arn, Shapes::ShapeRef.new(shape: SecretARNType, location_name: "ARN"))
|
|
@@ -218,11 +225,14 @@ module Aws::SecretsManager
|
|
|
218
225
|
|
|
219
226
|
DescribeSecretResponse.add_member(:arn, Shapes::ShapeRef.new(shape: SecretARNType, location_name: "ARN"))
|
|
220
227
|
DescribeSecretResponse.add_member(:name, Shapes::ShapeRef.new(shape: SecretNameType, location_name: "Name"))
|
|
228
|
+
DescribeSecretResponse.add_member(:type, Shapes::ShapeRef.new(shape: MedeaTypeType, location_name: "Type"))
|
|
221
229
|
DescribeSecretResponse.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionType, location_name: "Description"))
|
|
222
230
|
DescribeSecretResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyIdType, location_name: "KmsKeyId"))
|
|
223
231
|
DescribeSecretResponse.add_member(:rotation_enabled, Shapes::ShapeRef.new(shape: RotationEnabledType, location_name: "RotationEnabled", metadata: {"box" => true}))
|
|
224
232
|
DescribeSecretResponse.add_member(:rotation_lambda_arn, Shapes::ShapeRef.new(shape: RotationLambdaARNType, location_name: "RotationLambdaARN"))
|
|
225
233
|
DescribeSecretResponse.add_member(:rotation_rules, Shapes::ShapeRef.new(shape: RotationRulesType, location_name: "RotationRules"))
|
|
234
|
+
DescribeSecretResponse.add_member(:external_secret_rotation_metadata, Shapes::ShapeRef.new(shape: ExternalSecretRotationMetadataType, location_name: "ExternalSecretRotationMetadata"))
|
|
235
|
+
DescribeSecretResponse.add_member(:external_secret_rotation_role_arn, Shapes::ShapeRef.new(shape: RoleARNType, location_name: "ExternalSecretRotationRoleArn"))
|
|
226
236
|
DescribeSecretResponse.add_member(:last_rotated_date, Shapes::ShapeRef.new(shape: LastRotatedDateType, location_name: "LastRotatedDate", metadata: {"box" => true}))
|
|
227
237
|
DescribeSecretResponse.add_member(:last_changed_date, Shapes::ShapeRef.new(shape: LastChangedDateType, location_name: "LastChangedDate", metadata: {"box" => true}))
|
|
228
238
|
DescribeSecretResponse.add_member(:last_accessed_date, Shapes::ShapeRef.new(shape: LastAccessedDateType, location_name: "LastAccessedDate", metadata: {"box" => true}))
|
|
@@ -239,6 +249,12 @@ module Aws::SecretsManager
|
|
|
239
249
|
EncryptionFailure.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
240
250
|
EncryptionFailure.struct_class = Types::EncryptionFailure
|
|
241
251
|
|
|
252
|
+
ExternalSecretRotationMetadataItem.add_member(:key, Shapes::ShapeRef.new(shape: ExternalSecretRotationMetadataItemKeyType, location_name: "Key"))
|
|
253
|
+
ExternalSecretRotationMetadataItem.add_member(:value, Shapes::ShapeRef.new(shape: ExternalSecretRotationMetadataItemValueType, location_name: "Value"))
|
|
254
|
+
ExternalSecretRotationMetadataItem.struct_class = Types::ExternalSecretRotationMetadataItem
|
|
255
|
+
|
|
256
|
+
ExternalSecretRotationMetadataType.member = Shapes::ShapeRef.new(shape: ExternalSecretRotationMetadataItem)
|
|
257
|
+
|
|
242
258
|
Filter.add_member(:key, Shapes::ShapeRef.new(shape: FilterNameStringType, location_name: "Key"))
|
|
243
259
|
Filter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValuesStringList, location_name: "Values"))
|
|
244
260
|
Filter.struct_class = Types::Filter
|
|
@@ -403,6 +419,8 @@ module Aws::SecretsManager
|
|
|
403
419
|
RotateSecretRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenType, location_name: "ClientRequestToken", metadata: {"idempotencyToken" => true}))
|
|
404
420
|
RotateSecretRequest.add_member(:rotation_lambda_arn, Shapes::ShapeRef.new(shape: RotationLambdaARNType, location_name: "RotationLambdaARN"))
|
|
405
421
|
RotateSecretRequest.add_member(:rotation_rules, Shapes::ShapeRef.new(shape: RotationRulesType, location_name: "RotationRules"))
|
|
422
|
+
RotateSecretRequest.add_member(:external_secret_rotation_metadata, Shapes::ShapeRef.new(shape: ExternalSecretRotationMetadataType, location_name: "ExternalSecretRotationMetadata"))
|
|
423
|
+
RotateSecretRequest.add_member(:external_secret_rotation_role_arn, Shapes::ShapeRef.new(shape: RoleARNType, location_name: "ExternalSecretRotationRoleArn"))
|
|
406
424
|
RotateSecretRequest.add_member(:rotate_immediately, Shapes::ShapeRef.new(shape: BooleanType, location_name: "RotateImmediately", metadata: {"box" => true}))
|
|
407
425
|
RotateSecretRequest.struct_class = Types::RotateSecretRequest
|
|
408
426
|
|
|
@@ -420,11 +438,14 @@ module Aws::SecretsManager
|
|
|
420
438
|
|
|
421
439
|
SecretListEntry.add_member(:arn, Shapes::ShapeRef.new(shape: SecretARNType, location_name: "ARN"))
|
|
422
440
|
SecretListEntry.add_member(:name, Shapes::ShapeRef.new(shape: SecretNameType, location_name: "Name"))
|
|
441
|
+
SecretListEntry.add_member(:type, Shapes::ShapeRef.new(shape: MedeaTypeType, location_name: "Type"))
|
|
423
442
|
SecretListEntry.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionType, location_name: "Description"))
|
|
424
443
|
SecretListEntry.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyIdType, location_name: "KmsKeyId"))
|
|
425
444
|
SecretListEntry.add_member(:rotation_enabled, Shapes::ShapeRef.new(shape: RotationEnabledType, location_name: "RotationEnabled", metadata: {"box" => true}))
|
|
426
445
|
SecretListEntry.add_member(:rotation_lambda_arn, Shapes::ShapeRef.new(shape: RotationLambdaARNType, location_name: "RotationLambdaARN"))
|
|
427
446
|
SecretListEntry.add_member(:rotation_rules, Shapes::ShapeRef.new(shape: RotationRulesType, location_name: "RotationRules"))
|
|
447
|
+
SecretListEntry.add_member(:external_secret_rotation_metadata, Shapes::ShapeRef.new(shape: ExternalSecretRotationMetadataType, location_name: "ExternalSecretRotationMetadata"))
|
|
448
|
+
SecretListEntry.add_member(:external_secret_rotation_role_arn, Shapes::ShapeRef.new(shape: RoleARNType, location_name: "ExternalSecretRotationRoleArn"))
|
|
428
449
|
SecretListEntry.add_member(:last_rotated_date, Shapes::ShapeRef.new(shape: LastRotatedDateType, location_name: "LastRotatedDate", metadata: {"box" => true}))
|
|
429
450
|
SecretListEntry.add_member(:last_changed_date, Shapes::ShapeRef.new(shape: LastChangedDateType, location_name: "LastChangedDate", metadata: {"box" => true}))
|
|
430
451
|
SecretListEntry.add_member(:last_accessed_date, Shapes::ShapeRef.new(shape: LastAccessedDateType, location_name: "LastAccessedDate", metadata: {"box" => true}))
|
|
@@ -492,6 +513,7 @@ module Aws::SecretsManager
|
|
|
492
513
|
UpdateSecretRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyIdType, location_name: "KmsKeyId"))
|
|
493
514
|
UpdateSecretRequest.add_member(:secret_binary, Shapes::ShapeRef.new(shape: SecretBinaryType, location_name: "SecretBinary"))
|
|
494
515
|
UpdateSecretRequest.add_member(:secret_string, Shapes::ShapeRef.new(shape: SecretStringType, location_name: "SecretString"))
|
|
516
|
+
UpdateSecretRequest.add_member(:type, Shapes::ShapeRef.new(shape: MedeaTypeType, location_name: "Type"))
|
|
495
517
|
UpdateSecretRequest.struct_class = Types::UpdateSecretRequest
|
|
496
518
|
|
|
497
519
|
UpdateSecretResponse.add_member(:arn, Shapes::ShapeRef.new(shape: SecretARNType, location_name: "ARN"))
|
|
@@ -313,6 +313,16 @@ module Aws::SecretsManager
|
|
|
313
313
|
# destination Region. By default, secrets aren't overwritten.
|
|
314
314
|
# @return [Boolean]
|
|
315
315
|
#
|
|
316
|
+
# @!attribute [rw] type
|
|
317
|
+
# The exact string that identifies the partner that holds the external
|
|
318
|
+
# secret. For more information, see [Using Secrets Manager managed
|
|
319
|
+
# external secrets][1].
|
|
320
|
+
#
|
|
321
|
+
#
|
|
322
|
+
#
|
|
323
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/managed-external-secrets.html
|
|
324
|
+
# @return [String]
|
|
325
|
+
#
|
|
316
326
|
# @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/CreateSecretRequest AWS API Documentation
|
|
317
327
|
#
|
|
318
328
|
class CreateSecretRequest < Struct.new(
|
|
@@ -324,7 +334,8 @@ module Aws::SecretsManager
|
|
|
324
334
|
:secret_string,
|
|
325
335
|
:tags,
|
|
326
336
|
:add_replica_regions,
|
|
327
|
-
:force_overwrite_replica_secret
|
|
337
|
+
:force_overwrite_replica_secret,
|
|
338
|
+
:type)
|
|
328
339
|
SENSITIVE = [:secret_binary, :secret_string]
|
|
329
340
|
include Aws::Structure
|
|
330
341
|
end
|
|
@@ -524,6 +535,16 @@ module Aws::SecretsManager
|
|
|
524
535
|
# The name of the secret.
|
|
525
536
|
# @return [String]
|
|
526
537
|
#
|
|
538
|
+
# @!attribute [rw] type
|
|
539
|
+
# The exact string that identifies the partner that holds the external
|
|
540
|
+
# secret. For more information, see [Using Secrets Manager managed
|
|
541
|
+
# external secrets][1].
|
|
542
|
+
#
|
|
543
|
+
#
|
|
544
|
+
#
|
|
545
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/managed-external-secrets.html
|
|
546
|
+
# @return [String]
|
|
547
|
+
#
|
|
527
548
|
# @!attribute [rw] description
|
|
528
549
|
# The description of the secret.
|
|
529
550
|
# @return [String]
|
|
@@ -557,6 +578,27 @@ module Aws::SecretsManager
|
|
|
557
578
|
# omitted.
|
|
558
579
|
# @return [Types::RotationRulesType]
|
|
559
580
|
#
|
|
581
|
+
# @!attribute [rw] external_secret_rotation_metadata
|
|
582
|
+
# The metadata needed to successfully rotate a managed external
|
|
583
|
+
# secret. A list of key value pairs in JSON format specified by the
|
|
584
|
+
# partner. For more information about the required information, see
|
|
585
|
+
# [Managed external secrets partners][1].
|
|
586
|
+
#
|
|
587
|
+
#
|
|
588
|
+
#
|
|
589
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/mes-partners.html
|
|
590
|
+
# @return [Array<Types::ExternalSecretRotationMetadataItem>]
|
|
591
|
+
#
|
|
592
|
+
# @!attribute [rw] external_secret_rotation_role_arn
|
|
593
|
+
# The Amazon Resource Name (ARN) of the role that allows Secrets
|
|
594
|
+
# Manager to rotate a secret held by a third-party partner. For more
|
|
595
|
+
# information, see [Security and permissions][1].
|
|
596
|
+
#
|
|
597
|
+
#
|
|
598
|
+
#
|
|
599
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/mes-security.html
|
|
600
|
+
# @return [String]
|
|
601
|
+
#
|
|
560
602
|
# @!attribute [rw] last_rotated_date
|
|
561
603
|
# The last date and time that Secrets Manager rotated the secret. If
|
|
562
604
|
# the secret isn't configured for rotation or rotation has been
|
|
@@ -667,11 +709,14 @@ module Aws::SecretsManager
|
|
|
667
709
|
class DescribeSecretResponse < Struct.new(
|
|
668
710
|
:arn,
|
|
669
711
|
:name,
|
|
712
|
+
:type,
|
|
670
713
|
:description,
|
|
671
714
|
:kms_key_id,
|
|
672
715
|
:rotation_enabled,
|
|
673
716
|
:rotation_lambda_arn,
|
|
674
717
|
:rotation_rules,
|
|
718
|
+
:external_secret_rotation_metadata,
|
|
719
|
+
:external_secret_rotation_role_arn,
|
|
675
720
|
:last_rotated_date,
|
|
676
721
|
:last_changed_date,
|
|
677
722
|
:last_accessed_date,
|
|
@@ -707,6 +752,31 @@ module Aws::SecretsManager
|
|
|
707
752
|
include Aws::Structure
|
|
708
753
|
end
|
|
709
754
|
|
|
755
|
+
# The metadata needed to successfully rotate a managed external secret.
|
|
756
|
+
# A list of key value pairs in JSON format specified by the partner. For
|
|
757
|
+
# more information, see [Managed external secret partners][1].
|
|
758
|
+
#
|
|
759
|
+
#
|
|
760
|
+
#
|
|
761
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/mes-partners.html
|
|
762
|
+
#
|
|
763
|
+
# @!attribute [rw] key
|
|
764
|
+
# The key that identifies the item.
|
|
765
|
+
# @return [String]
|
|
766
|
+
#
|
|
767
|
+
# @!attribute [rw] value
|
|
768
|
+
# The value of the specified item.
|
|
769
|
+
# @return [String]
|
|
770
|
+
#
|
|
771
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/ExternalSecretRotationMetadataItem AWS API Documentation
|
|
772
|
+
#
|
|
773
|
+
class ExternalSecretRotationMetadataItem < Struct.new(
|
|
774
|
+
:key,
|
|
775
|
+
:value)
|
|
776
|
+
SENSITIVE = []
|
|
777
|
+
include Aws::Structure
|
|
778
|
+
end
|
|
779
|
+
|
|
710
780
|
# Allows you to add filters when you use the search function in Secrets
|
|
711
781
|
# Manager. For more information, see [Find secrets in Secrets
|
|
712
782
|
# Manager][1].
|
|
@@ -1424,12 +1494,14 @@ module Aws::SecretsManager
|
|
|
1424
1494
|
# @return [Array<String>]
|
|
1425
1495
|
#
|
|
1426
1496
|
# @!attribute [rw] rotation_token
|
|
1427
|
-
# A unique identifier that indicates the source of the request.
|
|
1428
|
-
#
|
|
1429
|
-
#
|
|
1430
|
-
#
|
|
1431
|
-
#
|
|
1432
|
-
#
|
|
1497
|
+
# A unique identifier that indicates the source of the request.
|
|
1498
|
+
# Required for secret rotations using an IAM assumed role or
|
|
1499
|
+
# cross-account rotation, in which you rotate a secret in one account
|
|
1500
|
+
# by using a Lambda rotation function in another account. In both
|
|
1501
|
+
# cases, the rotation function assumes an IAM role to call Secrets
|
|
1502
|
+
# Manager, and then Secrets Manager validates the identity using the
|
|
1503
|
+
# token. For more information, see [How rotation works][1] and
|
|
1504
|
+
# [Rotation by Lambda functions][2].
|
|
1433
1505
|
#
|
|
1434
1506
|
# Sensitive: This field contains sensitive information, so the service
|
|
1435
1507
|
# does not include it in CloudTrail log entries. If you create your
|
|
@@ -1439,6 +1511,7 @@ module Aws::SecretsManager
|
|
|
1439
1511
|
#
|
|
1440
1512
|
#
|
|
1441
1513
|
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html
|
|
1514
|
+
# [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_lambda
|
|
1442
1515
|
# @return [String]
|
|
1443
1516
|
#
|
|
1444
1517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/PutSecretValueRequest AWS API Documentation
|
|
@@ -1740,24 +1813,66 @@ module Aws::SecretsManager
|
|
|
1740
1813
|
#
|
|
1741
1814
|
# @!attribute [rw] rotation_rules
|
|
1742
1815
|
# A structure that defines the rotation configuration for this secret.
|
|
1816
|
+
#
|
|
1817
|
+
# When changing an existing rotation schedule and setting
|
|
1818
|
+
# `RotateImmediately` to `false`:
|
|
1819
|
+
#
|
|
1820
|
+
# * If using `AutomaticallyAfterDays` or a `ScheduleExpression` with
|
|
1821
|
+
# `rate()`, the previously scheduled rotation might still occur.
|
|
1822
|
+
#
|
|
1823
|
+
# * To prevent unintended rotations, use a `ScheduleExpression` with
|
|
1824
|
+
# `cron()` for granular control over rotation windows.
|
|
1743
1825
|
# @return [Types::RotationRulesType]
|
|
1744
1826
|
#
|
|
1827
|
+
# @!attribute [rw] external_secret_rotation_metadata
|
|
1828
|
+
# The metadata needed to successfully rotate a managed external
|
|
1829
|
+
# secret. A list of key value pairs in JSON format specified by the
|
|
1830
|
+
# partner. For more information about the required information, see
|
|
1831
|
+
# [Using Secrets Manager managed external secrets][1]
|
|
1832
|
+
#
|
|
1833
|
+
#
|
|
1834
|
+
#
|
|
1835
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/managed-external-secrets.html
|
|
1836
|
+
# @return [Array<Types::ExternalSecretRotationMetadataItem>]
|
|
1837
|
+
#
|
|
1838
|
+
# @!attribute [rw] external_secret_rotation_role_arn
|
|
1839
|
+
# The Amazon Resource Name (ARN) of the role that allows Secrets
|
|
1840
|
+
# Manager to rotate a secret held by a third-party partner. For more
|
|
1841
|
+
# information, see [Security and permissions][1].
|
|
1842
|
+
#
|
|
1843
|
+
#
|
|
1844
|
+
#
|
|
1845
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/mes-security.html
|
|
1846
|
+
# @return [String]
|
|
1847
|
+
#
|
|
1745
1848
|
# @!attribute [rw] rotate_immediately
|
|
1746
1849
|
# Specifies whether to rotate the secret immediately or wait until the
|
|
1747
1850
|
# next scheduled rotation window. The rotation schedule is defined in
|
|
1748
1851
|
# RotateSecretRequest$RotationRules.
|
|
1749
1852
|
#
|
|
1750
|
-
#
|
|
1751
|
-
#
|
|
1853
|
+
# The default for `RotateImmediately` is `true`. If you don't specify
|
|
1854
|
+
# this value, Secrets Manager rotates the secret immediately.
|
|
1855
|
+
#
|
|
1856
|
+
# If you set `RotateImmediately` to `false`, Secrets Manager tests the
|
|
1752
1857
|
# rotation configuration by running the [ `testSecret` step][1] of the
|
|
1753
|
-
# Lambda rotation function.
|
|
1858
|
+
# Lambda rotation function. This test creates an `AWSPENDING` version
|
|
1754
1859
|
# of the secret and then removes it.
|
|
1755
1860
|
#
|
|
1756
|
-
#
|
|
1861
|
+
# When changing an existing rotation schedule and setting
|
|
1862
|
+
# `RotateImmediately` to `false`:
|
|
1863
|
+
#
|
|
1864
|
+
# * If using `AutomaticallyAfterDays` or a `ScheduleExpression` with
|
|
1865
|
+
# `rate()`, the previously scheduled rotation might still occur.
|
|
1757
1866
|
#
|
|
1867
|
+
# * To prevent unintended rotations, use a `ScheduleExpression` with
|
|
1868
|
+
# `cron()` for granular control over rotation windows.
|
|
1869
|
+
#
|
|
1870
|
+
# Rotation is an asynchronous process. For more information, see [How
|
|
1871
|
+
# rotation works][1].
|
|
1758
1872
|
#
|
|
1759
1873
|
#
|
|
1760
|
-
#
|
|
1874
|
+
#
|
|
1875
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html
|
|
1761
1876
|
# @return [Boolean]
|
|
1762
1877
|
#
|
|
1763
1878
|
# @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/RotateSecretRequest AWS API Documentation
|
|
@@ -1767,6 +1882,8 @@ module Aws::SecretsManager
|
|
|
1767
1882
|
:client_request_token,
|
|
1768
1883
|
:rotation_lambda_arn,
|
|
1769
1884
|
:rotation_rules,
|
|
1885
|
+
:external_secret_rotation_metadata,
|
|
1886
|
+
:external_secret_rotation_role_arn,
|
|
1770
1887
|
:rotate_immediately)
|
|
1771
1888
|
SENSITIVE = []
|
|
1772
1889
|
include Aws::Structure
|
|
@@ -1887,6 +2004,16 @@ module Aws::SecretsManager
|
|
|
1887
2004
|
# The friendly name of the secret.
|
|
1888
2005
|
# @return [String]
|
|
1889
2006
|
#
|
|
2007
|
+
# @!attribute [rw] type
|
|
2008
|
+
# The exact string that identifies the third-party partner that holds
|
|
2009
|
+
# the external secret. For more information, see [Managed external
|
|
2010
|
+
# secret partners][1].
|
|
2011
|
+
#
|
|
2012
|
+
#
|
|
2013
|
+
#
|
|
2014
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/mes-partners.html
|
|
2015
|
+
# @return [String]
|
|
2016
|
+
#
|
|
1890
2017
|
# @!attribute [rw] description
|
|
1891
2018
|
# The user-provided description of the secret.
|
|
1892
2019
|
# @return [String]
|
|
@@ -1916,6 +2043,27 @@ module Aws::SecretsManager
|
|
|
1916
2043
|
# A structure that defines the rotation configuration for the secret.
|
|
1917
2044
|
# @return [Types::RotationRulesType]
|
|
1918
2045
|
#
|
|
2046
|
+
# @!attribute [rw] external_secret_rotation_metadata
|
|
2047
|
+
# The metadata needed to successfully rotate a managed external
|
|
2048
|
+
# secret. A list of key value pairs in JSON format specified by the
|
|
2049
|
+
# partner. For more information about the required information, see
|
|
2050
|
+
# [Managed external secrets partners][1].
|
|
2051
|
+
#
|
|
2052
|
+
#
|
|
2053
|
+
#
|
|
2054
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/mes-partners.html
|
|
2055
|
+
# @return [Array<Types::ExternalSecretRotationMetadataItem>]
|
|
2056
|
+
#
|
|
2057
|
+
# @!attribute [rw] external_secret_rotation_role_arn
|
|
2058
|
+
# The role that Secrets Manager assumes to call APIs required to
|
|
2059
|
+
# perform the rotation. For more information about the required
|
|
2060
|
+
# information, see [Managed external secrets partners][1].
|
|
2061
|
+
#
|
|
2062
|
+
#
|
|
2063
|
+
#
|
|
2064
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/mes-partners.html
|
|
2065
|
+
# @return [String]
|
|
2066
|
+
#
|
|
1919
2067
|
# @!attribute [rw] last_rotated_date
|
|
1920
2068
|
# The most recent date and time that the Secrets Manager rotation
|
|
1921
2069
|
# process was successfully completed. This value is null if the secret
|
|
@@ -1990,11 +2138,14 @@ module Aws::SecretsManager
|
|
|
1990
2138
|
class SecretListEntry < Struct.new(
|
|
1991
2139
|
:arn,
|
|
1992
2140
|
:name,
|
|
2141
|
+
:type,
|
|
1993
2142
|
:description,
|
|
1994
2143
|
:kms_key_id,
|
|
1995
2144
|
:rotation_enabled,
|
|
1996
2145
|
:rotation_lambda_arn,
|
|
1997
2146
|
:rotation_rules,
|
|
2147
|
+
:external_secret_rotation_metadata,
|
|
2148
|
+
:external_secret_rotation_role_arn,
|
|
1998
2149
|
:last_rotated_date,
|
|
1999
2150
|
:last_changed_date,
|
|
2000
2151
|
:last_accessed_date,
|
|
@@ -2100,7 +2251,9 @@ module Aws::SecretsManager
|
|
|
2100
2251
|
end
|
|
2101
2252
|
|
|
2102
2253
|
# @!attribute [rw] secret_id
|
|
2103
|
-
# The
|
|
2254
|
+
# The name of the secret or the replica ARN. The replica ARN is the
|
|
2255
|
+
# same as the original primary secret ARN expect the Region is changed
|
|
2256
|
+
# to the replica Region.
|
|
2104
2257
|
# @return [String]
|
|
2105
2258
|
#
|
|
2106
2259
|
# @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/StopReplicationToReplicaRequest AWS API Documentation
|
|
@@ -2326,6 +2479,16 @@ module Aws::SecretsManager
|
|
|
2326
2479
|
# field.
|
|
2327
2480
|
# @return [String]
|
|
2328
2481
|
#
|
|
2482
|
+
# @!attribute [rw] type
|
|
2483
|
+
# The exact string that identifies the third-party partner that holds
|
|
2484
|
+
# the external secret. For more information, see [Managed external
|
|
2485
|
+
# secret partners][1].
|
|
2486
|
+
#
|
|
2487
|
+
#
|
|
2488
|
+
#
|
|
2489
|
+
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/mes-partners.html
|
|
2490
|
+
# @return [String]
|
|
2491
|
+
#
|
|
2329
2492
|
# @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/UpdateSecretRequest AWS API Documentation
|
|
2330
2493
|
#
|
|
2331
2494
|
class UpdateSecretRequest < Struct.new(
|
|
@@ -2334,7 +2497,8 @@ module Aws::SecretsManager
|
|
|
2334
2497
|
:description,
|
|
2335
2498
|
:kms_key_id,
|
|
2336
2499
|
:secret_binary,
|
|
2337
|
-
:secret_string
|
|
2500
|
+
:secret_string,
|
|
2501
|
+
:type)
|
|
2338
2502
|
SENSITIVE = [:secret_binary, :secret_string]
|
|
2339
2503
|
include Aws::Structure
|
|
2340
2504
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -138,7 +138,8 @@ module Aws
|
|
|
138
138
|
kms_key_id: ::String?
|
|
139
139
|
},
|
|
140
140
|
],
|
|
141
|
-
?force_overwrite_replica_secret: bool
|
|
141
|
+
?force_overwrite_replica_secret: bool,
|
|
142
|
+
?type: ::String
|
|
142
143
|
) -> _CreateSecretResponseSuccess
|
|
143
144
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSecretResponseSuccess
|
|
144
145
|
|
|
@@ -171,11 +172,14 @@ module Aws
|
|
|
171
172
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSecretResponse]
|
|
172
173
|
def arn: () -> ::String
|
|
173
174
|
def name: () -> ::String
|
|
175
|
+
def type: () -> ::String
|
|
174
176
|
def description: () -> ::String
|
|
175
177
|
def kms_key_id: () -> ::String
|
|
176
178
|
def rotation_enabled: () -> bool
|
|
177
179
|
def rotation_lambda_arn: () -> ::String
|
|
178
180
|
def rotation_rules: () -> Types::RotationRulesType
|
|
181
|
+
def external_secret_rotation_metadata: () -> ::Array[Types::ExternalSecretRotationMetadataItem]
|
|
182
|
+
def external_secret_rotation_role_arn: () -> ::String
|
|
179
183
|
def last_rotated_date: () -> ::Time
|
|
180
184
|
def last_changed_date: () -> ::Time
|
|
181
185
|
def last_accessed_date: () -> ::Time
|
|
@@ -365,6 +369,13 @@ module Aws
|
|
|
365
369
|
duration: ::String?,
|
|
366
370
|
schedule_expression: ::String?
|
|
367
371
|
},
|
|
372
|
+
?external_secret_rotation_metadata: Array[
|
|
373
|
+
{
|
|
374
|
+
key: ::String?,
|
|
375
|
+
value: ::String?
|
|
376
|
+
},
|
|
377
|
+
],
|
|
378
|
+
?external_secret_rotation_role_arn: ::String,
|
|
368
379
|
?rotate_immediately: bool
|
|
369
380
|
) -> _RotateSecretResponseSuccess
|
|
370
381
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RotateSecretResponseSuccess
|
|
@@ -411,7 +422,8 @@ module Aws
|
|
|
411
422
|
?description: ::String,
|
|
412
423
|
?kms_key_id: ::String,
|
|
413
424
|
?secret_binary: ::String,
|
|
414
|
-
?secret_string: ::String
|
|
425
|
+
?secret_string: ::String,
|
|
426
|
+
?type: ::String
|
|
415
427
|
) -> _UpdateSecretResponseSuccess
|
|
416
428
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSecretResponseSuccess
|
|
417
429
|
|
data/sig/types.rbs
CHANGED
|
@@ -52,6 +52,7 @@ module Aws::SecretsManager
|
|
|
52
52
|
attr_accessor tags: ::Array[Types::Tag]
|
|
53
53
|
attr_accessor add_replica_regions: ::Array[Types::ReplicaRegionType]
|
|
54
54
|
attr_accessor force_overwrite_replica_secret: bool
|
|
55
|
+
attr_accessor type: ::String
|
|
55
56
|
SENSITIVE: [:secret_binary, :secret_string]
|
|
56
57
|
end
|
|
57
58
|
|
|
@@ -101,11 +102,14 @@ module Aws::SecretsManager
|
|
|
101
102
|
class DescribeSecretResponse
|
|
102
103
|
attr_accessor arn: ::String
|
|
103
104
|
attr_accessor name: ::String
|
|
105
|
+
attr_accessor type: ::String
|
|
104
106
|
attr_accessor description: ::String
|
|
105
107
|
attr_accessor kms_key_id: ::String
|
|
106
108
|
attr_accessor rotation_enabled: bool
|
|
107
109
|
attr_accessor rotation_lambda_arn: ::String
|
|
108
110
|
attr_accessor rotation_rules: Types::RotationRulesType
|
|
111
|
+
attr_accessor external_secret_rotation_metadata: ::Array[Types::ExternalSecretRotationMetadataItem]
|
|
112
|
+
attr_accessor external_secret_rotation_role_arn: ::String
|
|
109
113
|
attr_accessor last_rotated_date: ::Time
|
|
110
114
|
attr_accessor last_changed_date: ::Time
|
|
111
115
|
attr_accessor last_accessed_date: ::Time
|
|
@@ -125,6 +129,12 @@ module Aws::SecretsManager
|
|
|
125
129
|
SENSITIVE: []
|
|
126
130
|
end
|
|
127
131
|
|
|
132
|
+
class ExternalSecretRotationMetadataItem
|
|
133
|
+
attr_accessor key: ::String
|
|
134
|
+
attr_accessor value: ::String
|
|
135
|
+
SENSITIVE: []
|
|
136
|
+
end
|
|
137
|
+
|
|
128
138
|
class Filter
|
|
129
139
|
attr_accessor key: ("description" | "name" | "tag-key" | "tag-value" | "primary-region" | "owning-service" | "all")
|
|
130
140
|
attr_accessor values: ::Array[::String]
|
|
@@ -346,6 +356,8 @@ module Aws::SecretsManager
|
|
|
346
356
|
attr_accessor client_request_token: ::String
|
|
347
357
|
attr_accessor rotation_lambda_arn: ::String
|
|
348
358
|
attr_accessor rotation_rules: Types::RotationRulesType
|
|
359
|
+
attr_accessor external_secret_rotation_metadata: ::Array[Types::ExternalSecretRotationMetadataItem]
|
|
360
|
+
attr_accessor external_secret_rotation_role_arn: ::String
|
|
349
361
|
attr_accessor rotate_immediately: bool
|
|
350
362
|
SENSITIVE: []
|
|
351
363
|
end
|
|
@@ -367,11 +379,14 @@ module Aws::SecretsManager
|
|
|
367
379
|
class SecretListEntry
|
|
368
380
|
attr_accessor arn: ::String
|
|
369
381
|
attr_accessor name: ::String
|
|
382
|
+
attr_accessor type: ::String
|
|
370
383
|
attr_accessor description: ::String
|
|
371
384
|
attr_accessor kms_key_id: ::String
|
|
372
385
|
attr_accessor rotation_enabled: bool
|
|
373
386
|
attr_accessor rotation_lambda_arn: ::String
|
|
374
387
|
attr_accessor rotation_rules: Types::RotationRulesType
|
|
388
|
+
attr_accessor external_secret_rotation_metadata: ::Array[Types::ExternalSecretRotationMetadataItem]
|
|
389
|
+
attr_accessor external_secret_rotation_role_arn: ::String
|
|
375
390
|
attr_accessor last_rotated_date: ::Time
|
|
376
391
|
attr_accessor last_changed_date: ::Time
|
|
377
392
|
attr_accessor last_accessed_date: ::Time
|
|
@@ -440,6 +455,7 @@ module Aws::SecretsManager
|
|
|
440
455
|
attr_accessor kms_key_id: ::String
|
|
441
456
|
attr_accessor secret_binary: ::String
|
|
442
457
|
attr_accessor secret_string: ::String
|
|
458
|
+
attr_accessor type: ::String
|
|
443
459
|
SENSITIVE: [:secret_binary, :secret_string]
|
|
444
460
|
end
|
|
445
461
|
|