strongdm 8.3.0 → 8.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.git/ORIG_HEAD +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -3
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/{pack-4261676cf40d688329aa296e253a717a48298b9c.idx → pack-4ee1251da9ac4f762232f7c2302709c4007ce5db.idx} +0 -0
- data/.git/objects/pack/{pack-4261676cf40d688329aa296e253a717a48298b9c.pack → pack-4ee1251da9ac4f762232f7c2302709c4007ce5db.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/plumbing.rb +96 -0
- data/lib/grpc/secret_store_types_pb.rb +18 -0
- data/lib/models/porcelain.rb +72 -0
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +2 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0db6a67f3dc8f6fb4d1f96d31ed4ec252dcafa3f242652ec98add77f1dc4fce0
|
4
|
+
data.tar.gz: eabcaa44c11f5fc550bc8b56d94792ffcba24db02ef05b3c74f8407e50d16b6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bea0d51be418fcf78661d02d78f3771e3b25a88047d6f01ed4c5835e5c996d7d4e0389e760c6dc9eb1490efcd770d89ab82c115199ce15debd012bddfa398c68
|
7
|
+
data.tar.gz: 311b96003c3e033690af8354471146298507390a889f6a3ee3767782c8060a62d71759b5304873a4e8d07f8881db06dd945f1325d64c360c17a675092019fdb9
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
98b9ee54f8ca2dc8eecd977e22bf3d05ca667667
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 98b9ee54f8ca2dc8eecd977e22bf3d05ca667667 root <root@8f370e732ffa.(none)> 1716241926 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
98b9ee54f8ca2dc8eecd977e22bf3d05ca667667 98b9ee54f8ca2dc8eecd977e22bf3d05ca667667 root <root@8f370e732ffa.(none)> 1716241926 +0000 checkout: moving from master to master
|
3
|
+
98b9ee54f8ca2dc8eecd977e22bf3d05ca667667 6ca94f88b799db10fe2a0867b5b53718a0289d0a root <root@8f370e732ffa.(none)> 1716241926 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 98b9ee54f8ca2dc8eecd977e22bf3d05ca667667 root <root@8f370e732ffa.(none)> 1716241926 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
98b9ee54f8ca2dc8eecd977e22bf3d05ca667667 6ca94f88b799db10fe2a0867b5b53718a0289d0a root <root@8f370e732ffa.(none)> 1716241926 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 98b9ee54f8ca2dc8eecd977e22bf3d05ca667667 root <root@8f370e732ffa.(none)> 1716241926 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
Binary file
|
Binary file
|
data/.git/packed-refs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# pack-refs with: peeled fully-peeled sorted
|
2
|
-
|
3
|
-
|
2
|
+
6ca94f88b799db10fe2a0867b5b53718a0289d0a refs/remotes/origin/development
|
3
|
+
98b9ee54f8ca2dc8eecd977e22bf3d05ca667667 refs/remotes/origin/master
|
4
4
|
2e4fe8087177ddea9b3991ca499f758384839c89 refs/tags/untagged-84fd83a4484c785cce63
|
5
5
|
04f604866214fab4d5663b5171a3e596331577bd refs/tags/v0.9.4
|
6
6
|
6f9a7b75b345c65fb554884907b7060680c807b7 refs/tags/v0.9.5
|
@@ -106,3 +106,4 @@ c69cd1f08e014470bbe2e4dbc4ad494d4bf78d6c refs/tags/v7.0.0
|
|
106
106
|
f34575bc142eabf113dbbc5b40b3a16e0c026355 refs/tags/v7.1.0
|
107
107
|
7659a644ef149debee2515386136b7e2d5e917ea refs/tags/v8.0.0
|
108
108
|
14ef2b24960a5e854b60586884494ed913221b5b refs/tags/v8.1.0
|
109
|
+
98b9ee54f8ca2dc8eecd977e22bf3d05ca667667 refs/tags/v8.3.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
6ca94f88b799db10fe2a0867b5b53718a0289d0a
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -10500,6 +10500,12 @@ module SDM
|
|
10500
10500
|
if porcelain.instance_of? VaultAppRoleCertX509Store
|
10501
10501
|
plumbing.vault_app_role_cert_x_509 = convert_vault_app_role_cert_x_509_store_to_plumbing(porcelain)
|
10502
10502
|
end
|
10503
|
+
if porcelain.instance_of? VaultAWSEC2Store
|
10504
|
+
plumbing.vault_awsec_2 = convert_vault_awsec_2_store_to_plumbing(porcelain)
|
10505
|
+
end
|
10506
|
+
if porcelain.instance_of? VaultAWSIAMStore
|
10507
|
+
plumbing.vault_awsiam = convert_vault_awsiam_store_to_plumbing(porcelain)
|
10508
|
+
end
|
10503
10509
|
if porcelain.instance_of? VaultTLSStore
|
10504
10510
|
plumbing.vault_tls = convert_vault_tls_store_to_plumbing(porcelain)
|
10505
10511
|
end
|
@@ -10570,6 +10576,12 @@ module SDM
|
|
10570
10576
|
if plumbing.vault_app_role_cert_x_509 != nil
|
10571
10577
|
return convert_vault_app_role_cert_x_509_store_to_porcelain(plumbing.vault_app_role_cert_x_509)
|
10572
10578
|
end
|
10579
|
+
if plumbing.vault_awsec_2 != nil
|
10580
|
+
return convert_vault_awsec_2_store_to_porcelain(plumbing.vault_awsec_2)
|
10581
|
+
end
|
10582
|
+
if plumbing.vault_awsiam != nil
|
10583
|
+
return convert_vault_awsiam_store_to_porcelain(plumbing.vault_awsiam)
|
10584
|
+
end
|
10573
10585
|
if plumbing.vault_tls != nil
|
10574
10586
|
return convert_vault_tls_store_to_porcelain(plumbing.vault_tls)
|
10575
10587
|
end
|
@@ -11533,6 +11545,90 @@ module SDM
|
|
11533
11545
|
end
|
11534
11546
|
items
|
11535
11547
|
end
|
11548
|
+
def self.convert_vault_awsec_2_store_to_porcelain(plumbing)
|
11549
|
+
if plumbing == nil
|
11550
|
+
return nil
|
11551
|
+
end
|
11552
|
+
porcelain = VaultAWSEC2Store.new()
|
11553
|
+
porcelain.id = (plumbing.id)
|
11554
|
+
porcelain.name = (plumbing.name)
|
11555
|
+
porcelain.namespace = (plumbing.namespace)
|
11556
|
+
porcelain.server_address = (plumbing.server_address)
|
11557
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
11558
|
+
porcelain
|
11559
|
+
end
|
11560
|
+
|
11561
|
+
def self.convert_vault_awsec_2_store_to_plumbing(porcelain)
|
11562
|
+
if porcelain == nil
|
11563
|
+
return nil
|
11564
|
+
end
|
11565
|
+
plumbing = V1::VaultAWSEC2Store.new()
|
11566
|
+
plumbing.id = (porcelain.id)
|
11567
|
+
plumbing.name = (porcelain.name)
|
11568
|
+
plumbing.namespace = (porcelain.namespace)
|
11569
|
+
plumbing.server_address = (porcelain.server_address)
|
11570
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
11571
|
+
plumbing
|
11572
|
+
end
|
11573
|
+
def self.convert_repeated_vault_awsec_2_store_to_plumbing(porcelains)
|
11574
|
+
items = Array.new
|
11575
|
+
porcelains.each do |porcelain|
|
11576
|
+
plumbing = convert_vault_awsec_2_store_to_plumbing(porcelain)
|
11577
|
+
items.append(plumbing)
|
11578
|
+
end
|
11579
|
+
items
|
11580
|
+
end
|
11581
|
+
|
11582
|
+
def self.convert_repeated_vault_awsec_2_store_to_porcelain(plumbings)
|
11583
|
+
items = Array.new
|
11584
|
+
plumbings.each do |plumbing|
|
11585
|
+
porcelain = convert_vault_awsec_2_store_to_porcelain(plumbing)
|
11586
|
+
items.append(porcelain)
|
11587
|
+
end
|
11588
|
+
items
|
11589
|
+
end
|
11590
|
+
def self.convert_vault_awsiam_store_to_porcelain(plumbing)
|
11591
|
+
if plumbing == nil
|
11592
|
+
return nil
|
11593
|
+
end
|
11594
|
+
porcelain = VaultAWSIAMStore.new()
|
11595
|
+
porcelain.id = (plumbing.id)
|
11596
|
+
porcelain.name = (plumbing.name)
|
11597
|
+
porcelain.namespace = (plumbing.namespace)
|
11598
|
+
porcelain.server_address = (plumbing.server_address)
|
11599
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
11600
|
+
porcelain
|
11601
|
+
end
|
11602
|
+
|
11603
|
+
def self.convert_vault_awsiam_store_to_plumbing(porcelain)
|
11604
|
+
if porcelain == nil
|
11605
|
+
return nil
|
11606
|
+
end
|
11607
|
+
plumbing = V1::VaultAWSIAMStore.new()
|
11608
|
+
plumbing.id = (porcelain.id)
|
11609
|
+
plumbing.name = (porcelain.name)
|
11610
|
+
plumbing.namespace = (porcelain.namespace)
|
11611
|
+
plumbing.server_address = (porcelain.server_address)
|
11612
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
11613
|
+
plumbing
|
11614
|
+
end
|
11615
|
+
def self.convert_repeated_vault_awsiam_store_to_plumbing(porcelains)
|
11616
|
+
items = Array.new
|
11617
|
+
porcelains.each do |porcelain|
|
11618
|
+
plumbing = convert_vault_awsiam_store_to_plumbing(porcelain)
|
11619
|
+
items.append(plumbing)
|
11620
|
+
end
|
11621
|
+
items
|
11622
|
+
end
|
11623
|
+
|
11624
|
+
def self.convert_repeated_vault_awsiam_store_to_porcelain(plumbings)
|
11625
|
+
items = Array.new
|
11626
|
+
plumbings.each do |plumbing|
|
11627
|
+
porcelain = convert_vault_awsiam_store_to_porcelain(plumbing)
|
11628
|
+
items.append(porcelain)
|
11629
|
+
end
|
11630
|
+
items
|
11631
|
+
end
|
11536
11632
|
def self.convert_vault_app_role_cert_ssh_store_to_porcelain(plumbing)
|
11537
11633
|
if plumbing == nil
|
11538
11634
|
return nil
|
@@ -36,6 +36,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
36
36
|
optional :gcp_cert_x_509, :message, 202, "v1.GCPCertX509Store"
|
37
37
|
optional :keyfactor_ssh, :message, 210, "v1.KeyfactorSSHStore"
|
38
38
|
optional :keyfactor_x_509, :message, 200, "v1.KeyfactorX509Store"
|
39
|
+
optional :vault_awsec_2, :message, 97, "v1.VaultAWSEC2Store"
|
40
|
+
optional :vault_awsiam, :message, 96, "v1.VaultAWSIAMStore"
|
39
41
|
optional :vault_app_role, :message, 4, "v1.VaultAppRoleStore"
|
40
42
|
optional :vault_app_role_cert_ssh, :message, 94, "v1.VaultAppRoleCertSSHStore"
|
41
43
|
optional :vault_app_role_cert_x_509, :message, 95, "v1.VaultAppRoleCertX509Store"
|
@@ -144,6 +146,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
144
146
|
optional :server_address, :string, 3
|
145
147
|
optional :tags, :message, 32771, "v1.Tags"
|
146
148
|
end
|
149
|
+
add_message "v1.VaultAWSEC2Store" do
|
150
|
+
optional :id, :string, 1
|
151
|
+
optional :name, :string, 2
|
152
|
+
optional :namespace, :string, 5
|
153
|
+
optional :server_address, :string, 3
|
154
|
+
optional :tags, :message, 8, "v1.Tags"
|
155
|
+
end
|
156
|
+
add_message "v1.VaultAWSIAMStore" do
|
157
|
+
optional :id, :string, 1
|
158
|
+
optional :name, :string, 2
|
159
|
+
optional :namespace, :string, 5
|
160
|
+
optional :server_address, :string, 3
|
161
|
+
optional :tags, :message, 8, "v1.Tags"
|
162
|
+
end
|
147
163
|
add_message "v1.VaultAppRoleStore" do
|
148
164
|
optional :id, :string, 1
|
149
165
|
optional :name, :string, 2
|
@@ -251,6 +267,8 @@ module V1
|
|
251
267
|
GCPCertX509Store = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GCPCertX509Store").msgclass
|
252
268
|
KeyfactorSSHStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KeyfactorSSHStore").msgclass
|
253
269
|
KeyfactorX509Store = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KeyfactorX509Store").msgclass
|
270
|
+
VaultAWSEC2Store = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultAWSEC2Store").msgclass
|
271
|
+
VaultAWSIAMStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultAWSIAMStore").msgclass
|
254
272
|
VaultAppRoleStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultAppRoleStore").msgclass
|
255
273
|
VaultAppRoleCertSSHStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultAppRoleCertSSHStore").msgclass
|
256
274
|
VaultAppRoleCertX509Store = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultAppRoleCertX509Store").msgclass
|
data/lib/models/porcelain.rb
CHANGED
@@ -10747,6 +10747,78 @@ module SDM
|
|
10747
10747
|
end
|
10748
10748
|
end
|
10749
10749
|
|
10750
|
+
# VaultAWSEC2Store is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
10751
|
+
class VaultAWSEC2Store
|
10752
|
+
# Unique identifier of the SecretStore.
|
10753
|
+
attr_accessor :id
|
10754
|
+
# Unique human-readable name of the SecretStore.
|
10755
|
+
attr_accessor :name
|
10756
|
+
# The namespace to make requests within
|
10757
|
+
attr_accessor :namespace
|
10758
|
+
# The URL of the Vault to target
|
10759
|
+
attr_accessor :server_address
|
10760
|
+
# Tags is a map of key, value pairs.
|
10761
|
+
attr_accessor :tags
|
10762
|
+
|
10763
|
+
def initialize(
|
10764
|
+
id: nil,
|
10765
|
+
name: nil,
|
10766
|
+
namespace: nil,
|
10767
|
+
server_address: nil,
|
10768
|
+
tags: nil
|
10769
|
+
)
|
10770
|
+
@id = id == nil ? "" : id
|
10771
|
+
@name = name == nil ? "" : name
|
10772
|
+
@namespace = namespace == nil ? "" : namespace
|
10773
|
+
@server_address = server_address == nil ? "" : server_address
|
10774
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
10775
|
+
end
|
10776
|
+
|
10777
|
+
def to_json(options = {})
|
10778
|
+
hash = {}
|
10779
|
+
self.instance_variables.each do |var|
|
10780
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
10781
|
+
end
|
10782
|
+
hash.to_json
|
10783
|
+
end
|
10784
|
+
end
|
10785
|
+
|
10786
|
+
# VaultAWSIAMStore is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
10787
|
+
class VaultAWSIAMStore
|
10788
|
+
# Unique identifier of the SecretStore.
|
10789
|
+
attr_accessor :id
|
10790
|
+
# Unique human-readable name of the SecretStore.
|
10791
|
+
attr_accessor :name
|
10792
|
+
# The namespace to make requests within
|
10793
|
+
attr_accessor :namespace
|
10794
|
+
# The URL of the Vault to target
|
10795
|
+
attr_accessor :server_address
|
10796
|
+
# Tags is a map of key, value pairs.
|
10797
|
+
attr_accessor :tags
|
10798
|
+
|
10799
|
+
def initialize(
|
10800
|
+
id: nil,
|
10801
|
+
name: nil,
|
10802
|
+
namespace: nil,
|
10803
|
+
server_address: nil,
|
10804
|
+
tags: nil
|
10805
|
+
)
|
10806
|
+
@id = id == nil ? "" : id
|
10807
|
+
@name = name == nil ? "" : name
|
10808
|
+
@namespace = namespace == nil ? "" : namespace
|
10809
|
+
@server_address = server_address == nil ? "" : server_address
|
10810
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
10811
|
+
end
|
10812
|
+
|
10813
|
+
def to_json(options = {})
|
10814
|
+
hash = {}
|
10815
|
+
self.instance_variables.each do |var|
|
10816
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
10817
|
+
end
|
10818
|
+
hash.to_json
|
10819
|
+
end
|
10820
|
+
end
|
10821
|
+
|
10750
10822
|
class VaultAppRoleCertSSHStore
|
10751
10823
|
# Unique identifier of the SecretStore.
|
10752
10824
|
attr_accessor :id
|
data/lib/strongdm.rb
CHANGED
@@ -29,7 +29,7 @@ module SDM #:nodoc:
|
|
29
29
|
DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms
|
30
30
|
DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds
|
31
31
|
API_VERSION = "2024-03-28"
|
32
|
-
USER_AGENT = "strongdm-sdk-ruby/8.
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/8.4.0"
|
33
33
|
private_constant :DEFAULT_MAX_RETRIES, :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :API_VERSION, :USER_AGENT
|
34
34
|
|
35
35
|
# Creates a new strongDM API client.
|
data/lib/svc.rb
CHANGED
@@ -4513,6 +4513,8 @@ module SDM #:nodoc:
|
|
4513
4513
|
# {VaultAppRoleStore}
|
4514
4514
|
# {VaultAppRoleCertSSHStore}
|
4515
4515
|
# {VaultAppRoleCertX509Store}
|
4516
|
+
# {VaultAWSEC2Store}
|
4517
|
+
# {VaultAWSIAMStore}
|
4516
4518
|
# {VaultTLSStore}
|
4517
4519
|
# {VaultTLSCertSSHStore}
|
4518
4520
|
# {VaultTLSCertX509Store}
|
data/lib/version
CHANGED
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strongdm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.
|
4
|
+
version: 8.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- strongDM Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -81,8 +81,8 @@ files:
|
|
81
81
|
- "./.git/logs/HEAD"
|
82
82
|
- "./.git/logs/refs/heads/master"
|
83
83
|
- "./.git/logs/refs/remotes/origin/HEAD"
|
84
|
-
- "./.git/objects/pack/pack-
|
85
|
-
- "./.git/objects/pack/pack-
|
84
|
+
- "./.git/objects/pack/pack-4ee1251da9ac4f762232f7c2302709c4007ce5db.idx"
|
85
|
+
- "./.git/objects/pack/pack-4ee1251da9ac4f762232f7c2302709c4007ce5db.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|