strongdm 6.6.0 → 6.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb444a5cb1c2b6577d8162dfa6839123c1e737761ec042ce18294c77e9f7bb5e
4
- data.tar.gz: 6968aff57afa8f68a0a52f10eff4634e7eda0d52ccaa978796ca238215458983
3
+ metadata.gz: e8de5ca31e2ddbf81082ccbdf7dafa02934a552cc0da4aedd8600ef95ef6ce9d
4
+ data.tar.gz: d035c45d701984f55353293ab8dc7396f829bce1e951d2b14c0042f8ea6ccc22
5
5
  SHA512:
6
- metadata.gz: 226e5c8dcbbd0953ec70009c94b0d63de5b7d8db148d99eae174dbe1367dbea7f828f6fe097e5a4266b1438c728e9b3a0e7c9269f119a07848d248e25e6e18a4
7
- data.tar.gz: ab74faa3298a483ccb7f4e3467d7505ce41820f5d028b697e00885ac8f1687ff08b92fe85ce7d28684513c32e1ee490a9d1e526fdacdb6188f1858d56cd4ed24
6
+ metadata.gz: 2ce846e931150504b22e44a6252d7ec78c03a2b6dc0a77e3717c5c75ea62bdf59abf83c66afcacf0b507b3ffbe62bd7e70b290eb91f45cb42bec7e9d43495c1d
7
+ data.tar.gz: 2ec7983f5e3fbc0e1e3f3508c2847bc84e7918b05163a32eb0aa8adb6ca00a9a857f7746f0f81ac3f2db468b3f792262b4c3490d3c009879e11121f9f8ac13f1
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8
1
+ b28e0cc368d9174e5858abd41992efff0a030bcb
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 sdmrelease <support@strongdm.com> 1708981380 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 sdmrelease <support@strongdm.com> 1708981380 +0000 checkout: moving from master to master
3
- 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 b28e0cc368d9174e5858abd41992efff0a030bcb sdmrelease <support@strongdm.com> 1708981380 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 b28e0cc368d9174e5858abd41992efff0a030bcb sdmrelease <support@strongdm.com> 1709071884 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ b28e0cc368d9174e5858abd41992efff0a030bcb b28e0cc368d9174e5858abd41992efff0a030bcb sdmrelease <support@strongdm.com> 1709071884 +0000 checkout: moving from master to master
3
+ b28e0cc368d9174e5858abd41992efff0a030bcb e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 sdmrelease <support@strongdm.com> 1709071884 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 sdmrelease <support@strongdm.com> 1708981380 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 b28e0cc368d9174e5858abd41992efff0a030bcb sdmrelease <support@strongdm.com> 1708981380 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 b28e0cc368d9174e5858abd41992efff0a030bcb sdmrelease <support@strongdm.com> 1709071884 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ b28e0cc368d9174e5858abd41992efff0a030bcb e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 sdmrelease <support@strongdm.com> 1709071884 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 sdmrelease <support@strongdm.com> 1708981380 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 b28e0cc368d9174e5858abd41992efff0a030bcb sdmrelease <support@strongdm.com> 1709071884 +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
- b28e0cc368d9174e5858abd41992efff0a030bcb refs/remotes/origin/development
3
- 998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 refs/remotes/origin/master
2
+ e37aa2b50ffd917949a8e1c7a1fa28d12071fa69 refs/remotes/origin/development
3
+ b28e0cc368d9174e5858abd41992efff0a030bcb 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
@@ -97,3 +97,4 @@ f4af6ebad8174f8e5aeec63536db9290597a3982 refs/tags/v6.2.1
97
97
  3ca1e977d66e0fb0232024c33a223a789453031c refs/tags/v6.3.1
98
98
  e015e0386c2f0b99314bb46ae71631afdbcf4ed0 refs/tags/v6.4.0
99
99
  998d2c9c4295d69cbfbbb233e70d3b1a62b1b6e8 refs/tags/v6.5.0
100
+ b28e0cc368d9174e5858abd41992efff0a030bcb refs/tags/v6.6.0
@@ -1 +1 @@
1
- b28e0cc368d9174e5858abd41992efff0a030bcb
1
+ e37aa2b50ffd917949a8e1c7a1fa28d12071fa69
data/lib/grpc/plumbing.rb CHANGED
@@ -527,6 +527,54 @@ module SDM
527
527
  end
528
528
  items
529
529
  end
530
+ def self.convert_aws_cert_x_509_store_to_porcelain(plumbing)
531
+ if plumbing == nil
532
+ return nil
533
+ end
534
+ porcelain = AWSCertX509Store.new()
535
+ porcelain.caarn = (plumbing.caArn)
536
+ porcelain.certificatetemplatearn = (plumbing.certificateTemplateArn)
537
+ porcelain.id = (plumbing.id)
538
+ porcelain.issuedcertttlminutes = (plumbing.issuedCertTTLMinutes)
539
+ porcelain.name = (plumbing.name)
540
+ porcelain.region = (plumbing.region)
541
+ porcelain.signingalgo = (plumbing.signingAlgo)
542
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
543
+ porcelain
544
+ end
545
+
546
+ def self.convert_aws_cert_x_509_store_to_plumbing(porcelain)
547
+ if porcelain == nil
548
+ return nil
549
+ end
550
+ plumbing = V1::AWSCertX509Store.new()
551
+ plumbing.caArn = (porcelain.caarn)
552
+ plumbing.certificateTemplateArn = (porcelain.certificatetemplatearn)
553
+ plumbing.id = (porcelain.id)
554
+ plumbing.issuedCertTTLMinutes = (porcelain.issuedcertttlminutes)
555
+ plumbing.name = (porcelain.name)
556
+ plumbing.region = (porcelain.region)
557
+ plumbing.signingAlgo = (porcelain.signingalgo)
558
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
559
+ plumbing
560
+ end
561
+ def self.convert_repeated_aws_cert_x_509_store_to_plumbing(porcelains)
562
+ items = Array.new
563
+ porcelains.each do |porcelain|
564
+ plumbing = convert_aws_cert_x_509_store_to_plumbing(porcelain)
565
+ items.append(plumbing)
566
+ end
567
+ items
568
+ end
569
+
570
+ def self.convert_repeated_aws_cert_x_509_store_to_porcelain(plumbings)
571
+ items = Array.new
572
+ plumbings.each do |plumbing|
573
+ porcelain = convert_aws_cert_x_509_store_to_porcelain(plumbing)
574
+ items.append(porcelain)
575
+ end
576
+ items
577
+ end
530
578
  def self.convert_aws_console_to_porcelain(plumbing)
531
579
  if plumbing == nil
532
580
  return nil
@@ -9540,6 +9588,9 @@ module SDM
9540
9588
  if porcelain.instance_of? AWSStore
9541
9589
  plumbing.aws = convert_aws_store_to_plumbing(porcelain)
9542
9590
  end
9591
+ if porcelain.instance_of? AWSCertX509Store
9592
+ plumbing.aws_cert_x_509 = convert_aws_cert_x_509_store_to_plumbing(porcelain)
9593
+ end
9543
9594
  if porcelain.instance_of? AzureStore
9544
9595
  plumbing.azure = convert_azure_store_to_plumbing(porcelain)
9545
9596
  end
@@ -9598,6 +9649,9 @@ module SDM
9598
9649
  if plumbing.aws != nil
9599
9650
  return convert_aws_store_to_porcelain(plumbing.aws)
9600
9651
  end
9652
+ if plumbing.aws_cert_x_509 != nil
9653
+ return convert_aws_cert_x_509_store_to_porcelain(plumbing.aws_cert_x_509)
9654
+ end
9601
9655
  if plumbing.azure != nil
9602
9656
  return convert_azure_store_to_porcelain(plumbing.azure)
9603
9657
  end
@@ -25,6 +25,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
25
25
  add_message "v1.SecretStore" do
26
26
  oneof :secret_store do
27
27
  optional :aws, :message, 3, "v1.AWSStore"
28
+ optional :aws_cert_x_509, :message, 30, "v1.AWSCertX509Store"
28
29
  optional :azure, :message, 101, "v1.AzureStore"
29
30
  optional :cyberark_conjur, :message, 301, "v1.CyberarkConjurStore"
30
31
  optional :cyberark_pam, :message, 303, "v1.CyberarkPAMStore"
@@ -49,6 +50,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
49
50
  optional :region, :string, 3
50
51
  optional :tags, :message, 4, "v1.Tags"
51
52
  end
53
+ add_message "v1.AWSCertX509Store" do
54
+ optional :id, :string, 1
55
+ optional :name, :string, 2
56
+ optional :caArn, :string, 5
57
+ optional :certificateTemplateArn, :string, 7
58
+ optional :issuedCertTTLMinutes, :string, 8
59
+ optional :region, :string, 3
60
+ optional :signingAlgo, :string, 6
61
+ optional :tags, :message, 4, "v1.Tags"
62
+ end
52
63
  add_message "v1.AzureStore" do
53
64
  optional :id, :string, 1
54
65
  optional :name, :string, 2
@@ -185,6 +196,7 @@ end
185
196
  module V1
186
197
  SecretStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStore").msgclass
187
198
  AWSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSStore").msgclass
199
+ AWSCertX509Store = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSCertX509Store").msgclass
188
200
  AzureStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureStore").msgclass
189
201
  CyberarkConjurStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CyberarkConjurStore").msgclass
190
202
  CyberarkPAMStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CyberarkPAMStore").msgclass
@@ -458,6 +458,54 @@ module SDM
458
458
  end
459
459
  end
460
460
 
461
+ # AWSCertX509Store is currently unstable, and its API may change, or it may be removed, without a major version bump.
462
+ class AWSCertX509Store
463
+ # The ARN of the CA in AWS Private CA
464
+ attr_accessor :caarn
465
+ # The ARN of the AWS certificate template for requested certificates. Must allow SAN, key usage, and ext key usage passthrough from CSR
466
+ attr_accessor :certificatetemplatearn
467
+ # Unique identifier of the SecretStore.
468
+ attr_accessor :id
469
+ # The lifetime of certificates issued by this CA represented in minutes e.g. 600 (for 10 hours). Defaults to 8 hours if not provided.
470
+ attr_accessor :issuedcertttlminutes
471
+ # Unique human-readable name of the SecretStore.
472
+ attr_accessor :name
473
+ # The AWS region to target e.g. us-east-1
474
+ attr_accessor :region
475
+ # The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key. e.g. SHA256WITHRSA
476
+ attr_accessor :signingalgo
477
+ # Tags is a map of key, value pairs.
478
+ attr_accessor :tags
479
+
480
+ def initialize(
481
+ caarn: nil,
482
+ certificatetemplatearn: nil,
483
+ id: nil,
484
+ issuedcertttlminutes: nil,
485
+ name: nil,
486
+ region: nil,
487
+ signingalgo: nil,
488
+ tags: nil
489
+ )
490
+ @caarn = caarn == nil ? "" : caarn
491
+ @certificatetemplatearn = certificatetemplatearn == nil ? "" : certificatetemplatearn
492
+ @id = id == nil ? "" : id
493
+ @issuedcertttlminutes = issuedcertttlminutes == nil ? "" : issuedcertttlminutes
494
+ @name = name == nil ? "" : name
495
+ @region = region == nil ? "" : region
496
+ @signingalgo = signingalgo == nil ? "" : signingalgo
497
+ @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
498
+ end
499
+
500
+ def to_json(options = {})
501
+ hash = {}
502
+ self.instance_variables.each do |var|
503
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
504
+ end
505
+ hash.to_json
506
+ end
507
+ end
508
+
461
509
  class AWSConsole
462
510
  # The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
463
511
  attr_accessor :bind_interface
data/lib/strongdm.rb CHANGED
@@ -29,7 +29,7 @@ module SDM #:nodoc:
29
29
  DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms
30
30
  DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds
31
31
  API_VERSION = "2021-08-23"
32
- USER_AGENT = "strongdm-sdk-ruby/6.6.0"
32
+ USER_AGENT = "strongdm-sdk-ruby/6.7.0"
33
33
  private_constant :DEFAULT_MAX_RETRIES, :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :API_VERSION, :USER_AGENT
34
34
 
35
35
  # Creates a new strongDM API client.
data/lib/svc.rb CHANGED
@@ -3757,6 +3757,7 @@ module SDM #:nodoc:
3757
3757
  #
3758
3758
  # See:
3759
3759
  # {AWSStore}
3760
+ # {AWSCertX509Store}
3760
3761
  # {AzureStore}
3761
3762
  # {CyberarkConjurStore}
3762
3763
  # {CyberarkPAMStore}
data/lib/version CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "6.6.0"
16
+ VERSION = "6.7.0"
17
17
  end
data/lib/version.rb CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "6.6.0"
16
+ VERSION = "6.7.0"
17
17
  end
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: 6.6.0
4
+ version: 6.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - strongDM Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -81,8 +81,8 @@ files:
81
81
  - "./.git/logs/HEAD"
82
82
  - "./.git/logs/refs/heads/master"
83
83
  - "./.git/logs/refs/remotes/origin/HEAD"
84
- - "./.git/objects/pack/pack-0c802db963cb0bdcf17886c66f050fbf1796db3d.idx"
85
- - "./.git/objects/pack/pack-0c802db963cb0bdcf17886c66f050fbf1796db3d.pack"
84
+ - "./.git/objects/pack/pack-82546c160db6f2093fffb13fda2210198cfda289.idx"
85
+ - "./.git/objects/pack/pack-82546c160db6f2093fffb13fda2210198cfda289.pack"
86
86
  - "./.git/packed-refs"
87
87
  - "./.git/refs/heads/master"
88
88
  - "./.git/refs/remotes/origin/HEAD"