strongdm 3.0.0 → 3.2.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/.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-dd537cf5e4da62668498c8ce557b8afbf676fbc5.idx → pack-8b67e8097bb7684e74a0f504743d873d946d00c1.idx} +0 -0
- data/.git/objects/pack/{pack-dd537cf5e4da62668498c8ce557b8afbf676fbc5.pack → pack-8b67e8097bb7684e74a0f504743d873d946d00c1.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +41 -0
- data/lib/grpc/options_pb.rb +1 -0
- data/lib/grpc/plumbing.rb +283 -1
- data/lib/grpc/secret_store_types_pb.rb +25 -0
- data/lib/models/porcelain.rb +266 -0
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +5 -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: c684a50aea783e2102cf0c08d526a57b1e34be55d014ae54a6147d5b7619018f
|
|
4
|
+
data.tar.gz: 7297ec78802cec4ebda8f4b04397a76a192a6d066ccc6785e6c4a4c4d8c53b95
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a8e6cf04e80c87d5ea78d203d0c3bc97cf687d2920cc58b5a13d412dbb0f7833ec98ad2cf41485d646eb33c0cc2afbbec6962ceb97f305a002c436bf5f5ed2d9
|
|
7
|
+
data.tar.gz: 0be36e6b99b91202e557dcc619c2e6a98d00fd644a840f3786a0c468766aba66b62e82eddad51c5c83d976ab09bf9b2934a877c6be30b4c71ae6d505b6d6868a
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0fbd2ab317197f8aff986524b40fb96d7aa05547
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 0fbd2ab317197f8aff986524b40fb96d7aa05547 sdmrelease <support@strongdm.com> 1660767890 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
0fbd2ab317197f8aff986524b40fb96d7aa05547 0fbd2ab317197f8aff986524b40fb96d7aa05547 sdmrelease <support@strongdm.com> 1660767890 +0000 checkout: moving from master to master
|
|
3
|
+
0fbd2ab317197f8aff986524b40fb96d7aa05547 40d185ce8d4f4375411706886f6fbbaa5493bef6 sdmrelease <support@strongdm.com> 1660767890 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 0fbd2ab317197f8aff986524b40fb96d7aa05547 sdmrelease <support@strongdm.com> 1660767890 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
0fbd2ab317197f8aff986524b40fb96d7aa05547 40d185ce8d4f4375411706886f6fbbaa5493bef6 sdmrelease <support@strongdm.com> 1660767890 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 0fbd2ab317197f8aff986524b40fb96d7aa05547 sdmrelease <support@strongdm.com> 1660767890 +0000 clone: from git@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
|
+
40d185ce8d4f4375411706886f6fbbaa5493bef6 refs/remotes/origin/development
|
|
3
|
+
0fbd2ab317197f8aff986524b40fb96d7aa05547 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
|
|
@@ -41,3 +41,4 @@ ee164dbda02c66cd898f0357884c58f822b486dc refs/tags/v2.6.0
|
|
|
41
41
|
2642d78fb0ddb1c7d7e24e63cd4915894605cb6f refs/tags/v2.6.1
|
|
42
42
|
be1460e0ed022801549a84a12897334b7064f1a7 refs/tags/v2.6.3
|
|
43
43
|
ebc33c297839fbbcfa70f855e599630c0a6c880c refs/tags/v2.6.4
|
|
44
|
+
0fbd2ab317197f8aff986524b40fb96d7aa05547 refs/tags/v3.0.0
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
40d185ce8d4f4375411706886f6fbbaa5493bef6
|
data/lib/grpc/drivers_pb.rb
CHANGED
|
@@ -29,6 +29,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
29
29
|
optional :aks_service_account_user_impersonation, :message, 810, "v1.AKSServiceAccountUserImpersonation"
|
|
30
30
|
optional :aks_user_impersonation, :message, 814, "v1.AKSUserImpersonation"
|
|
31
31
|
optional :aws, :message, 2300, "v1.AWS"
|
|
32
|
+
optional :aws_console, :message, 3000, "v1.AWSConsole"
|
|
33
|
+
optional :aws_console_static_key_pair, :message, 3001, "v1.AWSConsoleStaticKeyPair"
|
|
32
34
|
optional :amazon_eks, :message, 802, "v1.AmazonEKS"
|
|
33
35
|
optional :amazon_eks_user_impersonation, :message, 818, "v1.AmazonEKSUserImpersonation"
|
|
34
36
|
optional :amazon_es, :message, 600, "v1.AmazonES"
|
|
@@ -189,6 +191,43 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
189
191
|
optional :role_external_id, :string, 6
|
|
190
192
|
optional :secret_access_key, :string, 2
|
|
191
193
|
end
|
|
194
|
+
add_message "v1.AWSConsole" do
|
|
195
|
+
optional :id, :string, 32768
|
|
196
|
+
optional :name, :string, 32769
|
|
197
|
+
optional :healthy, :bool, 32770
|
|
198
|
+
optional :tags, :message, 32771, "v1.Tags"
|
|
199
|
+
optional :secret_store_id, :string, 32772
|
|
200
|
+
optional :egress_filter, :string, 32773
|
|
201
|
+
optional :bind_interface, :string, 32774
|
|
202
|
+
optional :enable_env_variables, :bool, 1
|
|
203
|
+
optional :port_override, :int32, 7
|
|
204
|
+
optional :region, :string, 2
|
|
205
|
+
optional :remote_identity_group_id, :string, 8
|
|
206
|
+
optional :remote_identity_healthcheck_username, :string, 9
|
|
207
|
+
optional :role_arn, :string, 3
|
|
208
|
+
optional :role_external_id, :string, 4
|
|
209
|
+
optional :session_expiry, :string, 5
|
|
210
|
+
optional :subdomain, :string, 6
|
|
211
|
+
end
|
|
212
|
+
add_message "v1.AWSConsoleStaticKeyPair" do
|
|
213
|
+
optional :id, :string, 32768
|
|
214
|
+
optional :name, :string, 32769
|
|
215
|
+
optional :healthy, :bool, 32770
|
|
216
|
+
optional :tags, :message, 32771, "v1.Tags"
|
|
217
|
+
optional :secret_store_id, :string, 32772
|
|
218
|
+
optional :egress_filter, :string, 32773
|
|
219
|
+
optional :bind_interface, :string, 32774
|
|
220
|
+
optional :access_key, :string, 1
|
|
221
|
+
optional :port_override, :int32, 8
|
|
222
|
+
optional :region, :string, 3
|
|
223
|
+
optional :remote_identity_group_id, :string, 9
|
|
224
|
+
optional :remote_identity_healthcheck_username, :string, 10
|
|
225
|
+
optional :role_arn, :string, 4
|
|
226
|
+
optional :role_external_id, :string, 5
|
|
227
|
+
optional :secret_access_key, :string, 2
|
|
228
|
+
optional :session_expiry, :string, 6
|
|
229
|
+
optional :subdomain, :string, 7
|
|
230
|
+
end
|
|
192
231
|
add_message "v1.AmazonEKS" do
|
|
193
232
|
optional :id, :string, 32768
|
|
194
233
|
optional :name, :string, 32769
|
|
@@ -1199,6 +1238,8 @@ module V1
|
|
|
1199
1238
|
AKSServiceAccountUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AKSServiceAccountUserImpersonation").msgclass
|
|
1200
1239
|
AKSUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AKSUserImpersonation").msgclass
|
|
1201
1240
|
AWS = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWS").msgclass
|
|
1241
|
+
AWSConsole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSConsole").msgclass
|
|
1242
|
+
AWSConsoleStaticKeyPair = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSConsoleStaticKeyPair").msgclass
|
|
1202
1243
|
AmazonEKS = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonEKS").msgclass
|
|
1203
1244
|
AmazonEKSUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonEKSUserImpersonation").msgclass
|
|
1204
1245
|
AmazonES = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonES").msgclass
|
data/lib/grpc/options_pb.rb
CHANGED
|
@@ -65,6 +65,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
65
65
|
map :comment_override, :string, :string, 1941331
|
|
66
66
|
map :deprecated_override, :string, :bool, 1941312
|
|
67
67
|
optional :terraform_elem_type, :string, 1941311
|
|
68
|
+
optional :unstable, :bool, 1941313
|
|
68
69
|
end
|
|
69
70
|
add_message "v1.TerraformDocs" do
|
|
70
71
|
optional :resource_example_path, :string, 1941300
|
data/lib/grpc/plumbing.rb
CHANGED
|
@@ -20,9 +20,9 @@ require "google/protobuf/well_known_types"
|
|
|
20
20
|
require "json"
|
|
21
21
|
require_relative "./options_pb"
|
|
22
22
|
require_relative "./spec_pb"
|
|
23
|
-
require_relative "./tags_pb"
|
|
24
23
|
require_relative "./account_attachments_pb"
|
|
25
24
|
require_relative "./account_grants_pb"
|
|
25
|
+
require_relative "./tags_pb"
|
|
26
26
|
require_relative "./accounts_pb"
|
|
27
27
|
require_relative "./control_panel_pb"
|
|
28
28
|
require_relative "./drivers_pb"
|
|
@@ -464,6 +464,136 @@ module SDM
|
|
|
464
464
|
end
|
|
465
465
|
items
|
|
466
466
|
end
|
|
467
|
+
def self.convert_aws_console_to_porcelain(plumbing)
|
|
468
|
+
if plumbing == nil
|
|
469
|
+
return nil
|
|
470
|
+
end
|
|
471
|
+
porcelain = AWSConsole.new()
|
|
472
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
|
473
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
|
474
|
+
porcelain.enable_env_variables = (plumbing.enable_env_variables)
|
|
475
|
+
porcelain.healthy = (plumbing.healthy)
|
|
476
|
+
porcelain.id = (plumbing.id)
|
|
477
|
+
porcelain.name = (plumbing.name)
|
|
478
|
+
porcelain.port_override = (plumbing.port_override)
|
|
479
|
+
porcelain.region = (plumbing.region)
|
|
480
|
+
porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
|
|
481
|
+
porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
|
|
482
|
+
porcelain.role_arn = (plumbing.role_arn)
|
|
483
|
+
porcelain.role_external_id = (plumbing.role_external_id)
|
|
484
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
485
|
+
porcelain.session_expiry = (plumbing.session_expiry)
|
|
486
|
+
porcelain.subdomain = (plumbing.subdomain)
|
|
487
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
488
|
+
porcelain
|
|
489
|
+
end
|
|
490
|
+
|
|
491
|
+
def self.convert_aws_console_to_plumbing(porcelain)
|
|
492
|
+
if porcelain == nil
|
|
493
|
+
return nil
|
|
494
|
+
end
|
|
495
|
+
plumbing = V1::AWSConsole.new()
|
|
496
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
|
497
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
|
498
|
+
plumbing.enable_env_variables = (porcelain.enable_env_variables)
|
|
499
|
+
plumbing.healthy = (porcelain.healthy)
|
|
500
|
+
plumbing.id = (porcelain.id)
|
|
501
|
+
plumbing.name = (porcelain.name)
|
|
502
|
+
plumbing.port_override = (porcelain.port_override)
|
|
503
|
+
plumbing.region = (porcelain.region)
|
|
504
|
+
plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
|
|
505
|
+
plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
|
|
506
|
+
plumbing.role_arn = (porcelain.role_arn)
|
|
507
|
+
plumbing.role_external_id = (porcelain.role_external_id)
|
|
508
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
509
|
+
plumbing.session_expiry = (porcelain.session_expiry)
|
|
510
|
+
plumbing.subdomain = (porcelain.subdomain)
|
|
511
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
512
|
+
plumbing
|
|
513
|
+
end
|
|
514
|
+
def self.convert_repeated_aws_console_to_plumbing(porcelains)
|
|
515
|
+
items = Array.new
|
|
516
|
+
porcelains.each do |porcelain|
|
|
517
|
+
plumbing = convert_aws_console_to_plumbing(porcelain)
|
|
518
|
+
items.append(plumbing)
|
|
519
|
+
end
|
|
520
|
+
items
|
|
521
|
+
end
|
|
522
|
+
|
|
523
|
+
def self.convert_repeated_aws_console_to_porcelain(plumbings)
|
|
524
|
+
items = Array.new
|
|
525
|
+
plumbings.each do |plumbing|
|
|
526
|
+
porcelain = convert_aws_console_to_porcelain(plumbing)
|
|
527
|
+
items.append(porcelain)
|
|
528
|
+
end
|
|
529
|
+
items
|
|
530
|
+
end
|
|
531
|
+
def self.convert_aws_console_static_key_pair_to_porcelain(plumbing)
|
|
532
|
+
if plumbing == nil
|
|
533
|
+
return nil
|
|
534
|
+
end
|
|
535
|
+
porcelain = AWSConsoleStaticKeyPair.new()
|
|
536
|
+
porcelain.access_key = (plumbing.access_key)
|
|
537
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
|
538
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
|
539
|
+
porcelain.healthy = (plumbing.healthy)
|
|
540
|
+
porcelain.id = (plumbing.id)
|
|
541
|
+
porcelain.name = (plumbing.name)
|
|
542
|
+
porcelain.port_override = (plumbing.port_override)
|
|
543
|
+
porcelain.region = (plumbing.region)
|
|
544
|
+
porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
|
|
545
|
+
porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
|
|
546
|
+
porcelain.role_arn = (plumbing.role_arn)
|
|
547
|
+
porcelain.role_external_id = (plumbing.role_external_id)
|
|
548
|
+
porcelain.secret_access_key = (plumbing.secret_access_key)
|
|
549
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
550
|
+
porcelain.session_expiry = (plumbing.session_expiry)
|
|
551
|
+
porcelain.subdomain = (plumbing.subdomain)
|
|
552
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
553
|
+
porcelain
|
|
554
|
+
end
|
|
555
|
+
|
|
556
|
+
def self.convert_aws_console_static_key_pair_to_plumbing(porcelain)
|
|
557
|
+
if porcelain == nil
|
|
558
|
+
return nil
|
|
559
|
+
end
|
|
560
|
+
plumbing = V1::AWSConsoleStaticKeyPair.new()
|
|
561
|
+
plumbing.access_key = (porcelain.access_key)
|
|
562
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
|
563
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
|
564
|
+
plumbing.healthy = (porcelain.healthy)
|
|
565
|
+
plumbing.id = (porcelain.id)
|
|
566
|
+
plumbing.name = (porcelain.name)
|
|
567
|
+
plumbing.port_override = (porcelain.port_override)
|
|
568
|
+
plumbing.region = (porcelain.region)
|
|
569
|
+
plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
|
|
570
|
+
plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
|
|
571
|
+
plumbing.role_arn = (porcelain.role_arn)
|
|
572
|
+
plumbing.role_external_id = (porcelain.role_external_id)
|
|
573
|
+
plumbing.secret_access_key = (porcelain.secret_access_key)
|
|
574
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
575
|
+
plumbing.session_expiry = (porcelain.session_expiry)
|
|
576
|
+
plumbing.subdomain = (porcelain.subdomain)
|
|
577
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
578
|
+
plumbing
|
|
579
|
+
end
|
|
580
|
+
def self.convert_repeated_aws_console_static_key_pair_to_plumbing(porcelains)
|
|
581
|
+
items = Array.new
|
|
582
|
+
porcelains.each do |porcelain|
|
|
583
|
+
plumbing = convert_aws_console_static_key_pair_to_plumbing(porcelain)
|
|
584
|
+
items.append(plumbing)
|
|
585
|
+
end
|
|
586
|
+
items
|
|
587
|
+
end
|
|
588
|
+
|
|
589
|
+
def self.convert_repeated_aws_console_static_key_pair_to_porcelain(plumbings)
|
|
590
|
+
items = Array.new
|
|
591
|
+
plumbings.each do |plumbing|
|
|
592
|
+
porcelain = convert_aws_console_static_key_pair_to_porcelain(plumbing)
|
|
593
|
+
items.append(porcelain)
|
|
594
|
+
end
|
|
595
|
+
items
|
|
596
|
+
end
|
|
467
597
|
def self.convert_aws_store_to_porcelain(plumbing)
|
|
468
598
|
if plumbing == nil
|
|
469
599
|
return nil
|
|
@@ -2034,6 +2164,86 @@ module SDM
|
|
|
2034
2164
|
end
|
|
2035
2165
|
items
|
|
2036
2166
|
end
|
|
2167
|
+
def self.convert_cyberark_conjur_store_to_porcelain(plumbing)
|
|
2168
|
+
if plumbing == nil
|
|
2169
|
+
return nil
|
|
2170
|
+
end
|
|
2171
|
+
porcelain = CyberarkConjurStore.new()
|
|
2172
|
+
porcelain.appurl = (plumbing.appURL)
|
|
2173
|
+
porcelain.id = (plumbing.id)
|
|
2174
|
+
porcelain.name = (plumbing.name)
|
|
2175
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
2176
|
+
porcelain
|
|
2177
|
+
end
|
|
2178
|
+
|
|
2179
|
+
def self.convert_cyberark_conjur_store_to_plumbing(porcelain)
|
|
2180
|
+
if porcelain == nil
|
|
2181
|
+
return nil
|
|
2182
|
+
end
|
|
2183
|
+
plumbing = V1::CyberarkConjurStore.new()
|
|
2184
|
+
plumbing.appURL = (porcelain.appurl)
|
|
2185
|
+
plumbing.id = (porcelain.id)
|
|
2186
|
+
plumbing.name = (porcelain.name)
|
|
2187
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
2188
|
+
plumbing
|
|
2189
|
+
end
|
|
2190
|
+
def self.convert_repeated_cyberark_conjur_store_to_plumbing(porcelains)
|
|
2191
|
+
items = Array.new
|
|
2192
|
+
porcelains.each do |porcelain|
|
|
2193
|
+
plumbing = convert_cyberark_conjur_store_to_plumbing(porcelain)
|
|
2194
|
+
items.append(plumbing)
|
|
2195
|
+
end
|
|
2196
|
+
items
|
|
2197
|
+
end
|
|
2198
|
+
|
|
2199
|
+
def self.convert_repeated_cyberark_conjur_store_to_porcelain(plumbings)
|
|
2200
|
+
items = Array.new
|
|
2201
|
+
plumbings.each do |plumbing|
|
|
2202
|
+
porcelain = convert_cyberark_conjur_store_to_porcelain(plumbing)
|
|
2203
|
+
items.append(porcelain)
|
|
2204
|
+
end
|
|
2205
|
+
items
|
|
2206
|
+
end
|
|
2207
|
+
def self.convert_cyberark_pam_experimental_store_to_porcelain(plumbing)
|
|
2208
|
+
if plumbing == nil
|
|
2209
|
+
return nil
|
|
2210
|
+
end
|
|
2211
|
+
porcelain = CyberarkPAMExperimentalStore.new()
|
|
2212
|
+
porcelain.appurl = (plumbing.appURL)
|
|
2213
|
+
porcelain.id = (plumbing.id)
|
|
2214
|
+
porcelain.name = (plumbing.name)
|
|
2215
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
2216
|
+
porcelain
|
|
2217
|
+
end
|
|
2218
|
+
|
|
2219
|
+
def self.convert_cyberark_pam_experimental_store_to_plumbing(porcelain)
|
|
2220
|
+
if porcelain == nil
|
|
2221
|
+
return nil
|
|
2222
|
+
end
|
|
2223
|
+
plumbing = V1::CyberarkPAMExperimentalStore.new()
|
|
2224
|
+
plumbing.appURL = (porcelain.appurl)
|
|
2225
|
+
plumbing.id = (porcelain.id)
|
|
2226
|
+
plumbing.name = (porcelain.name)
|
|
2227
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
2228
|
+
plumbing
|
|
2229
|
+
end
|
|
2230
|
+
def self.convert_repeated_cyberark_pam_experimental_store_to_plumbing(porcelains)
|
|
2231
|
+
items = Array.new
|
|
2232
|
+
porcelains.each do |porcelain|
|
|
2233
|
+
plumbing = convert_cyberark_pam_experimental_store_to_plumbing(porcelain)
|
|
2234
|
+
items.append(plumbing)
|
|
2235
|
+
end
|
|
2236
|
+
items
|
|
2237
|
+
end
|
|
2238
|
+
|
|
2239
|
+
def self.convert_repeated_cyberark_pam_experimental_store_to_porcelain(plumbings)
|
|
2240
|
+
items = Array.new
|
|
2241
|
+
plumbings.each do |plumbing|
|
|
2242
|
+
porcelain = convert_cyberark_pam_experimental_store_to_porcelain(plumbing)
|
|
2243
|
+
items.append(porcelain)
|
|
2244
|
+
end
|
|
2245
|
+
items
|
|
2246
|
+
end
|
|
2037
2247
|
def self.convert_db_2_i_to_porcelain(plumbing)
|
|
2038
2248
|
if plumbing == nil
|
|
2039
2249
|
return nil
|
|
@@ -2182,6 +2392,48 @@ module SDM
|
|
|
2182
2392
|
end
|
|
2183
2393
|
items
|
|
2184
2394
|
end
|
|
2395
|
+
def self.convert_delinea_store_to_porcelain(plumbing)
|
|
2396
|
+
if plumbing == nil
|
|
2397
|
+
return nil
|
|
2398
|
+
end
|
|
2399
|
+
porcelain = DelineaStore.new()
|
|
2400
|
+
porcelain.id = (plumbing.id)
|
|
2401
|
+
porcelain.name = (plumbing.name)
|
|
2402
|
+
porcelain.server_url = (plumbing.server_url)
|
|
2403
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
2404
|
+
porcelain.tenant_name = (plumbing.tenant_name)
|
|
2405
|
+
porcelain
|
|
2406
|
+
end
|
|
2407
|
+
|
|
2408
|
+
def self.convert_delinea_store_to_plumbing(porcelain)
|
|
2409
|
+
if porcelain == nil
|
|
2410
|
+
return nil
|
|
2411
|
+
end
|
|
2412
|
+
plumbing = V1::DelineaStore.new()
|
|
2413
|
+
plumbing.id = (porcelain.id)
|
|
2414
|
+
plumbing.name = (porcelain.name)
|
|
2415
|
+
plumbing.server_url = (porcelain.server_url)
|
|
2416
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
2417
|
+
plumbing.tenant_name = (porcelain.tenant_name)
|
|
2418
|
+
plumbing
|
|
2419
|
+
end
|
|
2420
|
+
def self.convert_repeated_delinea_store_to_plumbing(porcelains)
|
|
2421
|
+
items = Array.new
|
|
2422
|
+
porcelains.each do |porcelain|
|
|
2423
|
+
plumbing = convert_delinea_store_to_plumbing(porcelain)
|
|
2424
|
+
items.append(plumbing)
|
|
2425
|
+
end
|
|
2426
|
+
items
|
|
2427
|
+
end
|
|
2428
|
+
|
|
2429
|
+
def self.convert_repeated_delinea_store_to_porcelain(plumbings)
|
|
2430
|
+
items = Array.new
|
|
2431
|
+
plumbings.each do |plumbing|
|
|
2432
|
+
porcelain = convert_delinea_store_to_porcelain(plumbing)
|
|
2433
|
+
items.append(porcelain)
|
|
2434
|
+
end
|
|
2435
|
+
items
|
|
2436
|
+
end
|
|
2185
2437
|
def self.convert_document_db_host_to_porcelain(plumbing)
|
|
2186
2438
|
if plumbing == nil
|
|
2187
2439
|
return nil
|
|
@@ -5170,6 +5422,12 @@ module SDM
|
|
|
5170
5422
|
if porcelain.instance_of? AWS
|
|
5171
5423
|
plumbing.aws = convert_aws_to_plumbing(porcelain)
|
|
5172
5424
|
end
|
|
5425
|
+
if porcelain.instance_of? AWSConsole
|
|
5426
|
+
plumbing.aws_console = convert_aws_console_to_plumbing(porcelain)
|
|
5427
|
+
end
|
|
5428
|
+
if porcelain.instance_of? AWSConsoleStaticKeyPair
|
|
5429
|
+
plumbing.aws_console_static_key_pair = convert_aws_console_static_key_pair_to_plumbing(porcelain)
|
|
5430
|
+
end
|
|
5173
5431
|
if porcelain.instance_of? Azure
|
|
5174
5432
|
plumbing.azure = convert_azure_to_plumbing(porcelain)
|
|
5175
5433
|
end
|
|
@@ -5390,6 +5648,12 @@ module SDM
|
|
|
5390
5648
|
if plumbing.aws != nil
|
|
5391
5649
|
return convert_aws_to_porcelain(plumbing.aws)
|
|
5392
5650
|
end
|
|
5651
|
+
if plumbing.aws_console != nil
|
|
5652
|
+
return convert_aws_console_to_porcelain(plumbing.aws_console)
|
|
5653
|
+
end
|
|
5654
|
+
if plumbing.aws_console_static_key_pair != nil
|
|
5655
|
+
return convert_aws_console_static_key_pair_to_porcelain(plumbing.aws_console_static_key_pair)
|
|
5656
|
+
end
|
|
5393
5657
|
if plumbing.azure != nil
|
|
5394
5658
|
return convert_azure_to_porcelain(plumbing.azure)
|
|
5395
5659
|
end
|
|
@@ -6181,6 +6445,15 @@ module SDM
|
|
|
6181
6445
|
if porcelain.instance_of? AzureStore
|
|
6182
6446
|
plumbing.azure = convert_azure_store_to_plumbing(porcelain)
|
|
6183
6447
|
end
|
|
6448
|
+
if porcelain.instance_of? CyberarkConjurStore
|
|
6449
|
+
plumbing.cyberark_conjur = convert_cyberark_conjur_store_to_plumbing(porcelain)
|
|
6450
|
+
end
|
|
6451
|
+
if porcelain.instance_of? CyberarkPAMExperimentalStore
|
|
6452
|
+
plumbing.cyberark_pam_experimental = convert_cyberark_pam_experimental_store_to_plumbing(porcelain)
|
|
6453
|
+
end
|
|
6454
|
+
if porcelain.instance_of? DelineaStore
|
|
6455
|
+
plumbing.delinea = convert_delinea_store_to_plumbing(porcelain)
|
|
6456
|
+
end
|
|
6184
6457
|
if porcelain.instance_of? GCPStore
|
|
6185
6458
|
plumbing.gcp = convert_gcp_store_to_plumbing(porcelain)
|
|
6186
6459
|
end
|
|
@@ -6206,6 +6479,15 @@ module SDM
|
|
|
6206
6479
|
if plumbing.azure != nil
|
|
6207
6480
|
return convert_azure_store_to_porcelain(plumbing.azure)
|
|
6208
6481
|
end
|
|
6482
|
+
if plumbing.cyberark_conjur != nil
|
|
6483
|
+
return convert_cyberark_conjur_store_to_porcelain(plumbing.cyberark_conjur)
|
|
6484
|
+
end
|
|
6485
|
+
if plumbing.cyberark_pam_experimental != nil
|
|
6486
|
+
return convert_cyberark_pam_experimental_store_to_porcelain(plumbing.cyberark_pam_experimental)
|
|
6487
|
+
end
|
|
6488
|
+
if plumbing.delinea != nil
|
|
6489
|
+
return convert_delinea_store_to_porcelain(plumbing.delinea)
|
|
6490
|
+
end
|
|
6209
6491
|
if plumbing.gcp != nil
|
|
6210
6492
|
return convert_gcp_store_to_porcelain(plumbing.gcp)
|
|
6211
6493
|
end
|
|
@@ -25,6 +25,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
25
25
|
oneof :secret_store do
|
|
26
26
|
optional :aws, :message, 3, "v1.AWSStore"
|
|
27
27
|
optional :azure, :message, 101, "v1.AzureStore"
|
|
28
|
+
optional :cyberark_conjur, :message, 301, "v1.CyberarkConjurStore"
|
|
29
|
+
optional :cyberark_pam_experimental, :message, 302, "v1.CyberarkPAMExperimentalStore"
|
|
30
|
+
optional :delinea, :message, 2900, "v1.DelineaStore"
|
|
28
31
|
optional :gcp, :message, 201, "v1.GCPStore"
|
|
29
32
|
optional :vault_app_role, :message, 4, "v1.VaultAppRoleStore"
|
|
30
33
|
optional :vault_tls, :message, 1, "v1.VaultTLSStore"
|
|
@@ -43,6 +46,25 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
43
46
|
optional :vault_uri, :string, 3
|
|
44
47
|
optional :tags, :message, 32771, "v1.Tags"
|
|
45
48
|
end
|
|
49
|
+
add_message "v1.CyberarkConjurStore" do
|
|
50
|
+
optional :id, :string, 1
|
|
51
|
+
optional :name, :string, 2
|
|
52
|
+
optional :appURL, :string, 3
|
|
53
|
+
optional :tags, :message, 32771, "v1.Tags"
|
|
54
|
+
end
|
|
55
|
+
add_message "v1.CyberarkPAMExperimentalStore" do
|
|
56
|
+
optional :id, :string, 1
|
|
57
|
+
optional :name, :string, 2
|
|
58
|
+
optional :appURL, :string, 3
|
|
59
|
+
optional :tags, :message, 32771, "v1.Tags"
|
|
60
|
+
end
|
|
61
|
+
add_message "v1.DelineaStore" do
|
|
62
|
+
optional :id, :string, 1
|
|
63
|
+
optional :name, :string, 2
|
|
64
|
+
optional :server_url, :string, 3
|
|
65
|
+
optional :tenant_name, :string, 4
|
|
66
|
+
optional :tags, :message, 32771, "v1.Tags"
|
|
67
|
+
end
|
|
46
68
|
add_message "v1.GCPStore" do
|
|
47
69
|
optional :id, :string, 1
|
|
48
70
|
optional :name, :string, 2
|
|
@@ -80,6 +102,9 @@ module V1
|
|
|
80
102
|
SecretStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStore").msgclass
|
|
81
103
|
AWSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSStore").msgclass
|
|
82
104
|
AzureStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureStore").msgclass
|
|
105
|
+
CyberarkConjurStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CyberarkConjurStore").msgclass
|
|
106
|
+
CyberarkPAMExperimentalStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CyberarkPAMExperimentalStore").msgclass
|
|
107
|
+
DelineaStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DelineaStore").msgclass
|
|
83
108
|
GCPStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GCPStore").msgclass
|
|
84
109
|
VaultAppRoleStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultAppRoleStore").msgclass
|
|
85
110
|
VaultTLSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultTLSStore").msgclass
|
data/lib/models/porcelain.rb
CHANGED
|
@@ -429,6 +429,169 @@ module SDM
|
|
|
429
429
|
end
|
|
430
430
|
end
|
|
431
431
|
|
|
432
|
+
# AWSConsole is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
433
|
+
class AWSConsole
|
|
434
|
+
# Bind interface
|
|
435
|
+
attr_accessor :bind_interface
|
|
436
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
|
437
|
+
attr_accessor :egress_filter
|
|
438
|
+
|
|
439
|
+
attr_accessor :enable_env_variables
|
|
440
|
+
# True if the datasource is reachable and the credentials are valid.
|
|
441
|
+
attr_accessor :healthy
|
|
442
|
+
# Unique identifier of the Resource.
|
|
443
|
+
attr_accessor :id
|
|
444
|
+
# Unique human-readable name of the Resource.
|
|
445
|
+
attr_accessor :name
|
|
446
|
+
|
|
447
|
+
attr_accessor :port_override
|
|
448
|
+
|
|
449
|
+
attr_accessor :region
|
|
450
|
+
|
|
451
|
+
attr_accessor :remote_identity_group_id
|
|
452
|
+
|
|
453
|
+
attr_accessor :remote_identity_healthcheck_username
|
|
454
|
+
|
|
455
|
+
attr_accessor :role_arn
|
|
456
|
+
|
|
457
|
+
attr_accessor :role_external_id
|
|
458
|
+
# ID of the secret store containing credentials for this resource, if any.
|
|
459
|
+
attr_accessor :secret_store_id
|
|
460
|
+
|
|
461
|
+
attr_accessor :session_expiry
|
|
462
|
+
|
|
463
|
+
attr_accessor :subdomain
|
|
464
|
+
# Tags is a map of key, value pairs.
|
|
465
|
+
attr_accessor :tags
|
|
466
|
+
|
|
467
|
+
def initialize(
|
|
468
|
+
bind_interface: nil,
|
|
469
|
+
egress_filter: nil,
|
|
470
|
+
enable_env_variables: nil,
|
|
471
|
+
healthy: nil,
|
|
472
|
+
id: nil,
|
|
473
|
+
name: nil,
|
|
474
|
+
port_override: nil,
|
|
475
|
+
region: nil,
|
|
476
|
+
remote_identity_group_id: nil,
|
|
477
|
+
remote_identity_healthcheck_username: nil,
|
|
478
|
+
role_arn: nil,
|
|
479
|
+
role_external_id: nil,
|
|
480
|
+
secret_store_id: nil,
|
|
481
|
+
session_expiry: nil,
|
|
482
|
+
subdomain: nil,
|
|
483
|
+
tags: nil
|
|
484
|
+
)
|
|
485
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
486
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
487
|
+
@enable_env_variables = enable_env_variables == nil ? false : enable_env_variables
|
|
488
|
+
@healthy = healthy == nil ? false : healthy
|
|
489
|
+
@id = id == nil ? "" : id
|
|
490
|
+
@name = name == nil ? "" : name
|
|
491
|
+
@port_override = port_override == nil ? 0 : port_override
|
|
492
|
+
@region = region == nil ? "" : region
|
|
493
|
+
@remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
|
|
494
|
+
@remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
|
|
495
|
+
@role_arn = role_arn == nil ? "" : role_arn
|
|
496
|
+
@role_external_id = role_external_id == nil ? "" : role_external_id
|
|
497
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
498
|
+
@session_expiry = session_expiry == nil ? "" : session_expiry
|
|
499
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
|
500
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
501
|
+
end
|
|
502
|
+
|
|
503
|
+
def to_json(options = {})
|
|
504
|
+
hash = {}
|
|
505
|
+
self.instance_variables.each do |var|
|
|
506
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
507
|
+
end
|
|
508
|
+
hash.to_json
|
|
509
|
+
end
|
|
510
|
+
end
|
|
511
|
+
|
|
512
|
+
# AWSConsoleStaticKeyPair is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
513
|
+
class AWSConsoleStaticKeyPair
|
|
514
|
+
attr_accessor :access_key
|
|
515
|
+
# Bind interface
|
|
516
|
+
attr_accessor :bind_interface
|
|
517
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
|
518
|
+
attr_accessor :egress_filter
|
|
519
|
+
# True if the datasource is reachable and the credentials are valid.
|
|
520
|
+
attr_accessor :healthy
|
|
521
|
+
# Unique identifier of the Resource.
|
|
522
|
+
attr_accessor :id
|
|
523
|
+
# Unique human-readable name of the Resource.
|
|
524
|
+
attr_accessor :name
|
|
525
|
+
|
|
526
|
+
attr_accessor :port_override
|
|
527
|
+
|
|
528
|
+
attr_accessor :region
|
|
529
|
+
|
|
530
|
+
attr_accessor :remote_identity_group_id
|
|
531
|
+
|
|
532
|
+
attr_accessor :remote_identity_healthcheck_username
|
|
533
|
+
|
|
534
|
+
attr_accessor :role_arn
|
|
535
|
+
|
|
536
|
+
attr_accessor :role_external_id
|
|
537
|
+
|
|
538
|
+
attr_accessor :secret_access_key
|
|
539
|
+
# ID of the secret store containing credentials for this resource, if any.
|
|
540
|
+
attr_accessor :secret_store_id
|
|
541
|
+
|
|
542
|
+
attr_accessor :session_expiry
|
|
543
|
+
|
|
544
|
+
attr_accessor :subdomain
|
|
545
|
+
# Tags is a map of key, value pairs.
|
|
546
|
+
attr_accessor :tags
|
|
547
|
+
|
|
548
|
+
def initialize(
|
|
549
|
+
access_key: nil,
|
|
550
|
+
bind_interface: nil,
|
|
551
|
+
egress_filter: nil,
|
|
552
|
+
healthy: nil,
|
|
553
|
+
id: nil,
|
|
554
|
+
name: nil,
|
|
555
|
+
port_override: nil,
|
|
556
|
+
region: nil,
|
|
557
|
+
remote_identity_group_id: nil,
|
|
558
|
+
remote_identity_healthcheck_username: nil,
|
|
559
|
+
role_arn: nil,
|
|
560
|
+
role_external_id: nil,
|
|
561
|
+
secret_access_key: nil,
|
|
562
|
+
secret_store_id: nil,
|
|
563
|
+
session_expiry: nil,
|
|
564
|
+
subdomain: nil,
|
|
565
|
+
tags: nil
|
|
566
|
+
)
|
|
567
|
+
@access_key = access_key == nil ? "" : access_key
|
|
568
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
569
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
570
|
+
@healthy = healthy == nil ? false : healthy
|
|
571
|
+
@id = id == nil ? "" : id
|
|
572
|
+
@name = name == nil ? "" : name
|
|
573
|
+
@port_override = port_override == nil ? 0 : port_override
|
|
574
|
+
@region = region == nil ? "" : region
|
|
575
|
+
@remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
|
|
576
|
+
@remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
|
|
577
|
+
@role_arn = role_arn == nil ? "" : role_arn
|
|
578
|
+
@role_external_id = role_external_id == nil ? "" : role_external_id
|
|
579
|
+
@secret_access_key = secret_access_key == nil ? "" : secret_access_key
|
|
580
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
581
|
+
@session_expiry = session_expiry == nil ? "" : session_expiry
|
|
582
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
|
583
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
584
|
+
end
|
|
585
|
+
|
|
586
|
+
def to_json(options = {})
|
|
587
|
+
hash = {}
|
|
588
|
+
self.instance_variables.each do |var|
|
|
589
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
590
|
+
end
|
|
591
|
+
hash.to_json
|
|
592
|
+
end
|
|
593
|
+
end
|
|
594
|
+
|
|
432
595
|
class AWSStore
|
|
433
596
|
# Unique identifier of the SecretStore.
|
|
434
597
|
attr_accessor :id
|
|
@@ -1928,6 +2091,68 @@ module SDM
|
|
|
1928
2091
|
end
|
|
1929
2092
|
end
|
|
1930
2093
|
|
|
2094
|
+
# CyberarkConjurStore is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
2095
|
+
class CyberarkConjurStore
|
|
2096
|
+
attr_accessor :appurl
|
|
2097
|
+
# Unique identifier of the SecretStore.
|
|
2098
|
+
attr_accessor :id
|
|
2099
|
+
# Unique human-readable name of the SecretStore.
|
|
2100
|
+
attr_accessor :name
|
|
2101
|
+
# Tags is a map of key, value pairs.
|
|
2102
|
+
attr_accessor :tags
|
|
2103
|
+
|
|
2104
|
+
def initialize(
|
|
2105
|
+
appurl: nil,
|
|
2106
|
+
id: nil,
|
|
2107
|
+
name: nil,
|
|
2108
|
+
tags: nil
|
|
2109
|
+
)
|
|
2110
|
+
@appurl = appurl == nil ? "" : appurl
|
|
2111
|
+
@id = id == nil ? "" : id
|
|
2112
|
+
@name = name == nil ? "" : name
|
|
2113
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
2114
|
+
end
|
|
2115
|
+
|
|
2116
|
+
def to_json(options = {})
|
|
2117
|
+
hash = {}
|
|
2118
|
+
self.instance_variables.each do |var|
|
|
2119
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
2120
|
+
end
|
|
2121
|
+
hash.to_json
|
|
2122
|
+
end
|
|
2123
|
+
end
|
|
2124
|
+
|
|
2125
|
+
# CyberarkPAMExperimentalStore is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
2126
|
+
class CyberarkPAMExperimentalStore
|
|
2127
|
+
attr_accessor :appurl
|
|
2128
|
+
# Unique identifier of the SecretStore.
|
|
2129
|
+
attr_accessor :id
|
|
2130
|
+
# Unique human-readable name of the SecretStore.
|
|
2131
|
+
attr_accessor :name
|
|
2132
|
+
# Tags is a map of key, value pairs.
|
|
2133
|
+
attr_accessor :tags
|
|
2134
|
+
|
|
2135
|
+
def initialize(
|
|
2136
|
+
appurl: nil,
|
|
2137
|
+
id: nil,
|
|
2138
|
+
name: nil,
|
|
2139
|
+
tags: nil
|
|
2140
|
+
)
|
|
2141
|
+
@appurl = appurl == nil ? "" : appurl
|
|
2142
|
+
@id = id == nil ? "" : id
|
|
2143
|
+
@name = name == nil ? "" : name
|
|
2144
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
2145
|
+
end
|
|
2146
|
+
|
|
2147
|
+
def to_json(options = {})
|
|
2148
|
+
hash = {}
|
|
2149
|
+
self.instance_variables.each do |var|
|
|
2150
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
2151
|
+
end
|
|
2152
|
+
hash.to_json
|
|
2153
|
+
end
|
|
2154
|
+
end
|
|
2155
|
+
|
|
1931
2156
|
class DB2I
|
|
1932
2157
|
# Bind interface
|
|
1933
2158
|
attr_accessor :bind_interface
|
|
@@ -2076,6 +2301,42 @@ module SDM
|
|
|
2076
2301
|
end
|
|
2077
2302
|
end
|
|
2078
2303
|
|
|
2304
|
+
# DelineaStore is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
2305
|
+
class DelineaStore
|
|
2306
|
+
# Unique identifier of the SecretStore.
|
|
2307
|
+
attr_accessor :id
|
|
2308
|
+
# Unique human-readable name of the SecretStore.
|
|
2309
|
+
attr_accessor :name
|
|
2310
|
+
|
|
2311
|
+
attr_accessor :server_url
|
|
2312
|
+
# Tags is a map of key, value pairs.
|
|
2313
|
+
attr_accessor :tags
|
|
2314
|
+
|
|
2315
|
+
attr_accessor :tenant_name
|
|
2316
|
+
|
|
2317
|
+
def initialize(
|
|
2318
|
+
id: nil,
|
|
2319
|
+
name: nil,
|
|
2320
|
+
server_url: nil,
|
|
2321
|
+
tags: nil,
|
|
2322
|
+
tenant_name: nil
|
|
2323
|
+
)
|
|
2324
|
+
@id = id == nil ? "" : id
|
|
2325
|
+
@name = name == nil ? "" : name
|
|
2326
|
+
@server_url = server_url == nil ? "" : server_url
|
|
2327
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
2328
|
+
@tenant_name = tenant_name == nil ? "" : tenant_name
|
|
2329
|
+
end
|
|
2330
|
+
|
|
2331
|
+
def to_json(options = {})
|
|
2332
|
+
hash = {}
|
|
2333
|
+
self.instance_variables.each do |var|
|
|
2334
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
2335
|
+
end
|
|
2336
|
+
hash.to_json
|
|
2337
|
+
end
|
|
2338
|
+
end
|
|
2339
|
+
|
|
2079
2340
|
class DocumentDBHost
|
|
2080
2341
|
attr_accessor :auth_database
|
|
2081
2342
|
# Bind interface
|
|
@@ -3366,6 +3627,7 @@ module SDM
|
|
|
3366
3627
|
end
|
|
3367
3628
|
end
|
|
3368
3629
|
|
|
3630
|
+
# MTLSMysql is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
3369
3631
|
class MTLSMysql
|
|
3370
3632
|
# Bind interface
|
|
3371
3633
|
attr_accessor :bind_interface
|
|
@@ -3725,6 +3987,7 @@ module SDM
|
|
|
3725
3987
|
end
|
|
3726
3988
|
end
|
|
3727
3989
|
|
|
3990
|
+
# MongoHost is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
3728
3991
|
class MongoHost
|
|
3729
3992
|
attr_accessor :auth_database
|
|
3730
3993
|
# Bind interface
|
|
@@ -3947,6 +4210,7 @@ module SDM
|
|
|
3947
4210
|
end
|
|
3948
4211
|
end
|
|
3949
4212
|
|
|
4213
|
+
# MongoReplicaSet is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
3950
4214
|
class MongoReplicaSet
|
|
3951
4215
|
attr_accessor :auth_database
|
|
3952
4216
|
# Bind interface
|
|
@@ -4025,6 +4289,7 @@ module SDM
|
|
|
4025
4289
|
end
|
|
4026
4290
|
end
|
|
4027
4291
|
|
|
4292
|
+
# MongoShardedCluster is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
4028
4293
|
class MongoShardedCluster
|
|
4029
4294
|
attr_accessor :auth_database
|
|
4030
4295
|
# Bind interface
|
|
@@ -4401,6 +4666,7 @@ module SDM
|
|
|
4401
4666
|
end
|
|
4402
4667
|
end
|
|
4403
4668
|
|
|
4669
|
+
# Oracle is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
4404
4670
|
class Oracle
|
|
4405
4671
|
# Bind interface
|
|
4406
4672
|
attr_accessor :bind_interface
|
data/lib/strongdm.rb
CHANGED
|
@@ -28,7 +28,7 @@ module SDM #:nodoc:
|
|
|
28
28
|
DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms
|
|
29
29
|
DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds
|
|
30
30
|
API_VERSION = "2021-08-23"
|
|
31
|
-
USER_AGENT = "strongdm-sdk-ruby/3.
|
|
31
|
+
USER_AGENT = "strongdm-sdk-ruby/3.2.0"
|
|
32
32
|
private_constant :DEFAULT_MAX_RETRIES, :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :API_VERSION, :USER_AGENT
|
|
33
33
|
|
|
34
34
|
# Creates a new strongDM API client.
|
data/lib/svc.rb
CHANGED
|
@@ -1042,6 +1042,8 @@ module SDM #:nodoc:
|
|
|
1042
1042
|
# {AuroraMysql}
|
|
1043
1043
|
# {AuroraPostgres}
|
|
1044
1044
|
# {AWS}
|
|
1045
|
+
# {AWSConsole}
|
|
1046
|
+
# {AWSConsoleStaticKeyPair}
|
|
1045
1047
|
# {Azure}
|
|
1046
1048
|
# {AzureCertificate}
|
|
1047
1049
|
# {AzurePostgres}
|
|
@@ -1495,6 +1497,9 @@ module SDM #:nodoc:
|
|
|
1495
1497
|
# See:
|
|
1496
1498
|
# {AWSStore}
|
|
1497
1499
|
# {AzureStore}
|
|
1500
|
+
# {CyberarkConjurStore}
|
|
1501
|
+
# {CyberarkPAMExperimentalStore}
|
|
1502
|
+
# {DelineaStore}
|
|
1498
1503
|
# {GCPStore}
|
|
1499
1504
|
# {VaultAppRoleStore}
|
|
1500
1505
|
# {VaultTLSStore}
|
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: 3.
|
|
4
|
+
version: 3.2.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: 2022-08-
|
|
11
|
+
date: 2022-08-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: grpc
|
|
@@ -79,8 +79,8 @@ files:
|
|
|
79
79
|
- "./.git/logs/HEAD"
|
|
80
80
|
- "./.git/logs/refs/heads/master"
|
|
81
81
|
- "./.git/logs/refs/remotes/origin/HEAD"
|
|
82
|
-
- "./.git/objects/pack/pack-
|
|
83
|
-
- "./.git/objects/pack/pack-
|
|
82
|
+
- "./.git/objects/pack/pack-8b67e8097bb7684e74a0f504743d873d946d00c1.idx"
|
|
83
|
+
- "./.git/objects/pack/pack-8b67e8097bb7684e74a0f504743d873d946d00c1.pack"
|
|
84
84
|
- "./.git/packed-refs"
|
|
85
85
|
- "./.git/refs/heads/master"
|
|
86
86
|
- "./.git/refs/remotes/origin/HEAD"
|