aws-sdk-kms 1.0.0 → 1.1.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/lib/aws-sdk-kms.rb +1 -1
- data/lib/aws-sdk-kms/client.rb +2 -2
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 445b602c5023c5eb799f802d8cbf3b2023333778
|
|
4
|
+
data.tar.gz: 2b87b9389f9fe0d708b13aba2e23bda5ceb79b13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 177384aa5f5ee45aa08c04ed43cda88dec9e8c0ff4e6ec4ebf711d4443f2499315869a11ba7e2160e1d1d4e18799f9292be65a2ff2a224f13070e29dc08e680f
|
|
7
|
+
data.tar.gz: f4aa4343beafeffd694df9869d68bc79115532e79f4fa21ee1a58300fdca6c3588749c7e5d4bebc5224555885b9b1a4d3fb588fac0ba28746010e4af885bfdc3
|
data/lib/aws-sdk-kms.rb
CHANGED
data/lib/aws-sdk-kms/client.rb
CHANGED
|
@@ -2428,7 +2428,7 @@ module Aws::KMS
|
|
|
2428
2428
|
#
|
|
2429
2429
|
# resp = client.put_key_policy({
|
|
2430
2430
|
# key_id: "1234abcd-12ab-34cd-56ef-1234567890ab", # The identifier of the CMK to attach the key policy to. You can use the key ID or the Amazon Resource Name (ARN) of the CMK.
|
|
2431
|
-
# policy: "{\
|
|
2431
|
+
# policy: "{\"Version\":\"2012-10-17\",\"Id\":\"custom-policy-2016-12-07\",\"Statement\":[{\"Sid\":\"EnableIAMUserPermissions\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::111122223333:root\"},\"Action\":\"kms:*\",\"Resource\":\"*\"},{\"Sid\":\"AllowaccessforKeyAdministrators\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":[\"arn:aws:iam::111122223333:user/ExampleAdminUser\",\"arn:aws:iam::111122223333:role/ExampleAdminRole\"]},\"Action\":[\"kms:Create*\",\"kms:Describe*\",\"kms:Enable*\",\"kms:List*\",\"kms:Put*\",\"kms:Update*\",\"kms:Revoke*\",\"kms:Disable*\",\"kms:Get*\",\"kms:Delete*\",\"kms:ScheduleKeyDeletion\",\"kms:CancelKeyDeletion\"],\"Resource\":\"*\"},{\"Sid\":\"Allowuseofthekey\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::111122223333:role/ExamplePowerUserRole\"},\"Action\":[\"kms:Encrypt\",\"kms:Decrypt\",\"kms:ReEncrypt*\",\"kms:GenerateDataKey*\",\"kms:DescribeKey\"],\"Resource\":\"*\"},{\"Sid\":\"Allowattachmentofpersistentresources\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::111122223333:role/ExamplePowerUserRole\"},\"Action\":[\"kms:CreateGrant\",\"kms:ListGrants\",\"kms:RevokeGrant\"],\"Resource\":\"*\",\"Condition\":{\"Bool\":{\"kms:GrantIsForAWSResource\":\"true\"}}}]}", # The key policy document.
|
|
2432
2432
|
# policy_name: "default", # The name of the key policy.
|
|
2433
2433
|
# })
|
|
2434
2434
|
#
|
|
@@ -2985,7 +2985,7 @@ module Aws::KMS
|
|
|
2985
2985
|
params: params,
|
|
2986
2986
|
config: config)
|
|
2987
2987
|
context[:gem_name] = 'aws-sdk-kms'
|
|
2988
|
-
context[:gem_version] = '1.
|
|
2988
|
+
context[:gem_version] = '1.1.0'
|
|
2989
2989
|
Seahorse::Client::Request.new(handlers, context)
|
|
2990
2990
|
end
|
|
2991
2991
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-kms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.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: 2017-
|
|
11
|
+
date: 2017-09-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -56,7 +56,9 @@ files:
|
|
|
56
56
|
homepage: http://github.com/aws/aws-sdk-ruby
|
|
57
57
|
licenses:
|
|
58
58
|
- Apache-2.0
|
|
59
|
-
metadata:
|
|
59
|
+
metadata:
|
|
60
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-kms
|
|
61
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-kms/CHANGELOG.md
|
|
60
62
|
post_install_message:
|
|
61
63
|
rdoc_options: []
|
|
62
64
|
require_paths:
|