aws-sdk-core 2.11.78 → 2.11.79
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/apis/secretsmanager/2017-10-17/examples-1.json +62 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 38a221722cbcf14e69f7dded5a32f0fea6e6c5b0
|
|
4
|
+
data.tar.gz: 1f7be9505616a4b6c6d0e5f3e45a98d073808bed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6dc03e7fc474b62236d76acfac06a12c1b67788c07a3c86f1d2d7188f8a7a7dc15c6caf4ac89c3a6fe365f10d658089cf0acdaaca4c79c68fea48fc70f5b55e5
|
|
7
|
+
data.tar.gz: fb6980d38a837e6f34dee0c08385c47e1f8a33038789da999f22eda2eca43fe48cec8a042f64687381be7c9bab5969ac3c7bb111489f4a53d877f91d40432880
|
|
@@ -45,6 +45,26 @@
|
|
|
45
45
|
"title": "To create a basic secret"
|
|
46
46
|
}
|
|
47
47
|
],
|
|
48
|
+
"DeleteResourcePolicy": [
|
|
49
|
+
{
|
|
50
|
+
"input": {
|
|
51
|
+
"SecretId": "MyTestDatabaseSecret"
|
|
52
|
+
},
|
|
53
|
+
"output": {
|
|
54
|
+
"ARN": "arn:aws:secretsmanager:us-west-2:123456789012:secret:MyTestDatabaseMasterSecret-a1b2c3",
|
|
55
|
+
"Name": "MyTestDatabaseSecret"
|
|
56
|
+
},
|
|
57
|
+
"comments": {
|
|
58
|
+
"input": {
|
|
59
|
+
},
|
|
60
|
+
"output": {
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"description": "The following example shows how to delete the resource-based policy that is attached to a secret.",
|
|
64
|
+
"id": "to-delete-the-resource-based-policy-attached-to-a-secret-1530209419204",
|
|
65
|
+
"title": "To delete the resource-based policy attached to a secret"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
48
68
|
"DeleteSecret": [
|
|
49
69
|
{
|
|
50
70
|
"input": {
|
|
@@ -136,6 +156,27 @@
|
|
|
136
156
|
"title": "To generate a random password"
|
|
137
157
|
}
|
|
138
158
|
],
|
|
159
|
+
"GetResourcePolicy": [
|
|
160
|
+
{
|
|
161
|
+
"input": {
|
|
162
|
+
"SecretId": "MyTestDatabaseSecret"
|
|
163
|
+
},
|
|
164
|
+
"output": {
|
|
165
|
+
"ARN": "arn:aws:secretsmanager:us-west-2:123456789012:secret:MyTestDatabaseSecret-a1b2c3",
|
|
166
|
+
"Name": "MyTestDatabaseSecret",
|
|
167
|
+
"ResourcePolicy": "{\n\"Version\":\"2012-10-17\",\n\"Statement\":[{\n\"Effect\":\"Allow\",\n\"Principal\":{\n\"AWS\":\"arn:aws:iam::123456789012:root\"\n},\n\"Action\":\"secretsmanager:GetSecretValue\",\n\"Resource\":\"*\"\n}]\n}"
|
|
168
|
+
},
|
|
169
|
+
"comments": {
|
|
170
|
+
"input": {
|
|
171
|
+
},
|
|
172
|
+
"output": {
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"description": "The following example shows how to retrieve the resource-based policy that is attached to a secret.",
|
|
176
|
+
"id": "to-retrieve-the-resource-based-policy-attached-to-a-secret-1530209677536",
|
|
177
|
+
"title": "To retrieve the resource-based policy attached to a secret"
|
|
178
|
+
}
|
|
179
|
+
],
|
|
139
180
|
"GetSecretValue": [
|
|
140
181
|
{
|
|
141
182
|
"input": {
|
|
@@ -245,6 +286,27 @@
|
|
|
245
286
|
"title": "To list the secrets in your account"
|
|
246
287
|
}
|
|
247
288
|
],
|
|
289
|
+
"PutResourcePolicy": [
|
|
290
|
+
{
|
|
291
|
+
"input": {
|
|
292
|
+
"ResourcePolicy": "{\n\"Version\":\"2012-10-17\",\n\"Statement\":[{\n\"Effect\":\"Allow\",\n\"Principal\":{\n\"AWS\":\"arn:aws:iam::123456789012:root\"\n},\n\"Action\":\"secretsmanager:GetSecretValue\",\n\"Resource\":\"*\"\n}]\n}",
|
|
293
|
+
"SecretId": "MyTestDatabaseSecret"
|
|
294
|
+
},
|
|
295
|
+
"output": {
|
|
296
|
+
"ARN": "arn:aws:secretsmanager:us-west-2:123456789012:secret:MyTestDatabaseSecret-a1b2c3",
|
|
297
|
+
"Name": "MyTestDatabaseSecret"
|
|
298
|
+
},
|
|
299
|
+
"comments": {
|
|
300
|
+
"input": {
|
|
301
|
+
},
|
|
302
|
+
"output": {
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"description": "The following example shows how to add a resource-based policy to a secret.",
|
|
306
|
+
"id": "to-add-a-resource-based-policy-to-a-secret-1530209881839",
|
|
307
|
+
"title": "To add a resource-based policy to a secret"
|
|
308
|
+
}
|
|
309
|
+
],
|
|
248
310
|
"PutSecretValue": [
|
|
249
311
|
{
|
|
250
312
|
"input": {
|
data/lib/aws-sdk-core/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.11.
|
|
4
|
+
version: 2.11.79
|
|
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: 2018-06-
|
|
11
|
+
date: 2018-06-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jmespath
|