google-cloud-kms 1.5.1 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/resources.rb +16 -0
- data/lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/service.rb +5 -0
- data/lib/google/cloud/kms/v1/resources_pb.rb +7 -1
- data/lib/google/cloud/kms/v1/service_pb.rb +1 -0
- data/lib/google/cloud/kms/v1/service_services_pb.rb +1 -1
- data/lib/google/cloud/kms/version.rb +1 -1
- 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: a1064b16ffd2c3cf2acb23323a6c19f28ae831563d46742b2ef2d3f602e3a943
|
4
|
+
data.tar.gz: 0b74a2b6f2cdc972a61de8711f59ad1b8cbacd365fad71e9e9d2537a0ead5ebf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01b43736fd4d7fc9e8411b407db809b2d39918229343cdaa038d375d04a988d6c9be051d455607ace26736cdea56b4a6aa2f3e4d8d9867a5b0d3431e438cf960
|
7
|
+
data.tar.gz: c8a6cbcf6477601e0eba6e3470a903ccd56101deaa097dc3eed445840ed9c8ae74537467508fb41f18de277a3db6d58da3bf4bf1763111b1d2c3dd04bdce250b
|
@@ -222,6 +222,11 @@ module Google
|
|
222
222
|
# Output only. The root cause of an import failure. Only present if
|
223
223
|
# {Google::Cloud::Kms::V1::CryptoKeyVersion#state state} is
|
224
224
|
# {Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionState::IMPORT_FAILED IMPORT_FAILED}.
|
225
|
+
# @!attribute [rw] external_protection_level_options
|
226
|
+
# @return [Google::Cloud::Kms::V1::ExternalProtectionLevelOptions]
|
227
|
+
# ExternalProtectionLevelOptions stores a group of additional fields for
|
228
|
+
# configuring a {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} that are specific to the
|
229
|
+
# {Google::Cloud::Kms::V1::ProtectionLevel::EXTERNAL EXTERNAL} protection level.
|
225
230
|
class CryptoKeyVersion
|
226
231
|
# The algorithm of the {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion}, indicating what
|
227
232
|
# parameters must be used for each cryptographic operation.
|
@@ -305,6 +310,9 @@ module Google
|
|
305
310
|
|
306
311
|
# ECDSA on the NIST P-384 curve with a SHA384 digest.
|
307
312
|
EC_SIGN_P384_SHA384 = 13
|
313
|
+
|
314
|
+
# Algorithm representing symmetric encryption by an external key manager.
|
315
|
+
EXTERNAL_SYMMETRIC_ENCRYPTION = 18
|
308
316
|
end
|
309
317
|
|
310
318
|
# The state of a {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion}, indicating if it can be used.
|
@@ -502,6 +510,14 @@ module Google
|
|
502
510
|
end
|
503
511
|
end
|
504
512
|
|
513
|
+
# ExternalProtectionLevelOptions stores a group of additional fields for
|
514
|
+
# configuring a {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} that are specific to the
|
515
|
+
# {Google::Cloud::Kms::V1::ProtectionLevel::EXTERNAL EXTERNAL} protection level.
|
516
|
+
# @!attribute [rw] external_key_uri
|
517
|
+
# @return [String]
|
518
|
+
# The URI for an external resource that this {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} represents.
|
519
|
+
class ExternalProtectionLevelOptions; end
|
520
|
+
|
505
521
|
# {Google::Cloud::Kms::V1::ProtectionLevel ProtectionLevel} specifies how cryptographic operations are performed.
|
506
522
|
# For more information, see [Protection levels]
|
507
523
|
# (https://cloud.google.com/kms/docs/algorithms#protection_levels).
|
@@ -479,6 +479,11 @@ module Google
|
|
479
479
|
# Indicates whether {Google::Cloud::Kms::V1::CryptoKey CryptoKeys} with
|
480
480
|
# {Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level protection_level}
|
481
481
|
# {Google::Cloud::Kms::V1::ProtectionLevel::HSM HSM} can be created in this location.
|
482
|
+
# @!attribute [rw] ekm_available
|
483
|
+
# @return [true, false]
|
484
|
+
# Indicates whether {Google::Cloud::Kms::V1::CryptoKey CryptoKeys} with
|
485
|
+
# {Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level protection_level}
|
486
|
+
# {Google::Cloud::Kms::V1::ProtectionLevel::EXTERNAL EXTERNAL} can be created in this location.
|
482
487
|
class LocationMetadata; end
|
483
488
|
end
|
484
489
|
end
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
|
-
require 'google/api/annotations_pb'
|
8
7
|
require 'google/api/field_behavior_pb'
|
9
8
|
require 'google/api/resource_pb'
|
10
9
|
require 'google/protobuf/duration_pb'
|
11
10
|
require 'google/protobuf/timestamp_pb'
|
11
|
+
require 'google/api/annotations_pb'
|
12
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
13
|
add_message "google.cloud.kms.v1.KeyRing" do
|
14
14
|
optional :name, :string, 1
|
@@ -58,6 +58,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
58
58
|
optional :import_job, :string, 14
|
59
59
|
optional :import_time, :message, 15, "google.protobuf.Timestamp"
|
60
60
|
optional :import_failure_reason, :string, 16
|
61
|
+
optional :external_protection_level_options, :message, 17, "google.cloud.kms.v1.ExternalProtectionLevelOptions"
|
61
62
|
end
|
62
63
|
add_enum "google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm" do
|
63
64
|
value :CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED, 0
|
@@ -76,6 +77,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
76
77
|
value :RSA_DECRYPT_OAEP_4096_SHA512, 17
|
77
78
|
value :EC_SIGN_P256_SHA256, 12
|
78
79
|
value :EC_SIGN_P384_SHA384, 13
|
80
|
+
value :EXTERNAL_SYMMETRIC_ENCRYPTION, 18
|
79
81
|
end
|
80
82
|
add_enum "google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState" do
|
81
83
|
value :CRYPTO_KEY_VERSION_STATE_UNSPECIFIED, 0
|
@@ -121,6 +123,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
121
123
|
value :ACTIVE, 2
|
122
124
|
value :EXPIRED, 3
|
123
125
|
end
|
126
|
+
add_message "google.cloud.kms.v1.ExternalProtectionLevelOptions" do
|
127
|
+
optional :external_key_uri, :string, 1
|
128
|
+
end
|
124
129
|
add_enum "google.cloud.kms.v1.ProtectionLevel" do
|
125
130
|
value :PROTECTION_LEVEL_UNSPECIFIED, 0
|
126
131
|
value :SOFTWARE, 1
|
@@ -148,6 +153,7 @@ module Google
|
|
148
153
|
ImportJob::WrappingPublicKey = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ImportJob.WrappingPublicKey").msgclass
|
149
154
|
ImportJob::ImportMethod = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ImportJob.ImportMethod").enummodule
|
150
155
|
ImportJob::ImportJobState = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ImportJob.ImportJobState").enummodule
|
156
|
+
ExternalProtectionLevelOptions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ExternalProtectionLevelOptions").msgclass
|
151
157
|
ProtectionLevel = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ProtectionLevel").enummodule
|
152
158
|
end
|
153
159
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# Source: google/cloud/kms/v1/service.proto for package 'google.cloud.kms.v1'
|
3
3
|
# Original file comments:
|
4
|
-
# Copyright
|
4
|
+
# Copyright 2020 Google LLC
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
# you may not use this file except in compliance with the License.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-kms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|