aws-sdk-kms 1.0.0.rc3 → 1.0.0.rc4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d348ec6df574b88ba7fc4422404e1ec80da36ef7
4
- data.tar.gz: 598efd7147127f5b74f0a5ecd87ae843467f6464
3
+ metadata.gz: 950b6bbfca0ed0aecadfc187fa3a51c2b74e73db
4
+ data.tar.gz: 54b3be39b30ddb3e5055401214cf21970012f904
5
5
  SHA512:
6
- metadata.gz: 5f26941c3677b5eef0bb57068ec8fe9c67d604d2921f82ef688a230184212e30b99abf939684067807cf99059fab819ffbefede2960e0c2c55d5b87331f1c5f5
7
- data.tar.gz: d3787c2cad1583842acbb9cbb360ca572dd3724d79474f0148e145f200bba3686e46d11641acfa99f20a1889bc02de9453aa6253777f03a346686002198e0bec
6
+ metadata.gz: b23b21e7984866b759857d97f4db42744bb9b5b94cf2617cb4a6de481cb513ab7c722d78abafdea7162f40c3e019de3ba16c8d42927ca3bad0cfef62c16133c1
7
+ data.tar.gz: 494c8670361f553f9dd44d21fc1794b65df695aca09fc7f681b8dff0df12b1a004cf3f15638baababeaeeb84c57708dfd3f13d8a7a1dc7bf3b00511218ab319d
data/lib/aws-sdk-kms.rb CHANGED
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-kms/customizations'
42
42
  # @service
43
43
  module Aws::KMS
44
44
 
45
- GEM_VERSION = '1.0.0.rc3'
45
+ GEM_VERSION = '1.0.0.rc4'
46
46
 
47
47
  end
@@ -18,6 +18,7 @@ require 'aws-sdk-core/plugins/regional_endpoint.rb'
18
18
  require 'aws-sdk-core/plugins/response_paging.rb'
19
19
  require 'aws-sdk-core/plugins/stub_responses.rb'
20
20
  require 'aws-sdk-core/plugins/idempotency_token.rb'
21
+ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
21
22
  require 'aws-sdk-core/plugins/signature_v4.rb'
22
23
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
23
24
 
@@ -45,6 +46,7 @@ module Aws::KMS
45
46
  add_plugin(Aws::Plugins::ResponsePaging)
46
47
  add_plugin(Aws::Plugins::StubResponses)
47
48
  add_plugin(Aws::Plugins::IdempotencyToken)
49
+ add_plugin(Aws::Plugins::JsonvalueConverter)
48
50
  add_plugin(Aws::Plugins::SignatureV4)
49
51
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
50
52
 
@@ -310,13 +312,10 @@ module Aws::KMS
310
312
  # A list of operations that the grant permits.
311
313
  #
312
314
  # @option params [Types::GrantConstraints] :constraints
313
- # The conditions under which the operations permitted by the grant are
314
- # allowed.
315
- #
316
- # You can use this value to allow the operations permitted by the grant
317
- # only when a specified encryption context is present. For more
318
- # information, see [Encryption Context][1] in the *AWS Key Management
319
- # Service Developer Guide*.
315
+ # A structure that you can use to allow certain operations in the grant
316
+ # only when the desired encryption context is present. For more
317
+ # information about encryption context, see [Encryption Context][1] in
318
+ # the *AWS Key Management Service Developer Guide*.
320
319
  #
321
320
  #
322
321
  #
@@ -994,8 +993,8 @@ module Aws::KMS
994
993
  # plaintext data key from memory.
995
994
  #
996
995
  # To return only an encrypted copy of the data key, use
997
- # GenerateDataKeyWithoutPlaintext. To return an arbitrary unpredictable
998
- # byte string, use GenerateRandom.
996
+ # GenerateDataKeyWithoutPlaintext. To return a random byte string that
997
+ # is cryptographically secure, use GenerateRandom.
999
998
  #
1000
999
  # If you use the optional `EncryptionContext` field, you must store at
1001
1000
  # least enough information to be able to reconstruct the full encryption
@@ -1189,7 +1188,14 @@ module Aws::KMS
1189
1188
  req.send_request(options)
1190
1189
  end
1191
1190
 
1192
- # Generates an unpredictable byte string.
1191
+ # Returns a random byte string that is cryptographically secure.
1192
+ #
1193
+ # For more information about entropy and random number generation, see
1194
+ # the [AWS Key Management Service Cryptographic Details][1] whitepaper.
1195
+ #
1196
+ #
1197
+ #
1198
+ # [1]: https://d0.awsstatic.com/whitepapers/KMS-Cryptographic-Details.pdf
1193
1199
  #
1194
1200
  # @option params [Integer] :number_of_bytes
1195
1201
  # The length of the byte string.
@@ -2338,7 +2344,7 @@ module Aws::KMS
2338
2344
  params: params,
2339
2345
  config: config)
2340
2346
  context[:gem_name] = 'aws-sdk-kms'
2341
- context[:gem_version] = '1.0.0.rc3'
2347
+ context[:gem_version] = '1.0.0.rc4'
2342
2348
  Seahorse::Client::Request.new(handlers, context)
2343
2349
  end
2344
2350
 
@@ -179,13 +179,10 @@ module Aws::KMS
179
179
  # @return [Array<String>]
180
180
  #
181
181
  # @!attribute [rw] constraints
182
- # The conditions under which the operations permitted by the grant are
183
- # allowed.
184
- #
185
- # You can use this value to allow the operations permitted by the
186
- # grant only when a specified encryption context is present. For more
187
- # information, see [Encryption Context][1] in the *AWS Key Management
188
- # Service Developer Guide*.
182
+ # A structure that you can use to allow certain operations in the
183
+ # grant only when the desired encryption context is present. For more
184
+ # information about encryption context, see [Encryption Context][1] in
185
+ # the *AWS Key Management Service Developer Guide*.
189
186
  #
190
187
  #
191
188
  #
@@ -961,7 +958,7 @@ module Aws::KMS
961
958
  end
962
959
 
963
960
  # @!attribute [rw] plaintext
964
- # The unpredictable byte string.
961
+ # The random byte string.
965
962
  # @return [String]
966
963
  #
967
964
  # @see http://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandomResponse AWS API Documentation
@@ -1130,14 +1127,20 @@ module Aws::KMS
1130
1127
  include Aws::Structure
1131
1128
  end
1132
1129
 
1133
- # A structure for specifying the conditions under which the operations
1134
- # permitted by the grant are allowed.
1135
- #
1136
- # You can use this structure to allow the operations permitted by the
1137
- # grant only when a specified encryption context is present. For more
1130
+ # A structure that you can use to allow certain operations in the grant
1131
+ # only when the desired encryption context is present. For more
1138
1132
  # information about encryption context, see [Encryption Context][1] in
1139
1133
  # the *AWS Key Management Service Developer Guide*.
1140
1134
  #
1135
+ # Grant constraints apply only to operations that accept encryption
1136
+ # context as input. For example, the ` DescribeKey ` operation does not
1137
+ # accept encryption context as input. A grant that allows the
1138
+ # `DescribeKey` operation does so regardless of the grant constraints.
1139
+ # In constrast, the ` Encrypt ` operation accepts encryption context as
1140
+ # input. A grant that allows the `Encrypt` operation does so only when
1141
+ # the encryption context of the `Encrypt` operation satisfies the grant
1142
+ # constraints.
1143
+ #
1141
1144
  #
1142
1145
  #
1143
1146
  # [1]: http://docs.aws.amazon.com/kms/latest/developerguide/encryption-context.html
@@ -1155,20 +1158,20 @@ module Aws::KMS
1155
1158
  # }
1156
1159
  #
1157
1160
  # @!attribute [rw] encryption_context_subset
1158
- # Contains a list of key-value pairs, a subset of which must be
1159
- # present in the encryption context of a subsequent operation
1160
- # permitted by the grant. When a subsequent operation permitted by the
1161
- # grant includes an encryption context that matches this list or is a
1162
- # subset of this list, the grant allows the operation. Otherwise, the
1163
- # operation is not allowed.
1161
+ # A list of key-value pairs, all of which must be present in the
1162
+ # encryption context of certain subsequent operations that the grant
1163
+ # allows. When certain subsequent operations allowed by the grant
1164
+ # include encryption context that matches this list or is a superset
1165
+ # of this list, the grant allows the operation. Otherwise, the grant
1166
+ # does not allow the operation.
1164
1167
  # @return [Hash<String,String>]
1165
1168
  #
1166
1169
  # @!attribute [rw] encryption_context_equals
1167
- # Contains a list of key-value pairs that must be present in the
1168
- # encryption context of a subsequent operation permitted by the grant.
1169
- # When a subsequent operation permitted by the grant includes an
1170
+ # A list of key-value pairs that must be present in the encryption
1171
+ # context of certain subsequent operations that the grant allows. When
1172
+ # certain subsequent operations allowed by the grant include
1170
1173
  # encryption context that matches this list, the grant allows the
1171
- # operation. Otherwise, the operation is not allowed.
1174
+ # operation. Otherwise, the grant does not allow the operation.
1172
1175
  # @return [Hash<String,String>]
1173
1176
  #
1174
1177
  # @see http://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GrantConstraints AWS API Documentation
@@ -1217,7 +1220,8 @@ module Aws::KMS
1217
1220
  # @return [Array<String>]
1218
1221
  #
1219
1222
  # @!attribute [rw] constraints
1220
- # The conditions under which the grant's operations are allowed.
1223
+ # A list of key-value pairs that must be present in the encryption
1224
+ # context of certain subsequent operations that the grant allows.
1221
1225
  # @return [Types::GrantConstraints]
1222
1226
  #
1223
1227
  # @see http://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GrantListEntry AWS API Documentation
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.0.0.rc3
4
+ version: 1.0.0.rc4
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-03-07 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core