strongdm 6.2.1 → 6.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 508cf85b3339c97c567c9f849b198ca67571f489895c1431040b4339ccb0e91b
4
- data.tar.gz: c13c04a62365637ef9f3e9c92af4e8d8010617f0a3711bda9c167f6588780632
3
+ metadata.gz: cc7306aea1eca0729a25187d1a302d86b6550d6f09ac9be7c4ec4f7f7bc4d00b
4
+ data.tar.gz: 63e886822320f0f357df5d222e7bdd7a8955b120df25ada378a80ecd57ce4203
5
5
  SHA512:
6
- metadata.gz: 5cc7c3360103c2de7c1518ad787bb10669fed8c25403222e4279aa7f8822adf94ab8744e74b2cf28cbb1f117df475b1eccc47ff59647ad9338eb1571783ad4ce
7
- data.tar.gz: 86a46f6ed308c69ca6041294e0b66cefa3bf7ee1208251b9d24bb0437fed15fb651513b315b54f4452ada81e5125c16e273953b7993c5c3dc014de30f5902971
6
+ metadata.gz: cc96479400b7be955e2647aff3f13d95bf5c5446bacb88f7dee356f5c98e3b0c7ef392147ad0b46384ea15a335cb33b1890e5bffdacb11bf1a8d91ce2ffa9889
7
+ data.tar.gz: 1d1035ab4594cc376b92863906f81a0a20ba11441e8eee17eaeca209c799f77e14c627b753c979159637872d766b6d81380b823f42b4be6d88fbd017822c35f8
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- d8f6c24d93d0cf5e48ccc7bf7a5ead950a7b0614
1
+ 59ba0e6392d2e7f5f4c053e663766157c9a9b149
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 d8f6c24d93d0cf5e48ccc7bf7a5ead950a7b0614 sdmrelease <support@strongdm.com> 1705702012 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- d8f6c24d93d0cf5e48ccc7bf7a5ead950a7b0614 d8f6c24d93d0cf5e48ccc7bf7a5ead950a7b0614 sdmrelease <support@strongdm.com> 1705702012 +0000 checkout: moving from master to master
3
- d8f6c24d93d0cf5e48ccc7bf7a5ead950a7b0614 f4af6ebad8174f8e5aeec63536db9290597a3982 sdmrelease <support@strongdm.com> 1705702012 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 59ba0e6392d2e7f5f4c053e663766157c9a9b149 sdmrelease <support@strongdm.com> 1706211540 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 59ba0e6392d2e7f5f4c053e663766157c9a9b149 59ba0e6392d2e7f5f4c053e663766157c9a9b149 sdmrelease <support@strongdm.com> 1706211540 +0000 checkout: moving from master to master
3
+ 59ba0e6392d2e7f5f4c053e663766157c9a9b149 3ca1e977d66e0fb0232024c33a223a789453031c sdmrelease <support@strongdm.com> 1706211540 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 d8f6c24d93d0cf5e48ccc7bf7a5ead950a7b0614 sdmrelease <support@strongdm.com> 1705702012 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- d8f6c24d93d0cf5e48ccc7bf7a5ead950a7b0614 f4af6ebad8174f8e5aeec63536db9290597a3982 sdmrelease <support@strongdm.com> 1705702012 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 59ba0e6392d2e7f5f4c053e663766157c9a9b149 sdmrelease <support@strongdm.com> 1706211540 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 59ba0e6392d2e7f5f4c053e663766157c9a9b149 3ca1e977d66e0fb0232024c33a223a789453031c sdmrelease <support@strongdm.com> 1706211540 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 d8f6c24d93d0cf5e48ccc7bf7a5ead950a7b0614 sdmrelease <support@strongdm.com> 1705702012 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 59ba0e6392d2e7f5f4c053e663766157c9a9b149 sdmrelease <support@strongdm.com> 1706211540 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
data/.git/packed-refs CHANGED
@@ -1,6 +1,6 @@
1
1
  # pack-refs with: peeled fully-peeled sorted
2
- f4af6ebad8174f8e5aeec63536db9290597a3982 refs/remotes/origin/development
3
- d8f6c24d93d0cf5e48ccc7bf7a5ead950a7b0614 refs/remotes/origin/master
2
+ 3ca1e977d66e0fb0232024c33a223a789453031c refs/remotes/origin/development
3
+ 59ba0e6392d2e7f5f4c053e663766157c9a9b149 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
@@ -92,3 +92,5 @@ b724d5bc9ad45c3fbfa394653415d4b7a97ae071 refs/tags/v6.0.0
92
92
  da1cd910d138b56624af0d2fa2d92d8acec5edca refs/tags/v6.0.1
93
93
  296fd9e80fd98a5dd3dcaaccde49e33ea5578967 refs/tags/v6.1.0
94
94
  d8f6c24d93d0cf5e48ccc7bf7a5ead950a7b0614 refs/tags/v6.2.0
95
+ f4af6ebad8174f8e5aeec63536db9290597a3982 refs/tags/v6.2.1
96
+ 59ba0e6392d2e7f5f4c053e663766157c9a9b149 refs/tags/v6.3.0
@@ -1 +1 @@
1
- f4af6ebad8174f8e5aeec63536db9290597a3982
1
+ 3ca1e977d66e0fb0232024c33a223a789453031c
@@ -35,6 +35,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
35
35
  optional :method, :string, 1941300
36
36
  optional :url, :string, 1941301
37
37
  optional :deprecation_date, :string, 1941302
38
+ repeated :targets, :string, 1941401
38
39
  end
39
40
  add_message "v1.MessageOptions" do
40
41
  optional :porcelain, :bool, 1941301
data/lib/grpc/plumbing.rb CHANGED
@@ -55,6 +55,7 @@ require_relative "./role_resources_pb"
55
55
  require_relative "./role_resources_history_pb"
56
56
  require_relative "./roles_pb"
57
57
  require_relative "./roles_history_pb"
58
+ require_relative "./secret_store_healths_pb"
58
59
  require_relative "./secret_store_types_pb"
59
60
  require_relative "./secret_stores_pb"
60
61
  require_relative "./secret_stores_history_pb"
@@ -9448,12 +9449,30 @@ module SDM
9448
9449
  if porcelain.instance_of? VaultAppRoleStore
9449
9450
  plumbing.vault_app_role = convert_vault_app_role_store_to_plumbing(porcelain)
9450
9451
  end
9452
+ if porcelain.instance_of? VaultAppRoleCertSSHStore
9453
+ plumbing.vault_app_role_cert_ssh = convert_vault_app_role_cert_ssh_store_to_plumbing(porcelain)
9454
+ end
9455
+ if porcelain.instance_of? VaultAppRoleCertX509Store
9456
+ plumbing.vault_app_role_cert_x_509 = convert_vault_app_role_cert_x_509_store_to_plumbing(porcelain)
9457
+ end
9451
9458
  if porcelain.instance_of? VaultTLSStore
9452
9459
  plumbing.vault_tls = convert_vault_tls_store_to_plumbing(porcelain)
9453
9460
  end
9461
+ if porcelain.instance_of? VaultTLSCertSSHStore
9462
+ plumbing.vault_tls_cert_ssh = convert_vault_tls_cert_ssh_store_to_plumbing(porcelain)
9463
+ end
9464
+ if porcelain.instance_of? VaultTLSCertX509Store
9465
+ plumbing.vault_tls_cert_x_509 = convert_vault_tls_cert_x_509_store_to_plumbing(porcelain)
9466
+ end
9454
9467
  if porcelain.instance_of? VaultTokenStore
9455
9468
  plumbing.vault_token = convert_vault_token_store_to_plumbing(porcelain)
9456
9469
  end
9470
+ if porcelain.instance_of? VaultTokenCertSSHStore
9471
+ plumbing.vault_token_cert_ssh = convert_vault_token_cert_ssh_store_to_plumbing(porcelain)
9472
+ end
9473
+ if porcelain.instance_of? VaultTokenCertX509Store
9474
+ plumbing.vault_token_cert_x_509 = convert_vault_token_cert_x_509_store_to_plumbing(porcelain)
9475
+ end
9457
9476
  plumbing
9458
9477
  end
9459
9478
 
@@ -9485,12 +9504,30 @@ module SDM
9485
9504
  if plumbing.vault_app_role != nil
9486
9505
  return convert_vault_app_role_store_to_porcelain(plumbing.vault_app_role)
9487
9506
  end
9507
+ if plumbing.vault_app_role_cert_ssh != nil
9508
+ return convert_vault_app_role_cert_ssh_store_to_porcelain(plumbing.vault_app_role_cert_ssh)
9509
+ end
9510
+ if plumbing.vault_app_role_cert_x_509 != nil
9511
+ return convert_vault_app_role_cert_x_509_store_to_porcelain(plumbing.vault_app_role_cert_x_509)
9512
+ end
9488
9513
  if plumbing.vault_tls != nil
9489
9514
  return convert_vault_tls_store_to_porcelain(plumbing.vault_tls)
9490
9515
  end
9516
+ if plumbing.vault_tls_cert_ssh != nil
9517
+ return convert_vault_tls_cert_ssh_store_to_porcelain(plumbing.vault_tls_cert_ssh)
9518
+ end
9519
+ if plumbing.vault_tls_cert_x_509 != nil
9520
+ return convert_vault_tls_cert_x_509_store_to_porcelain(plumbing.vault_tls_cert_x_509)
9521
+ end
9491
9522
  if plumbing.vault_token != nil
9492
9523
  return convert_vault_token_store_to_porcelain(plumbing.vault_token)
9493
9524
  end
9525
+ if plumbing.vault_token_cert_ssh != nil
9526
+ return convert_vault_token_cert_ssh_store_to_porcelain(plumbing.vault_token_cert_ssh)
9527
+ end
9528
+ if plumbing.vault_token_cert_x_509 != nil
9529
+ return convert_vault_token_cert_x_509_store_to_porcelain(plumbing.vault_token_cert_x_509)
9530
+ end
9494
9531
  raise UnknownError.new("unknown polymorphic type, please upgrade your SDK")
9495
9532
  end
9496
9533
  def self.convert_repeated_secret_store_to_plumbing(porcelains)
@@ -9622,6 +9659,128 @@ module SDM
9622
9659
  end
9623
9660
  items
9624
9661
  end
9662
+ def self.convert_secret_store_health_to_porcelain(plumbing)
9663
+ if plumbing == nil
9664
+ return nil
9665
+ end
9666
+ porcelain = SecretStoreHealth.new()
9667
+ porcelain.changed_at = convert_timestamp_to_porcelain(plumbing.changed_at)
9668
+ porcelain.checked_at = convert_timestamp_to_porcelain(plumbing.checked_at)
9669
+ porcelain.error = (plumbing.error)
9670
+ porcelain.flags = (plumbing.flags)
9671
+ porcelain.node_id = (plumbing.node_id)
9672
+ porcelain.reachability = (plumbing.reachability)
9673
+ porcelain.secret_store_id = (plumbing.secret_store_id)
9674
+ porcelain.status = (plumbing.status)
9675
+ porcelain
9676
+ end
9677
+
9678
+ def self.convert_secret_store_health_to_plumbing(porcelain)
9679
+ if porcelain == nil
9680
+ return nil
9681
+ end
9682
+ plumbing = V1::SecretStoreHealth.new()
9683
+ plumbing.changed_at = convert_timestamp_to_plumbing(porcelain.changed_at)
9684
+ plumbing.checked_at = convert_timestamp_to_plumbing(porcelain.checked_at)
9685
+ plumbing.error = (porcelain.error)
9686
+ plumbing.flags += (porcelain.flags)
9687
+ plumbing.node_id = (porcelain.node_id)
9688
+ plumbing.reachability = (porcelain.reachability)
9689
+ plumbing.secret_store_id = (porcelain.secret_store_id)
9690
+ plumbing.status = (porcelain.status)
9691
+ plumbing
9692
+ end
9693
+ def self.convert_repeated_secret_store_health_to_plumbing(porcelains)
9694
+ items = Array.new
9695
+ porcelains.each do |porcelain|
9696
+ plumbing = convert_secret_store_health_to_plumbing(porcelain)
9697
+ items.append(plumbing)
9698
+ end
9699
+ items
9700
+ end
9701
+
9702
+ def self.convert_repeated_secret_store_health_to_porcelain(plumbings)
9703
+ items = Array.new
9704
+ plumbings.each do |plumbing|
9705
+ porcelain = convert_secret_store_health_to_porcelain(plumbing)
9706
+ items.append(porcelain)
9707
+ end
9708
+ items
9709
+ end
9710
+ def self.convert_secret_store_health_list_response_to_porcelain(plumbing)
9711
+ if plumbing == nil
9712
+ return nil
9713
+ end
9714
+ porcelain = SecretStoreHealthListResponse.new()
9715
+ porcelain.meta = convert_list_response_metadata_to_porcelain(plumbing.meta)
9716
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
9717
+ porcelain.secret_store_healths = convert_repeated_secret_store_health_to_porcelain(plumbing.secret_store_healths)
9718
+ porcelain
9719
+ end
9720
+
9721
+ def self.convert_secret_store_health_list_response_to_plumbing(porcelain)
9722
+ if porcelain == nil
9723
+ return nil
9724
+ end
9725
+ plumbing = V1::SecretStoreHealthListResponse.new()
9726
+ plumbing.meta = convert_list_response_metadata_to_plumbing(porcelain.meta)
9727
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
9728
+ plumbing.secret_store_healths += convert_repeated_secret_store_health_to_plumbing(porcelain.secret_store_healths)
9729
+ plumbing
9730
+ end
9731
+ def self.convert_repeated_secret_store_health_list_response_to_plumbing(porcelains)
9732
+ items = Array.new
9733
+ porcelains.each do |porcelain|
9734
+ plumbing = convert_secret_store_health_list_response_to_plumbing(porcelain)
9735
+ items.append(plumbing)
9736
+ end
9737
+ items
9738
+ end
9739
+
9740
+ def self.convert_repeated_secret_store_health_list_response_to_porcelain(plumbings)
9741
+ items = Array.new
9742
+ plumbings.each do |plumbing|
9743
+ porcelain = convert_secret_store_health_list_response_to_porcelain(plumbing)
9744
+ items.append(porcelain)
9745
+ end
9746
+ items
9747
+ end
9748
+ def self.convert_secret_store_healthcheck_response_to_porcelain(plumbing)
9749
+ if plumbing == nil
9750
+ return nil
9751
+ end
9752
+ porcelain = SecretStoreHealthcheckResponse.new()
9753
+ porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
9754
+ porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
9755
+ porcelain
9756
+ end
9757
+
9758
+ def self.convert_secret_store_healthcheck_response_to_plumbing(porcelain)
9759
+ if porcelain == nil
9760
+ return nil
9761
+ end
9762
+ plumbing = V1::SecretStoreHealthcheckResponse.new()
9763
+ plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta)
9764
+ plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
9765
+ plumbing
9766
+ end
9767
+ def self.convert_repeated_secret_store_healthcheck_response_to_plumbing(porcelains)
9768
+ items = Array.new
9769
+ porcelains.each do |porcelain|
9770
+ plumbing = convert_secret_store_healthcheck_response_to_plumbing(porcelain)
9771
+ items.append(plumbing)
9772
+ end
9773
+ items
9774
+ end
9775
+
9776
+ def self.convert_repeated_secret_store_healthcheck_response_to_porcelain(plumbings)
9777
+ items = Array.new
9778
+ plumbings.each do |plumbing|
9779
+ porcelain = convert_secret_store_healthcheck_response_to_porcelain(plumbing)
9780
+ items.append(porcelain)
9781
+ end
9782
+ items
9783
+ end
9625
9784
  def self.convert_secret_store_history_to_porcelain(plumbing)
9626
9785
  if plumbing == nil
9627
9786
  return nil
@@ -10270,6 +10429,98 @@ module SDM
10270
10429
  end
10271
10430
  items
10272
10431
  end
10432
+ def self.convert_vault_app_role_cert_ssh_store_to_porcelain(plumbing)
10433
+ if plumbing == nil
10434
+ return nil
10435
+ end
10436
+ porcelain = VaultAppRoleCertSSHStore.new()
10437
+ porcelain.id = (plumbing.id)
10438
+ porcelain.name = (plumbing.name)
10439
+ porcelain.namespace = (plumbing.namespace)
10440
+ porcelain.server_address = (plumbing.server_address)
10441
+ porcelain.signing_role = (plumbing.signing_role)
10442
+ porcelain.ssh_mount_point = (plumbing.ssh_mount_point)
10443
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
10444
+ porcelain
10445
+ end
10446
+
10447
+ def self.convert_vault_app_role_cert_ssh_store_to_plumbing(porcelain)
10448
+ if porcelain == nil
10449
+ return nil
10450
+ end
10451
+ plumbing = V1::VaultAppRoleCertSSHStore.new()
10452
+ plumbing.id = (porcelain.id)
10453
+ plumbing.name = (porcelain.name)
10454
+ plumbing.namespace = (porcelain.namespace)
10455
+ plumbing.server_address = (porcelain.server_address)
10456
+ plumbing.signing_role = (porcelain.signing_role)
10457
+ plumbing.ssh_mount_point = (porcelain.ssh_mount_point)
10458
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
10459
+ plumbing
10460
+ end
10461
+ def self.convert_repeated_vault_app_role_cert_ssh_store_to_plumbing(porcelains)
10462
+ items = Array.new
10463
+ porcelains.each do |porcelain|
10464
+ plumbing = convert_vault_app_role_cert_ssh_store_to_plumbing(porcelain)
10465
+ items.append(plumbing)
10466
+ end
10467
+ items
10468
+ end
10469
+
10470
+ def self.convert_repeated_vault_app_role_cert_ssh_store_to_porcelain(plumbings)
10471
+ items = Array.new
10472
+ plumbings.each do |plumbing|
10473
+ porcelain = convert_vault_app_role_cert_ssh_store_to_porcelain(plumbing)
10474
+ items.append(porcelain)
10475
+ end
10476
+ items
10477
+ end
10478
+ def self.convert_vault_app_role_cert_x_509_store_to_porcelain(plumbing)
10479
+ if plumbing == nil
10480
+ return nil
10481
+ end
10482
+ porcelain = VaultAppRoleCertX509Store.new()
10483
+ porcelain.id = (plumbing.id)
10484
+ porcelain.name = (plumbing.name)
10485
+ porcelain.namespace = (plumbing.namespace)
10486
+ porcelain.pki_mount_point = (plumbing.pki_mount_point)
10487
+ porcelain.server_address = (plumbing.server_address)
10488
+ porcelain.signing_role = (plumbing.signing_role)
10489
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
10490
+ porcelain
10491
+ end
10492
+
10493
+ def self.convert_vault_app_role_cert_x_509_store_to_plumbing(porcelain)
10494
+ if porcelain == nil
10495
+ return nil
10496
+ end
10497
+ plumbing = V1::VaultAppRoleCertX509Store.new()
10498
+ plumbing.id = (porcelain.id)
10499
+ plumbing.name = (porcelain.name)
10500
+ plumbing.namespace = (porcelain.namespace)
10501
+ plumbing.pki_mount_point = (porcelain.pki_mount_point)
10502
+ plumbing.server_address = (porcelain.server_address)
10503
+ plumbing.signing_role = (porcelain.signing_role)
10504
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
10505
+ plumbing
10506
+ end
10507
+ def self.convert_repeated_vault_app_role_cert_x_509_store_to_plumbing(porcelains)
10508
+ items = Array.new
10509
+ porcelains.each do |porcelain|
10510
+ plumbing = convert_vault_app_role_cert_x_509_store_to_plumbing(porcelain)
10511
+ items.append(plumbing)
10512
+ end
10513
+ items
10514
+ end
10515
+
10516
+ def self.convert_repeated_vault_app_role_cert_x_509_store_to_porcelain(plumbings)
10517
+ items = Array.new
10518
+ plumbings.each do |plumbing|
10519
+ porcelain = convert_vault_app_role_cert_x_509_store_to_porcelain(plumbing)
10520
+ items.append(porcelain)
10521
+ end
10522
+ items
10523
+ end
10273
10524
  def self.convert_vault_app_role_store_to_porcelain(plumbing)
10274
10525
  if plumbing == nil
10275
10526
  return nil
@@ -10312,6 +10563,110 @@ module SDM
10312
10563
  end
10313
10564
  items
10314
10565
  end
10566
+ def self.convert_vault_tls_cert_ssh_store_to_porcelain(plumbing)
10567
+ if plumbing == nil
10568
+ return nil
10569
+ end
10570
+ porcelain = VaultTLSCertSSHStore.new()
10571
+ porcelain.ca_cert_path = (plumbing.CA_cert_path)
10572
+ porcelain.client_cert_path = (plumbing.client_cert_path)
10573
+ porcelain.client_key_path = (plumbing.client_key_path)
10574
+ porcelain.id = (plumbing.id)
10575
+ porcelain.name = (plumbing.name)
10576
+ porcelain.namespace = (plumbing.namespace)
10577
+ porcelain.server_address = (plumbing.server_address)
10578
+ porcelain.signing_role = (plumbing.signing_role)
10579
+ porcelain.ssh_mount_point = (plumbing.ssh_mount_point)
10580
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
10581
+ porcelain
10582
+ end
10583
+
10584
+ def self.convert_vault_tls_cert_ssh_store_to_plumbing(porcelain)
10585
+ if porcelain == nil
10586
+ return nil
10587
+ end
10588
+ plumbing = V1::VaultTLSCertSSHStore.new()
10589
+ plumbing.CA_cert_path = (porcelain.ca_cert_path)
10590
+ plumbing.client_cert_path = (porcelain.client_cert_path)
10591
+ plumbing.client_key_path = (porcelain.client_key_path)
10592
+ plumbing.id = (porcelain.id)
10593
+ plumbing.name = (porcelain.name)
10594
+ plumbing.namespace = (porcelain.namespace)
10595
+ plumbing.server_address = (porcelain.server_address)
10596
+ plumbing.signing_role = (porcelain.signing_role)
10597
+ plumbing.ssh_mount_point = (porcelain.ssh_mount_point)
10598
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
10599
+ plumbing
10600
+ end
10601
+ def self.convert_repeated_vault_tls_cert_ssh_store_to_plumbing(porcelains)
10602
+ items = Array.new
10603
+ porcelains.each do |porcelain|
10604
+ plumbing = convert_vault_tls_cert_ssh_store_to_plumbing(porcelain)
10605
+ items.append(plumbing)
10606
+ end
10607
+ items
10608
+ end
10609
+
10610
+ def self.convert_repeated_vault_tls_cert_ssh_store_to_porcelain(plumbings)
10611
+ items = Array.new
10612
+ plumbings.each do |plumbing|
10613
+ porcelain = convert_vault_tls_cert_ssh_store_to_porcelain(plumbing)
10614
+ items.append(porcelain)
10615
+ end
10616
+ items
10617
+ end
10618
+ def self.convert_vault_tls_cert_x_509_store_to_porcelain(plumbing)
10619
+ if plumbing == nil
10620
+ return nil
10621
+ end
10622
+ porcelain = VaultTLSCertX509Store.new()
10623
+ porcelain.ca_cert_path = (plumbing.CA_cert_path)
10624
+ porcelain.client_cert_path = (plumbing.client_cert_path)
10625
+ porcelain.client_key_path = (plumbing.client_key_path)
10626
+ porcelain.id = (plumbing.id)
10627
+ porcelain.name = (plumbing.name)
10628
+ porcelain.namespace = (plumbing.namespace)
10629
+ porcelain.pki_mount_point = (plumbing.pki_mount_point)
10630
+ porcelain.server_address = (plumbing.server_address)
10631
+ porcelain.signing_role = (plumbing.signing_role)
10632
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
10633
+ porcelain
10634
+ end
10635
+
10636
+ def self.convert_vault_tls_cert_x_509_store_to_plumbing(porcelain)
10637
+ if porcelain == nil
10638
+ return nil
10639
+ end
10640
+ plumbing = V1::VaultTLSCertX509Store.new()
10641
+ plumbing.CA_cert_path = (porcelain.ca_cert_path)
10642
+ plumbing.client_cert_path = (porcelain.client_cert_path)
10643
+ plumbing.client_key_path = (porcelain.client_key_path)
10644
+ plumbing.id = (porcelain.id)
10645
+ plumbing.name = (porcelain.name)
10646
+ plumbing.namespace = (porcelain.namespace)
10647
+ plumbing.pki_mount_point = (porcelain.pki_mount_point)
10648
+ plumbing.server_address = (porcelain.server_address)
10649
+ plumbing.signing_role = (porcelain.signing_role)
10650
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
10651
+ plumbing
10652
+ end
10653
+ def self.convert_repeated_vault_tls_cert_x_509_store_to_plumbing(porcelains)
10654
+ items = Array.new
10655
+ porcelains.each do |porcelain|
10656
+ plumbing = convert_vault_tls_cert_x_509_store_to_plumbing(porcelain)
10657
+ items.append(plumbing)
10658
+ end
10659
+ items
10660
+ end
10661
+
10662
+ def self.convert_repeated_vault_tls_cert_x_509_store_to_porcelain(plumbings)
10663
+ items = Array.new
10664
+ plumbings.each do |plumbing|
10665
+ porcelain = convert_vault_tls_cert_x_509_store_to_porcelain(plumbing)
10666
+ items.append(porcelain)
10667
+ end
10668
+ items
10669
+ end
10315
10670
  def self.convert_vault_tls_store_to_porcelain(plumbing)
10316
10671
  if plumbing == nil
10317
10672
  return nil
@@ -10360,6 +10715,98 @@ module SDM
10360
10715
  end
10361
10716
  items
10362
10717
  end
10718
+ def self.convert_vault_token_cert_ssh_store_to_porcelain(plumbing)
10719
+ if plumbing == nil
10720
+ return nil
10721
+ end
10722
+ porcelain = VaultTokenCertSSHStore.new()
10723
+ porcelain.id = (plumbing.id)
10724
+ porcelain.name = (plumbing.name)
10725
+ porcelain.namespace = (plumbing.namespace)
10726
+ porcelain.server_address = (plumbing.server_address)
10727
+ porcelain.signing_role = (plumbing.signing_role)
10728
+ porcelain.ssh_mount_point = (plumbing.ssh_mount_point)
10729
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
10730
+ porcelain
10731
+ end
10732
+
10733
+ def self.convert_vault_token_cert_ssh_store_to_plumbing(porcelain)
10734
+ if porcelain == nil
10735
+ return nil
10736
+ end
10737
+ plumbing = V1::VaultTokenCertSSHStore.new()
10738
+ plumbing.id = (porcelain.id)
10739
+ plumbing.name = (porcelain.name)
10740
+ plumbing.namespace = (porcelain.namespace)
10741
+ plumbing.server_address = (porcelain.server_address)
10742
+ plumbing.signing_role = (porcelain.signing_role)
10743
+ plumbing.ssh_mount_point = (porcelain.ssh_mount_point)
10744
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
10745
+ plumbing
10746
+ end
10747
+ def self.convert_repeated_vault_token_cert_ssh_store_to_plumbing(porcelains)
10748
+ items = Array.new
10749
+ porcelains.each do |porcelain|
10750
+ plumbing = convert_vault_token_cert_ssh_store_to_plumbing(porcelain)
10751
+ items.append(plumbing)
10752
+ end
10753
+ items
10754
+ end
10755
+
10756
+ def self.convert_repeated_vault_token_cert_ssh_store_to_porcelain(plumbings)
10757
+ items = Array.new
10758
+ plumbings.each do |plumbing|
10759
+ porcelain = convert_vault_token_cert_ssh_store_to_porcelain(plumbing)
10760
+ items.append(porcelain)
10761
+ end
10762
+ items
10763
+ end
10764
+ def self.convert_vault_token_cert_x_509_store_to_porcelain(plumbing)
10765
+ if plumbing == nil
10766
+ return nil
10767
+ end
10768
+ porcelain = VaultTokenCertX509Store.new()
10769
+ porcelain.id = (plumbing.id)
10770
+ porcelain.name = (plumbing.name)
10771
+ porcelain.namespace = (plumbing.namespace)
10772
+ porcelain.pki_mount_point = (plumbing.pki_mount_point)
10773
+ porcelain.server_address = (plumbing.server_address)
10774
+ porcelain.signing_role = (plumbing.signing_role)
10775
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
10776
+ porcelain
10777
+ end
10778
+
10779
+ def self.convert_vault_token_cert_x_509_store_to_plumbing(porcelain)
10780
+ if porcelain == nil
10781
+ return nil
10782
+ end
10783
+ plumbing = V1::VaultTokenCertX509Store.new()
10784
+ plumbing.id = (porcelain.id)
10785
+ plumbing.name = (porcelain.name)
10786
+ plumbing.namespace = (porcelain.namespace)
10787
+ plumbing.pki_mount_point = (porcelain.pki_mount_point)
10788
+ plumbing.server_address = (porcelain.server_address)
10789
+ plumbing.signing_role = (porcelain.signing_role)
10790
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
10791
+ plumbing
10792
+ end
10793
+ def self.convert_repeated_vault_token_cert_x_509_store_to_plumbing(porcelains)
10794
+ items = Array.new
10795
+ porcelains.each do |porcelain|
10796
+ plumbing = convert_vault_token_cert_x_509_store_to_plumbing(porcelain)
10797
+ items.append(plumbing)
10798
+ end
10799
+ items
10800
+ end
10801
+
10802
+ def self.convert_repeated_vault_token_cert_x_509_store_to_porcelain(plumbings)
10803
+ items = Array.new
10804
+ plumbings.each do |plumbing|
10805
+ porcelain = convert_vault_token_cert_x_509_store_to_porcelain(plumbing)
10806
+ items.append(porcelain)
10807
+ end
10808
+ items
10809
+ end
10363
10810
  def self.convert_vault_token_store_to_porcelain(plumbing)
10364
10811
  if plumbing == nil
10365
10812
  return nil
@@ -0,0 +1,72 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
16
+ # source: secret_store_healths.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "options_pb"
21
+ require "google/protobuf/timestamp_pb"
22
+ require "spec_pb"
23
+
24
+ Google::Protobuf::DescriptorPool.generated_pool.build do
25
+ add_file("secret_store_healths.proto", :syntax => :proto3) do
26
+ add_message "v1.SecretStoreHealthListRequest" do
27
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
28
+ optional :filter, :string, 2
29
+ end
30
+ add_message "v1.SecretStoreHealthListResponse" do
31
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
32
+ repeated :secret_store_healths, :message, 2, "v1.SecretStoreHealth"
33
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
34
+ end
35
+ add_message "v1.SecretStoreHealthCheckRequest" do
36
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
37
+ optional :secret_store_id, :string, 2
38
+ end
39
+ add_message "v1.SecretStoreHealthcheckRequest" do
40
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
41
+ optional :secret_store_id, :string, 2
42
+ end
43
+ add_message "v1.SecretStoreHealthCheckResponse" do
44
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
45
+ optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
46
+ end
47
+ add_message "v1.SecretStoreHealthcheckResponse" do
48
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
49
+ optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
50
+ end
51
+ add_message "v1.SecretStoreHealth" do
52
+ optional :secret_store_id, :string, 1
53
+ optional :node_id, :string, 2
54
+ optional :status, :string, 4
55
+ optional :changed_at, :message, 6, "google.protobuf.Timestamp"
56
+ optional :checked_at, :message, 7, "google.protobuf.Timestamp"
57
+ optional :error, :string, 8
58
+ optional :reachability, :string, 9
59
+ repeated :flags, :string, 10
60
+ end
61
+ end
62
+ end
63
+
64
+ module V1
65
+ SecretStoreHealthListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHealthListRequest").msgclass
66
+ SecretStoreHealthListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHealthListResponse").msgclass
67
+ SecretStoreHealthCheckRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHealthCheckRequest").msgclass
68
+ SecretStoreHealthcheckRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHealthcheckRequest").msgclass
69
+ SecretStoreHealthCheckResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHealthCheckResponse").msgclass
70
+ SecretStoreHealthcheckResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHealthcheckResponse").msgclass
71
+ SecretStoreHealth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHealth").msgclass
72
+ end