aws-sdk-kms 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-kms.rb +1 -1
- data/lib/aws-sdk-kms/client.rb +7 -4
- 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: 66ef1350526ff89b6cf22efb5194abfe93a0d647
|
4
|
+
data.tar.gz: 89c67d77d294ef78eacbd07960a28d7658e6fb1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0be62001f3601a81d4fc5d3ca7e3661df53a06a1254fe3c9d6bb5cd334209146f1fb754ad0406f2d05ac3ef67f35d99c5e4543a04a1197dd9d889da997a4b433
|
7
|
+
data.tar.gz: 1c149c1657e8e3100d249c3c36a1d3fb5216254989bf6905f0fcda2c9549fc046a2ea4ebf9fa2ac22dd6a830d6e73e4d4ebfc4e0c4ccda8c38175b3aa32b4073
|
data/lib/aws-sdk-kms.rb
CHANGED
data/lib/aws-sdk-kms/client.rb
CHANGED
@@ -379,7 +379,8 @@ module Aws::KMS
|
|
379
379
|
#
|
380
380
|
# @example Example: To create a grant
|
381
381
|
#
|
382
|
-
# # The following example creates a grant that allows the specified IAM role to encrypt data with the specified customer
|
382
|
+
# # The following example creates a grant that allows the specified IAM role to encrypt data with the specified customer
|
383
|
+
# # master key (CMK).
|
383
384
|
#
|
384
385
|
# resp = client.create_grant({
|
385
386
|
# grantee_principal: "arn:aws:iam::111122223333:role/ExampleRole", # The identity that is given permission to perform the operations specified in the grant.
|
@@ -1250,7 +1251,8 @@ module Aws::KMS
|
|
1250
1251
|
#
|
1251
1252
|
# @example Example: To generate a data key
|
1252
1253
|
#
|
1253
|
-
# # The following example generates a 256-bit symmetric data encryption key (data key) in two formats. One is the
|
1254
|
+
# # The following example generates a 256-bit symmetric data encryption key (data key) in two formats. One is the
|
1255
|
+
# # unencrypted (plainext) data key, and the other is the data key encrypted with the specified customer master key (CMK).
|
1254
1256
|
#
|
1255
1257
|
# resp = client.generate_data_key({
|
1256
1258
|
# key_id: "alias/ExampleAlias", # The identifier of the CMK to use to encrypt the data key. You can use the key ID or Amazon Resource Name (ARN) of the CMK, or the name or ARN of an alias that refers to the CMK.
|
@@ -1366,7 +1368,8 @@ module Aws::KMS
|
|
1366
1368
|
#
|
1367
1369
|
# @example Example: To generate an encrypted data key
|
1368
1370
|
#
|
1369
|
-
# # The following example generates an encrypted copy of a 256-bit symmetric data encryption key (data key). The data key is
|
1371
|
+
# # The following example generates an encrypted copy of a 256-bit symmetric data encryption key (data key). The data key is
|
1372
|
+
# # encrypted with the specified customer master key (CMK).
|
1370
1373
|
#
|
1371
1374
|
# resp = client.generate_data_key_without_plaintext({
|
1372
1375
|
# key_id: "alias/ExampleAlias", # The identifier of the CMK to use to encrypt the data key. You can use the key ID or Amazon Resource Name (ARN) of the CMK, or the name or ARN of an alias that refers to the CMK.
|
@@ -2985,7 +2988,7 @@ module Aws::KMS
|
|
2985
2988
|
params: params,
|
2986
2989
|
config: config)
|
2987
2990
|
context[:gem_name] = 'aws-sdk-kms'
|
2988
|
-
context[:gem_version] = '1.
|
2991
|
+
context[:gem_version] = '1.2.0'
|
2989
2992
|
Seahorse::Client::Request.new(handlers, context)
|
2990
2993
|
end
|
2991
2994
|
|
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.2.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-09-
|
11
|
+
date: 2017-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|