google-cloud-kms 1.4.1 → 1.5.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/README.md +1 -1
- data/lib/google/cloud/kms.rb +1 -1
- data/lib/google/cloud/kms/v1.rb +1 -1
- data/lib/google/cloud/kms/v1/key_management_service_client.rb +3 -0
- 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: a1c6d1cdabdaf0ca3bb255d7b636fa0f47490479c5db68a90bf451c32b042f02
|
|
4
|
+
data.tar.gz: 52d45e6b8caeccfd4f1567e1bd56c2de982bf97fae4edc8990712c5747862d4d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 021373de34c3d0cf19f6ca0efb6300716994828a111b224b7ebdb3234510d3d71e83a7fa9fcb8dd5edd2a5ed2ace15c48291026b86193fa68c26e0e1fc743e05
|
|
7
|
+
data.tar.gz: 4ee6da1d708d76ce4338a9c73fa957e442aff0b93b56003b5adc17d0a363e5412a2fd008d77717dbc8df0dc657b159be9586310c8a2443a0ec3d16cc0474336b
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Ruby Client for Cloud Key Management Service (KMS) API
|
|
1
|
+
# Ruby Client for Cloud Key Management Service (KMS) API
|
|
2
2
|
|
|
3
3
|
[Cloud Key Management Service (KMS) API][Product Documentation]:
|
|
4
4
|
Manages keys and performs cryptographic operations in a central cloud
|
data/lib/google/cloud/kms.rb
CHANGED
|
@@ -21,7 +21,7 @@ module Google
|
|
|
21
21
|
# rubocop:disable LineLength
|
|
22
22
|
|
|
23
23
|
##
|
|
24
|
-
# # Ruby Client for Cloud Key Management Service (KMS) API
|
|
24
|
+
# # Ruby Client for Cloud Key Management Service (KMS) API
|
|
25
25
|
#
|
|
26
26
|
# [Cloud Key Management Service (KMS) API][Product Documentation]:
|
|
27
27
|
# Manages keys and performs cryptographic operations in a central cloud
|
data/lib/google/cloud/kms/v1.rb
CHANGED
|
@@ -23,7 +23,7 @@ module Google
|
|
|
23
23
|
# rubocop:disable LineLength
|
|
24
24
|
|
|
25
25
|
##
|
|
26
|
-
# # Ruby Client for Cloud Key Management Service (KMS) API
|
|
26
|
+
# # Ruby Client for Cloud Key Management Service (KMS) API
|
|
27
27
|
#
|
|
28
28
|
# [Cloud Key Management Service (KMS) API][Product Documentation]:
|
|
29
29
|
# Manages keys and performs cryptographic operations in a central cloud
|
|
@@ -295,6 +295,9 @@ module Google
|
|
|
295
295
|
google_api_client.freeze
|
|
296
296
|
|
|
297
297
|
headers = { :"x-goog-api-client" => google_api_client }
|
|
298
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
|
299
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
|
300
|
+
end
|
|
298
301
|
headers.merge!(metadata) unless metadata.nil?
|
|
299
302
|
client_config_file = Pathname.new(__dir__).join(
|
|
300
303
|
"key_management_service_client_config.json"
|
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.5.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-
|
|
11
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-gax
|