strongdm 3.0.0 → 3.2.2
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-3895e82adc595c5bd75773182a41fee2ab17c2e4.idx} +0 -0
- data/.git/objects/pack/{pack-dd537cf5e4da62668498c8ce557b8afbf676fbc5.pack → pack-3895e82adc595c5bd75773182a41fee2ab17c2e4.pack} +0 -0
- data/.git/packed-refs +5 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +42 -0
- data/lib/grpc/options_pb.rb +1 -0
- data/lib/grpc/plumbing.rb +285 -1
- data/lib/grpc/secret_store_types_pb.rb +25 -0
- data/lib/models/porcelain.rb +270 -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: 3ac63332ee00725b4c4f6b8355591bdce39c7d2be80b8922eeb13c5fe19be444
|
|
4
|
+
data.tar.gz: eb15e7fd4d374de3e0fb6e216384ba45ebec72489f2dd3176e59fd074e1b303b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5ab848cfbc6c68c5f8f51aecf331b7d990dc0cae03a21375793c7b7cb39af5d63f43c02d1a19c522a101393f98175438dd6ef9f06e193264f11917e45bce5274
|
|
7
|
+
data.tar.gz: c8a985fcf5a75674cf14e2d277b1ce9c8f66675f83cae145cbfabadf59979ec61e962248d3ed5be84b9eb40228197f7f30b93a9b32ef733f355c7c4dd69610d1
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
dd6a8a74ad5675831f42e3a820208e96f7361f80
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 dd6a8a74ad5675831f42e3a820208e96f7361f80 sdmrelease <support@strongdm.com> 1662560608 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
dd6a8a74ad5675831f42e3a820208e96f7361f80 dd6a8a74ad5675831f42e3a820208e96f7361f80 sdmrelease <support@strongdm.com> 1662560608 +0000 checkout: moving from master to master
|
|
3
|
+
dd6a8a74ad5675831f42e3a820208e96f7361f80 09ee1a3be370a7b5e21709a7857d0f189f23da8b sdmrelease <support@strongdm.com> 1662560608 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 dd6a8a74ad5675831f42e3a820208e96f7361f80 sdmrelease <support@strongdm.com> 1662560608 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
dd6a8a74ad5675831f42e3a820208e96f7361f80 09ee1a3be370a7b5e21709a7857d0f189f23da8b sdmrelease <support@strongdm.com> 1662560608 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 dd6a8a74ad5675831f42e3a820208e96f7361f80 sdmrelease <support@strongdm.com> 1662560608 +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
|
+
09ee1a3be370a7b5e21709a7857d0f189f23da8b refs/remotes/origin/development
|
|
3
|
+
dd6a8a74ad5675831f42e3a820208e96f7361f80 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,6 @@ 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
|
|
45
|
+
40d185ce8d4f4375411706886f6fbbaa5493bef6 refs/tags/v3.2.0
|
|
46
|
+
dd6a8a74ad5675831f42e3a820208e96f7361f80 refs/tags/v3.2.1
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
09ee1a3be370a7b5e21709a7857d0f189f23da8b
|
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,44 @@ 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, :int32, 10
|
|
204
|
+
optional :port_override, :int32, 7
|
|
205
|
+
optional :region, :string, 2
|
|
206
|
+
optional :remote_identity_group_id, :string, 8
|
|
207
|
+
optional :remote_identity_healthcheck_username, :string, 9
|
|
208
|
+
optional :role_arn, :string, 3
|
|
209
|
+
optional :role_external_id, :string, 4
|
|
210
|
+
optional :session_expiry, :int32, 5
|
|
211
|
+
optional :subdomain, :string, 6
|
|
212
|
+
end
|
|
213
|
+
add_message "v1.AWSConsoleStaticKeyPair" do
|
|
214
|
+
optional :id, :string, 32768
|
|
215
|
+
optional :name, :string, 32769
|
|
216
|
+
optional :healthy, :bool, 32770
|
|
217
|
+
optional :tags, :message, 32771, "v1.Tags"
|
|
218
|
+
optional :secret_store_id, :string, 32772
|
|
219
|
+
optional :egress_filter, :string, 32773
|
|
220
|
+
optional :bind_interface, :string, 32774
|
|
221
|
+
optional :access_key, :string, 1
|
|
222
|
+
optional :port_override, :int32, 8
|
|
223
|
+
optional :region, :string, 3
|
|
224
|
+
optional :remote_identity_group_id, :string, 9
|
|
225
|
+
optional :remote_identity_healthcheck_username, :string, 10
|
|
226
|
+
optional :role_arn, :string, 4
|
|
227
|
+
optional :role_external_id, :string, 5
|
|
228
|
+
optional :secret_access_key, :string, 2
|
|
229
|
+
optional :session_expiry, :int32, 6
|
|
230
|
+
optional :subdomain, :string, 7
|
|
231
|
+
end
|
|
192
232
|
add_message "v1.AmazonEKS" do
|
|
193
233
|
optional :id, :string, 32768
|
|
194
234
|
optional :name, :string, 32769
|
|
@@ -1199,6 +1239,8 @@ module V1
|
|
|
1199
1239
|
AKSServiceAccountUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AKSServiceAccountUserImpersonation").msgclass
|
|
1200
1240
|
AKSUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AKSUserImpersonation").msgclass
|
|
1201
1241
|
AWS = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWS").msgclass
|
|
1242
|
+
AWSConsole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSConsole").msgclass
|
|
1243
|
+
AWSConsoleStaticKeyPair = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSConsoleStaticKeyPair").msgclass
|
|
1202
1244
|
AmazonEKS = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonEKS").msgclass
|
|
1203
1245
|
AmazonEKSUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonEKSUserImpersonation").msgclass
|
|
1204
1246
|
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,138 @@ 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 = (plumbing.port)
|
|
479
|
+
porcelain.port_override = (plumbing.port_override)
|
|
480
|
+
porcelain.region = (plumbing.region)
|
|
481
|
+
porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
|
|
482
|
+
porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
|
|
483
|
+
porcelain.role_arn = (plumbing.role_arn)
|
|
484
|
+
porcelain.role_external_id = (plumbing.role_external_id)
|
|
485
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
486
|
+
porcelain.session_expiry = (plumbing.session_expiry)
|
|
487
|
+
porcelain.subdomain = (plumbing.subdomain)
|
|
488
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
489
|
+
porcelain
|
|
490
|
+
end
|
|
491
|
+
|
|
492
|
+
def self.convert_aws_console_to_plumbing(porcelain)
|
|
493
|
+
if porcelain == nil
|
|
494
|
+
return nil
|
|
495
|
+
end
|
|
496
|
+
plumbing = V1::AWSConsole.new()
|
|
497
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
|
498
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
|
499
|
+
plumbing.enable_env_variables = (porcelain.enable_env_variables)
|
|
500
|
+
plumbing.healthy = (porcelain.healthy)
|
|
501
|
+
plumbing.id = (porcelain.id)
|
|
502
|
+
plumbing.name = (porcelain.name)
|
|
503
|
+
plumbing.port = (porcelain.port)
|
|
504
|
+
plumbing.port_override = (porcelain.port_override)
|
|
505
|
+
plumbing.region = (porcelain.region)
|
|
506
|
+
plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
|
|
507
|
+
plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
|
|
508
|
+
plumbing.role_arn = (porcelain.role_arn)
|
|
509
|
+
plumbing.role_external_id = (porcelain.role_external_id)
|
|
510
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
511
|
+
plumbing.session_expiry = (porcelain.session_expiry)
|
|
512
|
+
plumbing.subdomain = (porcelain.subdomain)
|
|
513
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
514
|
+
plumbing
|
|
515
|
+
end
|
|
516
|
+
def self.convert_repeated_aws_console_to_plumbing(porcelains)
|
|
517
|
+
items = Array.new
|
|
518
|
+
porcelains.each do |porcelain|
|
|
519
|
+
plumbing = convert_aws_console_to_plumbing(porcelain)
|
|
520
|
+
items.append(plumbing)
|
|
521
|
+
end
|
|
522
|
+
items
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
def self.convert_repeated_aws_console_to_porcelain(plumbings)
|
|
526
|
+
items = Array.new
|
|
527
|
+
plumbings.each do |plumbing|
|
|
528
|
+
porcelain = convert_aws_console_to_porcelain(plumbing)
|
|
529
|
+
items.append(porcelain)
|
|
530
|
+
end
|
|
531
|
+
items
|
|
532
|
+
end
|
|
533
|
+
def self.convert_aws_console_static_key_pair_to_porcelain(plumbing)
|
|
534
|
+
if plumbing == nil
|
|
535
|
+
return nil
|
|
536
|
+
end
|
|
537
|
+
porcelain = AWSConsoleStaticKeyPair.new()
|
|
538
|
+
porcelain.access_key = (plumbing.access_key)
|
|
539
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
|
540
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
|
541
|
+
porcelain.healthy = (plumbing.healthy)
|
|
542
|
+
porcelain.id = (plumbing.id)
|
|
543
|
+
porcelain.name = (plumbing.name)
|
|
544
|
+
porcelain.port_override = (plumbing.port_override)
|
|
545
|
+
porcelain.region = (plumbing.region)
|
|
546
|
+
porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
|
|
547
|
+
porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
|
|
548
|
+
porcelain.role_arn = (plumbing.role_arn)
|
|
549
|
+
porcelain.role_external_id = (plumbing.role_external_id)
|
|
550
|
+
porcelain.secret_access_key = (plumbing.secret_access_key)
|
|
551
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
552
|
+
porcelain.session_expiry = (plumbing.session_expiry)
|
|
553
|
+
porcelain.subdomain = (plumbing.subdomain)
|
|
554
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
555
|
+
porcelain
|
|
556
|
+
end
|
|
557
|
+
|
|
558
|
+
def self.convert_aws_console_static_key_pair_to_plumbing(porcelain)
|
|
559
|
+
if porcelain == nil
|
|
560
|
+
return nil
|
|
561
|
+
end
|
|
562
|
+
plumbing = V1::AWSConsoleStaticKeyPair.new()
|
|
563
|
+
plumbing.access_key = (porcelain.access_key)
|
|
564
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
|
565
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
|
566
|
+
plumbing.healthy = (porcelain.healthy)
|
|
567
|
+
plumbing.id = (porcelain.id)
|
|
568
|
+
plumbing.name = (porcelain.name)
|
|
569
|
+
plumbing.port_override = (porcelain.port_override)
|
|
570
|
+
plumbing.region = (porcelain.region)
|
|
571
|
+
plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
|
|
572
|
+
plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
|
|
573
|
+
plumbing.role_arn = (porcelain.role_arn)
|
|
574
|
+
plumbing.role_external_id = (porcelain.role_external_id)
|
|
575
|
+
plumbing.secret_access_key = (porcelain.secret_access_key)
|
|
576
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
577
|
+
plumbing.session_expiry = (porcelain.session_expiry)
|
|
578
|
+
plumbing.subdomain = (porcelain.subdomain)
|
|
579
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
580
|
+
plumbing
|
|
581
|
+
end
|
|
582
|
+
def self.convert_repeated_aws_console_static_key_pair_to_plumbing(porcelains)
|
|
583
|
+
items = Array.new
|
|
584
|
+
porcelains.each do |porcelain|
|
|
585
|
+
plumbing = convert_aws_console_static_key_pair_to_plumbing(porcelain)
|
|
586
|
+
items.append(plumbing)
|
|
587
|
+
end
|
|
588
|
+
items
|
|
589
|
+
end
|
|
590
|
+
|
|
591
|
+
def self.convert_repeated_aws_console_static_key_pair_to_porcelain(plumbings)
|
|
592
|
+
items = Array.new
|
|
593
|
+
plumbings.each do |plumbing|
|
|
594
|
+
porcelain = convert_aws_console_static_key_pair_to_porcelain(plumbing)
|
|
595
|
+
items.append(porcelain)
|
|
596
|
+
end
|
|
597
|
+
items
|
|
598
|
+
end
|
|
467
599
|
def self.convert_aws_store_to_porcelain(plumbing)
|
|
468
600
|
if plumbing == nil
|
|
469
601
|
return nil
|
|
@@ -2034,6 +2166,86 @@ module SDM
|
|
|
2034
2166
|
end
|
|
2035
2167
|
items
|
|
2036
2168
|
end
|
|
2169
|
+
def self.convert_cyberark_conjur_store_to_porcelain(plumbing)
|
|
2170
|
+
if plumbing == nil
|
|
2171
|
+
return nil
|
|
2172
|
+
end
|
|
2173
|
+
porcelain = CyberarkConjurStore.new()
|
|
2174
|
+
porcelain.appurl = (plumbing.appURL)
|
|
2175
|
+
porcelain.id = (plumbing.id)
|
|
2176
|
+
porcelain.name = (plumbing.name)
|
|
2177
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
2178
|
+
porcelain
|
|
2179
|
+
end
|
|
2180
|
+
|
|
2181
|
+
def self.convert_cyberark_conjur_store_to_plumbing(porcelain)
|
|
2182
|
+
if porcelain == nil
|
|
2183
|
+
return nil
|
|
2184
|
+
end
|
|
2185
|
+
plumbing = V1::CyberarkConjurStore.new()
|
|
2186
|
+
plumbing.appURL = (porcelain.appurl)
|
|
2187
|
+
plumbing.id = (porcelain.id)
|
|
2188
|
+
plumbing.name = (porcelain.name)
|
|
2189
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
2190
|
+
plumbing
|
|
2191
|
+
end
|
|
2192
|
+
def self.convert_repeated_cyberark_conjur_store_to_plumbing(porcelains)
|
|
2193
|
+
items = Array.new
|
|
2194
|
+
porcelains.each do |porcelain|
|
|
2195
|
+
plumbing = convert_cyberark_conjur_store_to_plumbing(porcelain)
|
|
2196
|
+
items.append(plumbing)
|
|
2197
|
+
end
|
|
2198
|
+
items
|
|
2199
|
+
end
|
|
2200
|
+
|
|
2201
|
+
def self.convert_repeated_cyberark_conjur_store_to_porcelain(plumbings)
|
|
2202
|
+
items = Array.new
|
|
2203
|
+
plumbings.each do |plumbing|
|
|
2204
|
+
porcelain = convert_cyberark_conjur_store_to_porcelain(plumbing)
|
|
2205
|
+
items.append(porcelain)
|
|
2206
|
+
end
|
|
2207
|
+
items
|
|
2208
|
+
end
|
|
2209
|
+
def self.convert_cyberark_pam_experimental_store_to_porcelain(plumbing)
|
|
2210
|
+
if plumbing == nil
|
|
2211
|
+
return nil
|
|
2212
|
+
end
|
|
2213
|
+
porcelain = CyberarkPAMExperimentalStore.new()
|
|
2214
|
+
porcelain.appurl = (plumbing.appURL)
|
|
2215
|
+
porcelain.id = (plumbing.id)
|
|
2216
|
+
porcelain.name = (plumbing.name)
|
|
2217
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
2218
|
+
porcelain
|
|
2219
|
+
end
|
|
2220
|
+
|
|
2221
|
+
def self.convert_cyberark_pam_experimental_store_to_plumbing(porcelain)
|
|
2222
|
+
if porcelain == nil
|
|
2223
|
+
return nil
|
|
2224
|
+
end
|
|
2225
|
+
plumbing = V1::CyberarkPAMExperimentalStore.new()
|
|
2226
|
+
plumbing.appURL = (porcelain.appurl)
|
|
2227
|
+
plumbing.id = (porcelain.id)
|
|
2228
|
+
plumbing.name = (porcelain.name)
|
|
2229
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
2230
|
+
plumbing
|
|
2231
|
+
end
|
|
2232
|
+
def self.convert_repeated_cyberark_pam_experimental_store_to_plumbing(porcelains)
|
|
2233
|
+
items = Array.new
|
|
2234
|
+
porcelains.each do |porcelain|
|
|
2235
|
+
plumbing = convert_cyberark_pam_experimental_store_to_plumbing(porcelain)
|
|
2236
|
+
items.append(plumbing)
|
|
2237
|
+
end
|
|
2238
|
+
items
|
|
2239
|
+
end
|
|
2240
|
+
|
|
2241
|
+
def self.convert_repeated_cyberark_pam_experimental_store_to_porcelain(plumbings)
|
|
2242
|
+
items = Array.new
|
|
2243
|
+
plumbings.each do |plumbing|
|
|
2244
|
+
porcelain = convert_cyberark_pam_experimental_store_to_porcelain(plumbing)
|
|
2245
|
+
items.append(porcelain)
|
|
2246
|
+
end
|
|
2247
|
+
items
|
|
2248
|
+
end
|
|
2037
2249
|
def self.convert_db_2_i_to_porcelain(plumbing)
|
|
2038
2250
|
if plumbing == nil
|
|
2039
2251
|
return nil
|
|
@@ -2182,6 +2394,48 @@ module SDM
|
|
|
2182
2394
|
end
|
|
2183
2395
|
items
|
|
2184
2396
|
end
|
|
2397
|
+
def self.convert_delinea_store_to_porcelain(plumbing)
|
|
2398
|
+
if plumbing == nil
|
|
2399
|
+
return nil
|
|
2400
|
+
end
|
|
2401
|
+
porcelain = DelineaStore.new()
|
|
2402
|
+
porcelain.id = (plumbing.id)
|
|
2403
|
+
porcelain.name = (plumbing.name)
|
|
2404
|
+
porcelain.server_url = (plumbing.server_url)
|
|
2405
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
2406
|
+
porcelain.tenant_name = (plumbing.tenant_name)
|
|
2407
|
+
porcelain
|
|
2408
|
+
end
|
|
2409
|
+
|
|
2410
|
+
def self.convert_delinea_store_to_plumbing(porcelain)
|
|
2411
|
+
if porcelain == nil
|
|
2412
|
+
return nil
|
|
2413
|
+
end
|
|
2414
|
+
plumbing = V1::DelineaStore.new()
|
|
2415
|
+
plumbing.id = (porcelain.id)
|
|
2416
|
+
plumbing.name = (porcelain.name)
|
|
2417
|
+
plumbing.server_url = (porcelain.server_url)
|
|
2418
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
2419
|
+
plumbing.tenant_name = (porcelain.tenant_name)
|
|
2420
|
+
plumbing
|
|
2421
|
+
end
|
|
2422
|
+
def self.convert_repeated_delinea_store_to_plumbing(porcelains)
|
|
2423
|
+
items = Array.new
|
|
2424
|
+
porcelains.each do |porcelain|
|
|
2425
|
+
plumbing = convert_delinea_store_to_plumbing(porcelain)
|
|
2426
|
+
items.append(plumbing)
|
|
2427
|
+
end
|
|
2428
|
+
items
|
|
2429
|
+
end
|
|
2430
|
+
|
|
2431
|
+
def self.convert_repeated_delinea_store_to_porcelain(plumbings)
|
|
2432
|
+
items = Array.new
|
|
2433
|
+
plumbings.each do |plumbing|
|
|
2434
|
+
porcelain = convert_delinea_store_to_porcelain(plumbing)
|
|
2435
|
+
items.append(porcelain)
|
|
2436
|
+
end
|
|
2437
|
+
items
|
|
2438
|
+
end
|
|
2185
2439
|
def self.convert_document_db_host_to_porcelain(plumbing)
|
|
2186
2440
|
if plumbing == nil
|
|
2187
2441
|
return nil
|
|
@@ -5170,6 +5424,12 @@ module SDM
|
|
|
5170
5424
|
if porcelain.instance_of? AWS
|
|
5171
5425
|
plumbing.aws = convert_aws_to_plumbing(porcelain)
|
|
5172
5426
|
end
|
|
5427
|
+
if porcelain.instance_of? AWSConsole
|
|
5428
|
+
plumbing.aws_console = convert_aws_console_to_plumbing(porcelain)
|
|
5429
|
+
end
|
|
5430
|
+
if porcelain.instance_of? AWSConsoleStaticKeyPair
|
|
5431
|
+
plumbing.aws_console_static_key_pair = convert_aws_console_static_key_pair_to_plumbing(porcelain)
|
|
5432
|
+
end
|
|
5173
5433
|
if porcelain.instance_of? Azure
|
|
5174
5434
|
plumbing.azure = convert_azure_to_plumbing(porcelain)
|
|
5175
5435
|
end
|
|
@@ -5390,6 +5650,12 @@ module SDM
|
|
|
5390
5650
|
if plumbing.aws != nil
|
|
5391
5651
|
return convert_aws_to_porcelain(plumbing.aws)
|
|
5392
5652
|
end
|
|
5653
|
+
if plumbing.aws_console != nil
|
|
5654
|
+
return convert_aws_console_to_porcelain(plumbing.aws_console)
|
|
5655
|
+
end
|
|
5656
|
+
if plumbing.aws_console_static_key_pair != nil
|
|
5657
|
+
return convert_aws_console_static_key_pair_to_porcelain(plumbing.aws_console_static_key_pair)
|
|
5658
|
+
end
|
|
5393
5659
|
if plumbing.azure != nil
|
|
5394
5660
|
return convert_azure_to_porcelain(plumbing.azure)
|
|
5395
5661
|
end
|
|
@@ -6181,6 +6447,15 @@ module SDM
|
|
|
6181
6447
|
if porcelain.instance_of? AzureStore
|
|
6182
6448
|
plumbing.azure = convert_azure_store_to_plumbing(porcelain)
|
|
6183
6449
|
end
|
|
6450
|
+
if porcelain.instance_of? CyberarkConjurStore
|
|
6451
|
+
plumbing.cyberark_conjur = convert_cyberark_conjur_store_to_plumbing(porcelain)
|
|
6452
|
+
end
|
|
6453
|
+
if porcelain.instance_of? CyberarkPAMExperimentalStore
|
|
6454
|
+
plumbing.cyberark_pam_experimental = convert_cyberark_pam_experimental_store_to_plumbing(porcelain)
|
|
6455
|
+
end
|
|
6456
|
+
if porcelain.instance_of? DelineaStore
|
|
6457
|
+
plumbing.delinea = convert_delinea_store_to_plumbing(porcelain)
|
|
6458
|
+
end
|
|
6184
6459
|
if porcelain.instance_of? GCPStore
|
|
6185
6460
|
plumbing.gcp = convert_gcp_store_to_plumbing(porcelain)
|
|
6186
6461
|
end
|
|
@@ -6206,6 +6481,15 @@ module SDM
|
|
|
6206
6481
|
if plumbing.azure != nil
|
|
6207
6482
|
return convert_azure_store_to_porcelain(plumbing.azure)
|
|
6208
6483
|
end
|
|
6484
|
+
if plumbing.cyberark_conjur != nil
|
|
6485
|
+
return convert_cyberark_conjur_store_to_porcelain(plumbing.cyberark_conjur)
|
|
6486
|
+
end
|
|
6487
|
+
if plumbing.cyberark_pam_experimental != nil
|
|
6488
|
+
return convert_cyberark_pam_experimental_store_to_porcelain(plumbing.cyberark_pam_experimental)
|
|
6489
|
+
end
|
|
6490
|
+
if plumbing.delinea != nil
|
|
6491
|
+
return convert_delinea_store_to_porcelain(plumbing.delinea)
|
|
6492
|
+
end
|
|
6209
6493
|
if plumbing.gcp != nil
|
|
6210
6494
|
return convert_gcp_store_to_porcelain(plumbing.gcp)
|
|
6211
6495
|
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,173 @@ 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
|
|
448
|
+
|
|
449
|
+
attr_accessor :port_override
|
|
450
|
+
|
|
451
|
+
attr_accessor :region
|
|
452
|
+
|
|
453
|
+
attr_accessor :remote_identity_group_id
|
|
454
|
+
|
|
455
|
+
attr_accessor :remote_identity_healthcheck_username
|
|
456
|
+
|
|
457
|
+
attr_accessor :role_arn
|
|
458
|
+
|
|
459
|
+
attr_accessor :role_external_id
|
|
460
|
+
# ID of the secret store containing credentials for this resource, if any.
|
|
461
|
+
attr_accessor :secret_store_id
|
|
462
|
+
|
|
463
|
+
attr_accessor :session_expiry
|
|
464
|
+
|
|
465
|
+
attr_accessor :subdomain
|
|
466
|
+
# Tags is a map of key, value pairs.
|
|
467
|
+
attr_accessor :tags
|
|
468
|
+
|
|
469
|
+
def initialize(
|
|
470
|
+
bind_interface: nil,
|
|
471
|
+
egress_filter: nil,
|
|
472
|
+
enable_env_variables: nil,
|
|
473
|
+
healthy: nil,
|
|
474
|
+
id: nil,
|
|
475
|
+
name: nil,
|
|
476
|
+
port: nil,
|
|
477
|
+
port_override: nil,
|
|
478
|
+
region: nil,
|
|
479
|
+
remote_identity_group_id: nil,
|
|
480
|
+
remote_identity_healthcheck_username: nil,
|
|
481
|
+
role_arn: nil,
|
|
482
|
+
role_external_id: nil,
|
|
483
|
+
secret_store_id: nil,
|
|
484
|
+
session_expiry: nil,
|
|
485
|
+
subdomain: nil,
|
|
486
|
+
tags: nil
|
|
487
|
+
)
|
|
488
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
489
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
490
|
+
@enable_env_variables = enable_env_variables == nil ? false : enable_env_variables
|
|
491
|
+
@healthy = healthy == nil ? false : healthy
|
|
492
|
+
@id = id == nil ? "" : id
|
|
493
|
+
@name = name == nil ? "" : name
|
|
494
|
+
@port = port == nil ? 0 : port
|
|
495
|
+
@port_override = port_override == nil ? 0 : port_override
|
|
496
|
+
@region = region == nil ? "" : region
|
|
497
|
+
@remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
|
|
498
|
+
@remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
|
|
499
|
+
@role_arn = role_arn == nil ? "" : role_arn
|
|
500
|
+
@role_external_id = role_external_id == nil ? "" : role_external_id
|
|
501
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
502
|
+
@session_expiry = session_expiry == nil ? 0 : session_expiry
|
|
503
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
|
504
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
505
|
+
end
|
|
506
|
+
|
|
507
|
+
def to_json(options = {})
|
|
508
|
+
hash = {}
|
|
509
|
+
self.instance_variables.each do |var|
|
|
510
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
511
|
+
end
|
|
512
|
+
hash.to_json
|
|
513
|
+
end
|
|
514
|
+
end
|
|
515
|
+
|
|
516
|
+
# AWSConsoleStaticKeyPair is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
517
|
+
class AWSConsoleStaticKeyPair
|
|
518
|
+
attr_accessor :access_key
|
|
519
|
+
# Bind interface
|
|
520
|
+
attr_accessor :bind_interface
|
|
521
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
|
522
|
+
attr_accessor :egress_filter
|
|
523
|
+
# True if the datasource is reachable and the credentials are valid.
|
|
524
|
+
attr_accessor :healthy
|
|
525
|
+
# Unique identifier of the Resource.
|
|
526
|
+
attr_accessor :id
|
|
527
|
+
# Unique human-readable name of the Resource.
|
|
528
|
+
attr_accessor :name
|
|
529
|
+
|
|
530
|
+
attr_accessor :port_override
|
|
531
|
+
|
|
532
|
+
attr_accessor :region
|
|
533
|
+
|
|
534
|
+
attr_accessor :remote_identity_group_id
|
|
535
|
+
|
|
536
|
+
attr_accessor :remote_identity_healthcheck_username
|
|
537
|
+
|
|
538
|
+
attr_accessor :role_arn
|
|
539
|
+
|
|
540
|
+
attr_accessor :role_external_id
|
|
541
|
+
|
|
542
|
+
attr_accessor :secret_access_key
|
|
543
|
+
# ID of the secret store containing credentials for this resource, if any.
|
|
544
|
+
attr_accessor :secret_store_id
|
|
545
|
+
|
|
546
|
+
attr_accessor :session_expiry
|
|
547
|
+
|
|
548
|
+
attr_accessor :subdomain
|
|
549
|
+
# Tags is a map of key, value pairs.
|
|
550
|
+
attr_accessor :tags
|
|
551
|
+
|
|
552
|
+
def initialize(
|
|
553
|
+
access_key: nil,
|
|
554
|
+
bind_interface: nil,
|
|
555
|
+
egress_filter: nil,
|
|
556
|
+
healthy: nil,
|
|
557
|
+
id: nil,
|
|
558
|
+
name: nil,
|
|
559
|
+
port_override: nil,
|
|
560
|
+
region: nil,
|
|
561
|
+
remote_identity_group_id: nil,
|
|
562
|
+
remote_identity_healthcheck_username: nil,
|
|
563
|
+
role_arn: nil,
|
|
564
|
+
role_external_id: nil,
|
|
565
|
+
secret_access_key: nil,
|
|
566
|
+
secret_store_id: nil,
|
|
567
|
+
session_expiry: nil,
|
|
568
|
+
subdomain: nil,
|
|
569
|
+
tags: nil
|
|
570
|
+
)
|
|
571
|
+
@access_key = access_key == nil ? "" : access_key
|
|
572
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
573
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
574
|
+
@healthy = healthy == nil ? false : healthy
|
|
575
|
+
@id = id == nil ? "" : id
|
|
576
|
+
@name = name == nil ? "" : name
|
|
577
|
+
@port_override = port_override == nil ? 0 : port_override
|
|
578
|
+
@region = region == nil ? "" : region
|
|
579
|
+
@remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
|
|
580
|
+
@remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
|
|
581
|
+
@role_arn = role_arn == nil ? "" : role_arn
|
|
582
|
+
@role_external_id = role_external_id == nil ? "" : role_external_id
|
|
583
|
+
@secret_access_key = secret_access_key == nil ? "" : secret_access_key
|
|
584
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
585
|
+
@session_expiry = session_expiry == nil ? 0 : session_expiry
|
|
586
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
|
587
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
588
|
+
end
|
|
589
|
+
|
|
590
|
+
def to_json(options = {})
|
|
591
|
+
hash = {}
|
|
592
|
+
self.instance_variables.each do |var|
|
|
593
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
594
|
+
end
|
|
595
|
+
hash.to_json
|
|
596
|
+
end
|
|
597
|
+
end
|
|
598
|
+
|
|
432
599
|
class AWSStore
|
|
433
600
|
# Unique identifier of the SecretStore.
|
|
434
601
|
attr_accessor :id
|
|
@@ -1928,6 +2095,68 @@ module SDM
|
|
|
1928
2095
|
end
|
|
1929
2096
|
end
|
|
1930
2097
|
|
|
2098
|
+
# CyberarkConjurStore is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
2099
|
+
class CyberarkConjurStore
|
|
2100
|
+
attr_accessor :appurl
|
|
2101
|
+
# Unique identifier of the SecretStore.
|
|
2102
|
+
attr_accessor :id
|
|
2103
|
+
# Unique human-readable name of the SecretStore.
|
|
2104
|
+
attr_accessor :name
|
|
2105
|
+
# Tags is a map of key, value pairs.
|
|
2106
|
+
attr_accessor :tags
|
|
2107
|
+
|
|
2108
|
+
def initialize(
|
|
2109
|
+
appurl: nil,
|
|
2110
|
+
id: nil,
|
|
2111
|
+
name: nil,
|
|
2112
|
+
tags: nil
|
|
2113
|
+
)
|
|
2114
|
+
@appurl = appurl == nil ? "" : appurl
|
|
2115
|
+
@id = id == nil ? "" : id
|
|
2116
|
+
@name = name == nil ? "" : name
|
|
2117
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
2118
|
+
end
|
|
2119
|
+
|
|
2120
|
+
def to_json(options = {})
|
|
2121
|
+
hash = {}
|
|
2122
|
+
self.instance_variables.each do |var|
|
|
2123
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
2124
|
+
end
|
|
2125
|
+
hash.to_json
|
|
2126
|
+
end
|
|
2127
|
+
end
|
|
2128
|
+
|
|
2129
|
+
# CyberarkPAMExperimentalStore is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
2130
|
+
class CyberarkPAMExperimentalStore
|
|
2131
|
+
attr_accessor :appurl
|
|
2132
|
+
# Unique identifier of the SecretStore.
|
|
2133
|
+
attr_accessor :id
|
|
2134
|
+
# Unique human-readable name of the SecretStore.
|
|
2135
|
+
attr_accessor :name
|
|
2136
|
+
# Tags is a map of key, value pairs.
|
|
2137
|
+
attr_accessor :tags
|
|
2138
|
+
|
|
2139
|
+
def initialize(
|
|
2140
|
+
appurl: nil,
|
|
2141
|
+
id: nil,
|
|
2142
|
+
name: nil,
|
|
2143
|
+
tags: nil
|
|
2144
|
+
)
|
|
2145
|
+
@appurl = appurl == nil ? "" : appurl
|
|
2146
|
+
@id = id == nil ? "" : id
|
|
2147
|
+
@name = name == nil ? "" : name
|
|
2148
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
2149
|
+
end
|
|
2150
|
+
|
|
2151
|
+
def to_json(options = {})
|
|
2152
|
+
hash = {}
|
|
2153
|
+
self.instance_variables.each do |var|
|
|
2154
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
2155
|
+
end
|
|
2156
|
+
hash.to_json
|
|
2157
|
+
end
|
|
2158
|
+
end
|
|
2159
|
+
|
|
1931
2160
|
class DB2I
|
|
1932
2161
|
# Bind interface
|
|
1933
2162
|
attr_accessor :bind_interface
|
|
@@ -2076,6 +2305,42 @@ module SDM
|
|
|
2076
2305
|
end
|
|
2077
2306
|
end
|
|
2078
2307
|
|
|
2308
|
+
# DelineaStore is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
2309
|
+
class DelineaStore
|
|
2310
|
+
# Unique identifier of the SecretStore.
|
|
2311
|
+
attr_accessor :id
|
|
2312
|
+
# Unique human-readable name of the SecretStore.
|
|
2313
|
+
attr_accessor :name
|
|
2314
|
+
|
|
2315
|
+
attr_accessor :server_url
|
|
2316
|
+
# Tags is a map of key, value pairs.
|
|
2317
|
+
attr_accessor :tags
|
|
2318
|
+
|
|
2319
|
+
attr_accessor :tenant_name
|
|
2320
|
+
|
|
2321
|
+
def initialize(
|
|
2322
|
+
id: nil,
|
|
2323
|
+
name: nil,
|
|
2324
|
+
server_url: nil,
|
|
2325
|
+
tags: nil,
|
|
2326
|
+
tenant_name: nil
|
|
2327
|
+
)
|
|
2328
|
+
@id = id == nil ? "" : id
|
|
2329
|
+
@name = name == nil ? "" : name
|
|
2330
|
+
@server_url = server_url == nil ? "" : server_url
|
|
2331
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
2332
|
+
@tenant_name = tenant_name == nil ? "" : tenant_name
|
|
2333
|
+
end
|
|
2334
|
+
|
|
2335
|
+
def to_json(options = {})
|
|
2336
|
+
hash = {}
|
|
2337
|
+
self.instance_variables.each do |var|
|
|
2338
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
2339
|
+
end
|
|
2340
|
+
hash.to_json
|
|
2341
|
+
end
|
|
2342
|
+
end
|
|
2343
|
+
|
|
2079
2344
|
class DocumentDBHost
|
|
2080
2345
|
attr_accessor :auth_database
|
|
2081
2346
|
# Bind interface
|
|
@@ -3366,6 +3631,7 @@ module SDM
|
|
|
3366
3631
|
end
|
|
3367
3632
|
end
|
|
3368
3633
|
|
|
3634
|
+
# MTLSMysql is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
3369
3635
|
class MTLSMysql
|
|
3370
3636
|
# Bind interface
|
|
3371
3637
|
attr_accessor :bind_interface
|
|
@@ -3725,6 +3991,7 @@ module SDM
|
|
|
3725
3991
|
end
|
|
3726
3992
|
end
|
|
3727
3993
|
|
|
3994
|
+
# MongoHost is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
3728
3995
|
class MongoHost
|
|
3729
3996
|
attr_accessor :auth_database
|
|
3730
3997
|
# Bind interface
|
|
@@ -3947,6 +4214,7 @@ module SDM
|
|
|
3947
4214
|
end
|
|
3948
4215
|
end
|
|
3949
4216
|
|
|
4217
|
+
# MongoReplicaSet is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
3950
4218
|
class MongoReplicaSet
|
|
3951
4219
|
attr_accessor :auth_database
|
|
3952
4220
|
# Bind interface
|
|
@@ -4025,6 +4293,7 @@ module SDM
|
|
|
4025
4293
|
end
|
|
4026
4294
|
end
|
|
4027
4295
|
|
|
4296
|
+
# MongoShardedCluster is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
4028
4297
|
class MongoShardedCluster
|
|
4029
4298
|
attr_accessor :auth_database
|
|
4030
4299
|
# Bind interface
|
|
@@ -4401,6 +4670,7 @@ module SDM
|
|
|
4401
4670
|
end
|
|
4402
4671
|
end
|
|
4403
4672
|
|
|
4673
|
+
# Oracle is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
4404
4674
|
class Oracle
|
|
4405
4675
|
# Bind interface
|
|
4406
4676
|
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.2"
|
|
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.2
|
|
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-
|
|
11
|
+
date: 2022-09-07 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-3895e82adc595c5bd75773182a41fee2ab17c2e4.idx"
|
|
83
|
+
- "./.git/objects/pack/pack-3895e82adc595c5bd75773182a41fee2ab17c2e4.pack"
|
|
84
84
|
- "./.git/packed-refs"
|
|
85
85
|
- "./.git/refs/heads/master"
|
|
86
86
|
- "./.git/refs/remotes/origin/HEAD"
|