aws-sdk-secretsmanager 1.67.0 → 1.68.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-secretsmanager/client.rb +18 -13
- data/lib/aws-sdk-secretsmanager/types.rb +33 -24
- 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: 75f646483c59e7c10d57251f15dc306d5f2dce264d7d69b90a3772c2b026980d
|
4
|
+
data.tar.gz: b11dfa46901a828c9d86609c544fd4123adbdb5116c1cfa46c45c6261f0a26d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0501cc04ce11c8cd38109a82eefb60ce4930bd71f6802371ca39c3e808ff3698bbfce5284f23ef1b4aa7f2354f7f0e33a0ed052becd34998e44966d375ed5be
|
7
|
+
data.tar.gz: a23de58f79f6f1110cf0a557e2d674c4c89adc9ec04943ea53bb19295bb19b92adbb817936fbcbd7d92e5b2641c488bfa0970643faca6c3c4b8d1c489487b2bb
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.68.0
|
@@ -907,9 +907,9 @@ module Aws::SecretsManager
|
|
907
907
|
# Use this parameter with caution. This parameter causes the operation
|
908
908
|
# to skip the normal recovery window before the permanent deletion that
|
909
909
|
# Secrets Manager would normally impose with the `RecoveryWindowInDays`
|
910
|
-
# parameter. If you delete a secret with the
|
911
|
-
# parameter, then you have no opportunity
|
912
|
-
# lose the secret permanently.
|
910
|
+
# parameter. If you delete a secret with the
|
911
|
+
# `ForceDeleteWithoutRecovery` parameter, then you have no opportunity
|
912
|
+
# to recover the secret. You lose the secret permanently.
|
913
913
|
#
|
914
914
|
# @return [Types::DeleteSecretResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
915
915
|
#
|
@@ -1575,7 +1575,7 @@ module Aws::SecretsManager
|
|
1575
1575
|
# The filters to apply to the list of secrets.
|
1576
1576
|
#
|
1577
1577
|
# @option params [String] :sort_order
|
1578
|
-
#
|
1578
|
+
# Secrets are listed by `CreatedDate`.
|
1579
1579
|
#
|
1580
1580
|
# @return [Types::ListSecretsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1581
1581
|
#
|
@@ -2171,16 +2171,20 @@ module Aws::SecretsManager
|
|
2171
2171
|
# later invocation of `RotateSecret` assumes that a previous rotation
|
2172
2172
|
# request is still in progress and returns an error.
|
2173
2173
|
#
|
2174
|
+
# When rotation is unsuccessful, the `AWSPENDING` staging label might be
|
2175
|
+
# attached to an empty secret version. For more information, see
|
2176
|
+
# [Troubleshoot rotation][7] in the *Secrets Manager User Guide*.
|
2177
|
+
#
|
2174
2178
|
# Secrets Manager generates a CloudTrail log entry when you call this
|
2175
2179
|
# action. Do not include sensitive information in request parameters
|
2176
2180
|
# because it might be logged. For more information, see [Logging Secrets
|
2177
|
-
# Manager events with CloudTrail][
|
2181
|
+
# Manager events with CloudTrail][8].
|
2178
2182
|
#
|
2179
2183
|
# <b>Required permissions: </b> `secretsmanager:RotateSecret`. For more
|
2180
|
-
# information, see [ IAM policy actions for Secrets Manager][
|
2181
|
-
# [Authentication and access control in Secrets Manager][
|
2184
|
+
# information, see [ IAM policy actions for Secrets Manager][9] and
|
2185
|
+
# [Authentication and access control in Secrets Manager][10]. You also
|
2182
2186
|
# need `lambda:InvokeFunction` permissions on the rotation function. For
|
2183
|
-
# more information, see [ Permissions for rotation][
|
2187
|
+
# more information, see [ Permissions for rotation][11].
|
2184
2188
|
#
|
2185
2189
|
#
|
2186
2190
|
#
|
@@ -2190,10 +2194,11 @@ module Aws::SecretsManager
|
|
2190
2194
|
# [4]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html
|
2191
2195
|
# [5]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html
|
2192
2196
|
# [6]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets_strategies.html
|
2193
|
-
# [7]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/
|
2194
|
-
# [8]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/
|
2195
|
-
# [9]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/
|
2196
|
-
# [10]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/
|
2197
|
+
# [7]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot_rotation.html
|
2198
|
+
# [8]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
|
2199
|
+
# [9]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
|
2200
|
+
# [10]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
|
2201
|
+
# [11]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets-required-permissions-function.html
|
2197
2202
|
#
|
2198
2203
|
# @option params [required, String] :secret_id
|
2199
2204
|
# The ARN or name of the secret to rotate.
|
@@ -3041,7 +3046,7 @@ module Aws::SecretsManager
|
|
3041
3046
|
params: params,
|
3042
3047
|
config: config)
|
3043
3048
|
context[:gem_name] = 'aws-sdk-secretsmanager'
|
3044
|
-
context[:gem_version] = '1.
|
3049
|
+
context[:gem_version] = '1.68.0'
|
3045
3050
|
Seahorse::Client::Request.new(handlers, context)
|
3046
3051
|
end
|
3047
3052
|
|
@@ -417,7 +417,7 @@ module Aws::SecretsManager
|
|
417
417
|
# to skip the normal recovery window before the permanent deletion
|
418
418
|
# that Secrets Manager would normally impose with the
|
419
419
|
# `RecoveryWindowInDays` parameter. If you delete a secret with the
|
420
|
-
# `
|
420
|
+
# `ForceDeleteWithoutRecovery` parameter, then you have no opportunity
|
421
421
|
# to recover the secret. You lose the secret permanently.
|
422
422
|
# @return [Boolean]
|
423
423
|
#
|
@@ -1166,7 +1166,7 @@ module Aws::SecretsManager
|
|
1166
1166
|
# @return [Array<Types::Filter>]
|
1167
1167
|
#
|
1168
1168
|
# @!attribute [rw] sort_order
|
1169
|
-
#
|
1169
|
+
# Secrets are listed by `CreatedDate`.
|
1170
1170
|
# @return [String]
|
1171
1171
|
#
|
1172
1172
|
# @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/ListSecretsRequest AWS API Documentation
|
@@ -1821,16 +1821,20 @@ module Aws::SecretsManager
|
|
1821
1821
|
# the rotation schedule after every successful rotation. In
|
1822
1822
|
# `RotateSecret`, you can set the rotation schedule in `RotationRules`
|
1823
1823
|
# with `AutomaticallyAfterDays` or `ScheduleExpression`, but not both.
|
1824
|
+
# To set a rotation schedule in hours, use `ScheduleExpression`.
|
1824
1825
|
# @return [Integer]
|
1825
1826
|
#
|
1826
1827
|
# @!attribute [rw] duration
|
1827
1828
|
# The length of the rotation window in hours, for example `3h` for a
|
1828
1829
|
# three hour window. Secrets Manager rotates your secret at any time
|
1829
|
-
# during this window. The window must not
|
1830
|
-
#
|
1831
|
-
#
|
1832
|
-
# `ScheduleExpression
|
1833
|
-
#
|
1830
|
+
# during this window. The window must not extend into the next
|
1831
|
+
# rotation window or the next UTC day. The window starts according to
|
1832
|
+
# the `ScheduleExpression`. If you don't specify a `Duration`, for a
|
1833
|
+
# `ScheduleExpression` in hours, the window automatically closes after
|
1834
|
+
# one hour. For a `ScheduleExpression` in days, the window
|
1835
|
+
# automatically closes at the end of the UTC day. For more
|
1836
|
+
# information, including examples, see [Schedule expressions in
|
1837
|
+
# Secrets Manager rotation][1] in the *Secrets Manager Users Guide*.
|
1834
1838
|
#
|
1835
1839
|
#
|
1836
1840
|
#
|
@@ -1840,24 +1844,29 @@ module Aws::SecretsManager
|
|
1840
1844
|
# @!attribute [rw] schedule_expression
|
1841
1845
|
# A `cron()` or `rate()` expression that defines the schedule for
|
1842
1846
|
# rotating your secret. Secrets Manager rotation schedules use UTC
|
1843
|
-
# time zone.
|
1844
|
-
#
|
1845
|
-
#
|
1846
|
-
#
|
1847
|
-
# you
|
1848
|
-
#
|
1849
|
-
#
|
1850
|
-
# window.
|
1851
|
-
#
|
1852
|
-
#
|
1853
|
-
#
|
1847
|
+
# time zone. Secrets Manager rotates your secret any time during a
|
1848
|
+
# rotation window.
|
1849
|
+
#
|
1850
|
+
# Secrets Manager `rate()` expressions represent the interval in hours
|
1851
|
+
# or days that you want to rotate your secret, for example `rate(12
|
1852
|
+
# hours)` or `rate(10 days)`. You can rotate a secret as often as
|
1853
|
+
# every four hours. If you use a `rate()` expression, the rotation
|
1854
|
+
# window starts at midnight. For a rate in hours, the default rotation
|
1855
|
+
# window closes after one hour. For a rate in days, the default
|
1856
|
+
# rotation window closes at the end of the day. You can set the
|
1857
|
+
# `Duration` to change the rotation window. The rotation window must
|
1858
|
+
# not extend into the next UTC day or into the next rotation window.
|
1859
|
+
#
|
1860
|
+
# You can use a `cron()` expression to create a rotation schedule that
|
1861
|
+
# is more detailed than a rotation interval. For more information,
|
1854
1862
|
# including examples, see [Schedule expressions in Secrets Manager
|
1855
|
-
# rotation][1]
|
1856
|
-
#
|
1857
|
-
#
|
1858
|
-
#
|
1859
|
-
#
|
1860
|
-
#
|
1863
|
+
# rotation][1] in the *Secrets Manager Users Guide*. For a cron
|
1864
|
+
# expression that represents a schedule in hours, the default rotation
|
1865
|
+
# window closes after one hour. For a cron expression that represents
|
1866
|
+
# a schedule in days, the default rotation window closes at the end of
|
1867
|
+
# the day. You can set the `Duration` to change the rotation window.
|
1868
|
+
# The rotation window must not extend into the next UTC day or into
|
1869
|
+
# the next rotation window.
|
1861
1870
|
#
|
1862
1871
|
#
|
1863
1872
|
#
|
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.68.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-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|