aws-sdk-secretsmanager 1.69.0 → 1.71.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-secretsmanager/client.rb +10 -2
- data/lib/aws-sdk-secretsmanager/client_api.rb +4 -0
- data/lib/aws-sdk-secretsmanager/types.rb +28 -3
- data/lib/aws-sdk-secretsmanager.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57aa3f7873ac9bdbfeab9e585e5d90ce0da5f1170e5367555323012e841511d4
|
4
|
+
data.tar.gz: 36b358d85fdc3522202dafcf0534cd6ab3561f4c4117f2e3bb6ff6eb6153e70f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '07826e1ecc352ea266888a8dd7b8e82b5221659430181e87ff48b91336050edd47d2997cd0c837231b54297f1eea44904b597eb5934b0d944ab26a88e92eea74'
|
7
|
+
data.tar.gz: 5d3b7edbc38068dfe5be2c2e42dde7e9dc4fa33bc3b24a2a067ff1f10a40fe533951fe1ca8911da007a9e8f774d3d0d6a15c6f009261ff03e233dd1c3287e912
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.71.0 (2023-01-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Update documentation for new ListSecrets and DescribeSecret parameters
|
8
|
+
|
9
|
+
1.70.0 (2022-12-29)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added owning service filter, include planned deletion flag, and next rotation date response parameter in ListSecrets.
|
13
|
+
|
4
14
|
1.69.0 (2022-12-22)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.71.0
|
@@ -1006,6 +1006,7 @@ module Aws::SecretsManager
|
|
1006
1006
|
# * {Types::DescribeSecretResponse#last_changed_date #last_changed_date} => Time
|
1007
1007
|
# * {Types::DescribeSecretResponse#last_accessed_date #last_accessed_date} => Time
|
1008
1008
|
# * {Types::DescribeSecretResponse#deleted_date #deleted_date} => Time
|
1009
|
+
# * {Types::DescribeSecretResponse#next_rotation_date #next_rotation_date} => Time
|
1009
1010
|
# * {Types::DescribeSecretResponse#tags #tags} => Array<Types::Tag>
|
1010
1011
|
# * {Types::DescribeSecretResponse#version_ids_to_stages #version_ids_to_stages} => Hash<String,Array<String>>
|
1011
1012
|
# * {Types::DescribeSecretResponse#owning_service #owning_service} => String
|
@@ -1031,6 +1032,7 @@ module Aws::SecretsManager
|
|
1031
1032
|
# last_changed_date: Time.parse(1523477145.729),
|
1032
1033
|
# last_rotated_date: Time.parse(1525747253.72),
|
1033
1034
|
# name: "MyTestDatabaseSecret",
|
1035
|
+
# next_rotation_date: Time.parse("1665165599"),
|
1034
1036
|
# rotation_enabled: true,
|
1035
1037
|
# rotation_lambda_arn: "arn:aws:lambda:us-west-2:123456789012:function:MyTestRotationLambda",
|
1036
1038
|
# rotation_rules: {
|
@@ -1079,6 +1081,7 @@ module Aws::SecretsManager
|
|
1079
1081
|
# resp.last_changed_date #=> Time
|
1080
1082
|
# resp.last_accessed_date #=> Time
|
1081
1083
|
# resp.deleted_date #=> Time
|
1084
|
+
# resp.next_rotation_date #=> Time
|
1082
1085
|
# resp.tags #=> Array
|
1083
1086
|
# resp.tags[0].key #=> String
|
1084
1087
|
# resp.tags[0].value #=> String
|
@@ -1564,6 +1567,9 @@ module Aws::SecretsManager
|
|
1564
1567
|
# [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
1565
1568
|
# [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
1566
1569
|
#
|
1570
|
+
# @option params [Boolean] :include_planned_deletion
|
1571
|
+
# Specifies whether to include secrets scheduled for deletion.
|
1572
|
+
#
|
1567
1573
|
# @option params [Integer] :max_results
|
1568
1574
|
# The number of results to include in the response.
|
1569
1575
|
#
|
@@ -1628,11 +1634,12 @@ module Aws::SecretsManager
|
|
1628
1634
|
# @example Request syntax with placeholder values
|
1629
1635
|
#
|
1630
1636
|
# resp = client.list_secrets({
|
1637
|
+
# include_planned_deletion: false,
|
1631
1638
|
# max_results: 1,
|
1632
1639
|
# next_token: "NextTokenType",
|
1633
1640
|
# filters: [
|
1634
1641
|
# {
|
1635
|
-
# key: "description", # accepts description, name, tag-key, tag-value, primary-region, all
|
1642
|
+
# key: "description", # accepts description, name, tag-key, tag-value, primary-region, owning-service, all
|
1636
1643
|
# values: ["FilterValueStringType"],
|
1637
1644
|
# },
|
1638
1645
|
# ],
|
@@ -1655,6 +1662,7 @@ module Aws::SecretsManager
|
|
1655
1662
|
# resp.secret_list[0].last_changed_date #=> Time
|
1656
1663
|
# resp.secret_list[0].last_accessed_date #=> Time
|
1657
1664
|
# resp.secret_list[0].deleted_date #=> Time
|
1665
|
+
# resp.secret_list[0].next_rotation_date #=> Time
|
1658
1666
|
# resp.secret_list[0].tags #=> Array
|
1659
1667
|
# resp.secret_list[0].tags[0].key #=> String
|
1660
1668
|
# resp.secret_list[0].tags[0].value #=> String
|
@@ -3042,7 +3050,7 @@ module Aws::SecretsManager
|
|
3042
3050
|
params: params,
|
3043
3051
|
config: config)
|
3044
3052
|
context[:gem_name] = 'aws-sdk-secretsmanager'
|
3045
|
-
context[:gem_version] = '1.
|
3053
|
+
context[:gem_version] = '1.71.0'
|
3046
3054
|
Seahorse::Client::Request.new(handlers, context)
|
3047
3055
|
end
|
3048
3056
|
|
@@ -69,6 +69,7 @@ module Aws::SecretsManager
|
|
69
69
|
MalformedPolicyDocumentException = Shapes::StructureShape.new(name: 'MalformedPolicyDocumentException')
|
70
70
|
MaxResultsType = Shapes::IntegerShape.new(name: 'MaxResultsType')
|
71
71
|
NameType = Shapes::StringShape.new(name: 'NameType')
|
72
|
+
NextRotationDateType = Shapes::TimestampShape.new(name: 'NextRotationDateType')
|
72
73
|
NextTokenType = Shapes::StringShape.new(name: 'NextTokenType')
|
73
74
|
NonEmptyResourcePolicyType = Shapes::StringShape.new(name: 'NonEmptyResourcePolicyType')
|
74
75
|
OwningServiceType = Shapes::StringShape.new(name: 'OwningServiceType')
|
@@ -197,6 +198,7 @@ module Aws::SecretsManager
|
|
197
198
|
DescribeSecretResponse.add_member(:last_changed_date, Shapes::ShapeRef.new(shape: LastChangedDateType, location_name: "LastChangedDate", metadata: {"box"=>true}))
|
198
199
|
DescribeSecretResponse.add_member(:last_accessed_date, Shapes::ShapeRef.new(shape: LastAccessedDateType, location_name: "LastAccessedDate", metadata: {"box"=>true}))
|
199
200
|
DescribeSecretResponse.add_member(:deleted_date, Shapes::ShapeRef.new(shape: DeletedDateType, location_name: "DeletedDate", metadata: {"box"=>true}))
|
201
|
+
DescribeSecretResponse.add_member(:next_rotation_date, Shapes::ShapeRef.new(shape: NextRotationDateType, location_name: "NextRotationDate"))
|
200
202
|
DescribeSecretResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagListType, location_name: "Tags"))
|
201
203
|
DescribeSecretResponse.add_member(:version_ids_to_stages, Shapes::ShapeRef.new(shape: SecretVersionsToStagesMapType, location_name: "VersionIdsToStages"))
|
202
204
|
DescribeSecretResponse.add_member(:owning_service, Shapes::ShapeRef.new(shape: OwningServiceType, location_name: "OwningService"))
|
@@ -280,6 +282,7 @@ module Aws::SecretsManager
|
|
280
282
|
ListSecretVersionIdsResponse.add_member(:name, Shapes::ShapeRef.new(shape: SecretNameType, location_name: "Name"))
|
281
283
|
ListSecretVersionIdsResponse.struct_class = Types::ListSecretVersionIdsResponse
|
282
284
|
|
285
|
+
ListSecretsRequest.add_member(:include_planned_deletion, Shapes::ShapeRef.new(shape: BooleanType, location_name: "IncludePlannedDeletion", metadata: {"box"=>true}))
|
283
286
|
ListSecretsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsType, location_name: "MaxResults", metadata: {"box"=>true}))
|
284
287
|
ListSecretsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenType, location_name: "NextToken"))
|
285
288
|
ListSecretsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FiltersListType, location_name: "Filters"))
|
@@ -394,6 +397,7 @@ module Aws::SecretsManager
|
|
394
397
|
SecretListEntry.add_member(:last_changed_date, Shapes::ShapeRef.new(shape: LastChangedDateType, location_name: "LastChangedDate", metadata: {"box"=>true}))
|
395
398
|
SecretListEntry.add_member(:last_accessed_date, Shapes::ShapeRef.new(shape: LastAccessedDateType, location_name: "LastAccessedDate", metadata: {"box"=>true}))
|
396
399
|
SecretListEntry.add_member(:deleted_date, Shapes::ShapeRef.new(shape: DeletedDateType, location_name: "DeletedDate"))
|
400
|
+
SecretListEntry.add_member(:next_rotation_date, Shapes::ShapeRef.new(shape: NextRotationDateType, location_name: "NextRotationDate"))
|
397
401
|
SecretListEntry.add_member(:tags, Shapes::ShapeRef.new(shape: TagListType, location_name: "Tags"))
|
398
402
|
SecretListEntry.add_member(:secret_versions_to_stages, Shapes::ShapeRef.new(shape: SecretVersionsToStagesMapType, location_name: "SecretVersionsToStages"))
|
399
403
|
SecretListEntry.add_member(:owning_service, Shapes::ShapeRef.new(shape: OwningServiceType, location_name: "OwningService"))
|
@@ -493,6 +493,12 @@ module Aws::SecretsManager
|
|
493
493
|
# deletion and restore access to the secret, use RestoreSecret.
|
494
494
|
# @return [Time]
|
495
495
|
#
|
496
|
+
# @!attribute [rw] next_rotation_date
|
497
|
+
# The next date and time that Secrets Manager will rotate the secret,
|
498
|
+
# rounded to the nearest hour. If the secret isn't configured for
|
499
|
+
# rotation, Secrets Manager returns null.
|
500
|
+
# @return [Time]
|
501
|
+
#
|
496
502
|
# @!attribute [rw] tags
|
497
503
|
# The list of tags attached to the secret. To add tags to a secret,
|
498
504
|
# use TagResource. To remove tags, use UntagResource.
|
@@ -572,6 +578,7 @@ module Aws::SecretsManager
|
|
572
578
|
:last_changed_date,
|
573
579
|
:last_accessed_date,
|
574
580
|
:deleted_date,
|
581
|
+
:next_rotation_date,
|
575
582
|
:tags,
|
576
583
|
:version_ids_to_stages,
|
577
584
|
:owning_service,
|
@@ -623,6 +630,8 @@ module Aws::SecretsManager
|
|
623
630
|
#
|
624
631
|
# * **primary-region**\: Prefix match, case-sensitive.
|
625
632
|
#
|
633
|
+
# * **owning-service**\: Prefix match, case-sensitive.
|
634
|
+
#
|
626
635
|
# * **all**\: Breaks the filter value string into words and then
|
627
636
|
# searches all attributes for matches. Not case-sensitive.
|
628
637
|
# @return [String]
|
@@ -1029,6 +1038,10 @@ module Aws::SecretsManager
|
|
1029
1038
|
include Aws::Structure
|
1030
1039
|
end
|
1031
1040
|
|
1041
|
+
# @!attribute [rw] include_planned_deletion
|
1042
|
+
# Specifies whether to include secrets scheduled for deletion.
|
1043
|
+
# @return [Boolean]
|
1044
|
+
#
|
1032
1045
|
# @!attribute [rw] max_results
|
1033
1046
|
# The number of results to include in the response.
|
1034
1047
|
#
|
@@ -1054,6 +1067,7 @@ module Aws::SecretsManager
|
|
1054
1067
|
# @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/ListSecretsRequest AWS API Documentation
|
1055
1068
|
#
|
1056
1069
|
class ListSecretsRequest < Struct.new(
|
1070
|
+
:include_planned_deletion,
|
1057
1071
|
:max_results,
|
1058
1072
|
:next_token,
|
1059
1073
|
:filters,
|
@@ -1624,9 +1638,13 @@ module Aws::SecretsManager
|
|
1624
1638
|
# A structure that defines the rotation configuration for the secret.
|
1625
1639
|
#
|
1626
1640
|
# @!attribute [rw] automatically_after_days
|
1627
|
-
# The number of days between
|
1628
|
-
#
|
1629
|
-
#
|
1641
|
+
# The number of days between rotations of the secret. You can use this
|
1642
|
+
# value to check that your secret meets your compliance guidelines for
|
1643
|
+
# how often secrets must be rotated. If you use this field to set the
|
1644
|
+
# rotation schedule, Secrets Manager calculates the next rotation date
|
1645
|
+
# based on the previous rotation. Manually updating the secret value
|
1646
|
+
# by calling `PutSecretValue` or `UpdateSecret` is considered a valid
|
1647
|
+
# rotation.
|
1630
1648
|
#
|
1631
1649
|
# In `DescribeSecret` and `ListSecrets`, this value is calculated from
|
1632
1650
|
# the rotation schedule after every successful rotation. In
|
@@ -1769,6 +1787,12 @@ module Aws::SecretsManager
|
|
1769
1787
|
# [1]: https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_DeleteSecret.html
|
1770
1788
|
# @return [Time]
|
1771
1789
|
#
|
1790
|
+
# @!attribute [rw] next_rotation_date
|
1791
|
+
# The next date and time that Secrets Manager will attempt to rotate
|
1792
|
+
# the secret, rounded to the nearest hour. This value is null if the
|
1793
|
+
# secret is not set up for rotation.
|
1794
|
+
# @return [Time]
|
1795
|
+
#
|
1772
1796
|
# @!attribute [rw] tags
|
1773
1797
|
# The list of user-defined tags associated with the secret. To add
|
1774
1798
|
# tags to a secret, use [ `TagResource` ][1]. To remove tags, use [
|
@@ -1819,6 +1843,7 @@ module Aws::SecretsManager
|
|
1819
1843
|
:last_changed_date,
|
1820
1844
|
:last_accessed_date,
|
1821
1845
|
:deleted_date,
|
1846
|
+
:next_rotation_date,
|
1822
1847
|
:tags,
|
1823
1848
|
:secret_versions_to_stages,
|
1824
1849
|
:owning_service,
|
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.71.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:
|
11
|
+
date: 2023-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|