aws-sdk-kms 1.36.0 → 1.37.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 +2 -2
- data/lib/aws-sdk-kms/client.rb +31 -16
- 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: 1b425f87fbee0f2b2490a3920af0747250d7cd68832b77a95f67e8ef60d21f6a
|
4
|
+
data.tar.gz: 346c91d1fa460b34eb9d65c37a208e34e0dcbd811da9c4fe50b37de32f740919
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43008c25c340ad92a8a0a82c4a74b79b3fefc8d18bd283a5335d072ddbecd3099a9f0fe840e8c6a5291e6b21d0a9b6b9a96eb55d5812e9cc31308c1981249cbf
|
7
|
+
data.tar.gz: cf2566dd985f1c8d82b7657953da0041ac580abcadd83cdd41fa72df1ef42e57eb04eefb2987d02c605b3b4b7a75d0ef519cbb065f57543b98f36ba2461694ac
|
data/lib/aws-sdk-kms.rb
CHANGED
data/lib/aws-sdk-kms/client.rb
CHANGED
@@ -85,13 +85,28 @@ module Aws::KMS
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::KMS
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -1316,7 +1331,7 @@ module Aws::KMS
|
|
1316
1331
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html
|
1317
1332
|
# [4]: https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html
|
1318
1333
|
#
|
1319
|
-
# @option params [required, String,
|
1334
|
+
# @option params [required, String, StringIO, File] :ciphertext_blob
|
1320
1335
|
# Ciphertext to be decrypted. The blob includes metadata.
|
1321
1336
|
#
|
1322
1337
|
# @option params [Hash<String,String>] :encryption_context
|
@@ -2259,7 +2274,7 @@ module Aws::KMS
|
|
2259
2274
|
# To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
|
2260
2275
|
# To get the alias name and alias ARN, use ListAliases.
|
2261
2276
|
#
|
2262
|
-
# @option params [required, String,
|
2277
|
+
# @option params [required, String, StringIO, File] :plaintext
|
2263
2278
|
# Data to be encrypted.
|
2264
2279
|
#
|
2265
2280
|
# @option params [Hash<String,String>] :encryption_context
|
@@ -3491,12 +3506,12 @@ module Aws::KMS
|
|
3491
3506
|
#
|
3492
3507
|
# To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
|
3493
3508
|
#
|
3494
|
-
# @option params [required, String,
|
3509
|
+
# @option params [required, String, StringIO, File] :import_token
|
3495
3510
|
# The import token that you received in the response to a previous
|
3496
3511
|
# GetParametersForImport request. It must be from the same response that
|
3497
3512
|
# contained the public key that you used to encrypt the key material.
|
3498
3513
|
#
|
3499
|
-
# @option params [required, String,
|
3514
|
+
# @option params [required, String, StringIO, File] :encrypted_key_material
|
3500
3515
|
# The encrypted key material to import. The key material must be
|
3501
3516
|
# encrypted with the public wrapping key that GetParametersForImport
|
3502
3517
|
# returned, using the wrapping algorithm that you specified in the same
|
@@ -4402,7 +4417,7 @@ module Aws::KMS
|
|
4402
4417
|
# [6]: https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html
|
4403
4418
|
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html
|
4404
4419
|
#
|
4405
|
-
# @option params [required, String,
|
4420
|
+
# @option params [required, String, StringIO, File] :ciphertext_blob
|
4406
4421
|
# Ciphertext of the data to reencrypt.
|
4407
4422
|
#
|
4408
4423
|
# @option params [Hash<String,String>] :source_encryption_context
|
@@ -4886,7 +4901,7 @@ module Aws::KMS
|
|
4886
4901
|
# To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
|
4887
4902
|
# To get the alias name and alias ARN, use ListAliases.
|
4888
4903
|
#
|
4889
|
-
# @option params [required, String,
|
4904
|
+
# @option params [required, String, StringIO, File] :message
|
4890
4905
|
# Specifies the message or message digest to sign. Messages can be
|
4891
4906
|
# 0-4096 bytes. To sign a larger message, provide the message digest.
|
4892
4907
|
#
|
@@ -5399,7 +5414,7 @@ module Aws::KMS
|
|
5399
5414
|
# To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
|
5400
5415
|
# To get the alias name and alias ARN, use ListAliases.
|
5401
5416
|
#
|
5402
|
-
# @option params [required, String,
|
5417
|
+
# @option params [required, String, StringIO, File] :message
|
5403
5418
|
# Specifies the message that was signed. You can submit a raw message of
|
5404
5419
|
# up to 4096 bytes, or a hash digest of the message. If you submit a
|
5405
5420
|
# digest, use the `MessageType` parameter with a value of `DIGEST`.
|
@@ -5417,7 +5432,7 @@ module Aws::KMS
|
|
5417
5432
|
# is a message digest. If you use the `DIGEST` value with a raw message,
|
5418
5433
|
# the security of the verification operation can be compromised.
|
5419
5434
|
#
|
5420
|
-
# @option params [required, String,
|
5435
|
+
# @option params [required, String, StringIO, File] :signature
|
5421
5436
|
# The signature that the `Sign` operation generated.
|
5422
5437
|
#
|
5423
5438
|
# @option params [required, String] :signing_algorithm
|
@@ -5479,7 +5494,7 @@ module Aws::KMS
|
|
5479
5494
|
params: params,
|
5480
5495
|
config: config)
|
5481
5496
|
context[:gem_name] = 'aws-sdk-kms'
|
5482
|
-
context[:gem_version] = '1.
|
5497
|
+
context[:gem_version] = '1.37.0'
|
5483
5498
|
Seahorse::Client::Request.new(handlers, context)
|
5484
5499
|
end
|
5485
5500
|
|
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.37.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: 2020-
|
11
|
+
date: 2020-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|