strongdm 15.31.0 → 15.33.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: e315ae4b0a68e27c1998c6a4e7558203c13978045c78cc165119c372f348da66
4
- data.tar.gz: 8dfbd8e9c3c1f6d0b07fbc898cbb9440987645bb1f612385a9ac954f72a5e377
3
+ metadata.gz: 3ce0021de696acf02c078778d0f00061081cae9de64ab2cf11bb4de0c56995a3
4
+ data.tar.gz: '058d1fdcc7ec7dfc92bbdf24eca19376b9d356caef85e843196326c7cd3170b3'
5
5
  SHA512:
6
- metadata.gz: efe65740abfa2a298cb4c30bf289368571dc09528871fec485f3f3d31921da80bd8d310b2598b104b93e506a19688c49d332193ae8f4337d598aac54c2219bc4
7
- data.tar.gz: e976dca21694769e95839ec4414f89c2f14d11ff052b4d6e3fcfa1ac44a32ce96a51855280ea909571346aa3d57859637a3649666b57c0c012f8448e141f19d9
6
+ metadata.gz: a35f538c62678504435694f893b177b7e6da3347135fa21b74fc4ad6021ddc98b6b837da575ba177ea13f85ab7f852beb6d35b4bd7acb9db360d84e53cdffe74
7
+ data.tar.gz: 19bea0be3fabaceecc6bc1effa9433a0eb2c0a2185e5ca586c99bdd495429ffc541188128972701f03fc8f4244a14177ce80644558325a4dcba855aee8be09ed
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- dd0e56c1b216e4c5828c092bc1bdc5c763804def
1
+ 79414c54d0317c82e4ab6ac180d492664ced9c3c
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 dd0e56c1b216e4c5828c092bc1bdc5c763804def root <root@54b70ede765e.(none)> 1763139914 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- dd0e56c1b216e4c5828c092bc1bdc5c763804def dd0e56c1b216e4c5828c092bc1bdc5c763804def root <root@54b70ede765e.(none)> 1763139914 +0000 checkout: moving from master to master
3
- dd0e56c1b216e4c5828c092bc1bdc5c763804def 79414c54d0317c82e4ab6ac180d492664ced9c3c root <root@54b70ede765e.(none)> 1763139914 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 79414c54d0317c82e4ab6ac180d492664ced9c3c root <root@d0c161968030.(none)> 1763553133 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 79414c54d0317c82e4ab6ac180d492664ced9c3c 79414c54d0317c82e4ab6ac180d492664ced9c3c root <root@d0c161968030.(none)> 1763553133 +0000 checkout: moving from master to master
3
+ 79414c54d0317c82e4ab6ac180d492664ced9c3c cd129de1d73e1ab24098a9be54f50fc78cfd31b7 root <root@d0c161968030.(none)> 1763553133 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 dd0e56c1b216e4c5828c092bc1bdc5c763804def root <root@54b70ede765e.(none)> 1763139914 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- dd0e56c1b216e4c5828c092bc1bdc5c763804def 79414c54d0317c82e4ab6ac180d492664ced9c3c root <root@54b70ede765e.(none)> 1763139914 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 79414c54d0317c82e4ab6ac180d492664ced9c3c root <root@d0c161968030.(none)> 1763553133 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 79414c54d0317c82e4ab6ac180d492664ced9c3c cd129de1d73e1ab24098a9be54f50fc78cfd31b7 root <root@d0c161968030.(none)> 1763553133 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 dd0e56c1b216e4c5828c092bc1bdc5c763804def root <root@54b70ede765e.(none)> 1763139914 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 79414c54d0317c82e4ab6ac180d492664ced9c3c root <root@d0c161968030.(none)> 1763553133 +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
- 79414c54d0317c82e4ab6ac180d492664ced9c3c refs/remotes/origin/development
3
- dd0e56c1b216e4c5828c092bc1bdc5c763804def refs/remotes/origin/master
2
+ cd129de1d73e1ab24098a9be54f50fc78cfd31b7 refs/remotes/origin/development
3
+ 79414c54d0317c82e4ab6ac180d492664ced9c3c 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
@@ -120,6 +120,7 @@ a4fd017725511cf32effc6426ca74b714644d37d refs/tags/v15.25.0
120
120
  25679d89a3cf0c95ce09a35f00dd9bb6425e0946 refs/tags/v15.27.0
121
121
  a19a5670f1583260058d10160faeee46ef5c6346 refs/tags/v15.28.0
122
122
  dd0e56c1b216e4c5828c092bc1bdc5c763804def refs/tags/v15.29.0
123
+ 79414c54d0317c82e4ab6ac180d492664ced9c3c refs/tags/v15.31.0
123
124
  cf3b15b82cb0c4229609c07c870c6cb4fd38ef75 refs/tags/v15.4.0
124
125
  0be2c5e7f7a90c49077548cb3a9bce234219b9f0 refs/tags/v15.5.0
125
126
  4b9cd43c5dda3f369b82b6a56132a5470ff9ff53 refs/tags/v15.6.0
@@ -1 +1 @@
1
- 79414c54d0317c82e4ab6ac180d492664ced9c3c
1
+ cd129de1d73e1ab24098a9be54f50fc78cfd31b7
data/lib/grpc/plumbing.rb CHANGED
@@ -16343,6 +16343,9 @@ module SDM
16343
16343
  if porcelain.instance_of? PostgresEngine
16344
16344
  plumbing.postgres = convert_postgres_engine_to_plumbing(porcelain)
16345
16345
  end
16346
+ if porcelain.instance_of? SqlserverEngine
16347
+ plumbing.sqlserver = convert_sqlserver_engine_to_plumbing(porcelain)
16348
+ end
16346
16349
  plumbing
16347
16350
  end
16348
16351
 
@@ -16362,6 +16365,9 @@ module SDM
16362
16365
  if plumbing.postgres != nil
16363
16366
  return convert_postgres_engine_to_porcelain(plumbing.postgres)
16364
16367
  end
16368
+ if plumbing.sqlserver != nil
16369
+ return convert_sqlserver_engine_to_porcelain(plumbing.sqlserver)
16370
+ end
16365
16371
  raise UnknownError.new("unknown polymorphic type, please upgrade your SDK")
16366
16372
  end
16367
16373
  def self.convert_repeated_secret_engine_to_plumbing(porcelains)
@@ -17616,6 +17622,72 @@ module SDM
17616
17622
  end
17617
17623
  items
17618
17624
  end
17625
+ def self.convert_sqlserver_engine_to_porcelain(plumbing)
17626
+ if plumbing == nil
17627
+ return nil
17628
+ end
17629
+ porcelain = SqlserverEngine.new()
17630
+ porcelain.after_read_ttl = convert_duration_to_porcelain(plumbing.after_read_ttl)
17631
+ porcelain.database = (plumbing.database)
17632
+ porcelain.hostname = (plumbing.hostname)
17633
+ porcelain.id = (plumbing.id)
17634
+ porcelain.key_rotation_interval_days = (plumbing.key_rotation_interval_days)
17635
+ porcelain.name = (plumbing.name)
17636
+ porcelain.password = (plumbing.password)
17637
+ porcelain.policy = convert_secret_engine_policy_to_porcelain(plumbing.policy)
17638
+ porcelain.port = (plumbing.port)
17639
+ porcelain.public_key = (plumbing.public_key)
17640
+ porcelain.secret_store_id = (plumbing.secret_store_id)
17641
+ porcelain.secret_store_root_path = (plumbing.secret_store_root_path)
17642
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
17643
+ porcelain.tls = (plumbing.tls)
17644
+ porcelain.tls_skip_verify = (plumbing.tls_skip_verify)
17645
+ porcelain.ttl = convert_duration_to_porcelain(plumbing.ttl)
17646
+ porcelain.username = (plumbing.username)
17647
+ porcelain
17648
+ end
17649
+
17650
+ def self.convert_sqlserver_engine_to_plumbing(porcelain)
17651
+ if porcelain == nil
17652
+ return nil
17653
+ end
17654
+ plumbing = V1::SqlserverEngine.new()
17655
+ plumbing.after_read_ttl = convert_duration_to_plumbing(porcelain.after_read_ttl)
17656
+ plumbing.database = (porcelain.database)
17657
+ plumbing.hostname = (porcelain.hostname)
17658
+ plumbing.id = (porcelain.id)
17659
+ plumbing.key_rotation_interval_days = (porcelain.key_rotation_interval_days)
17660
+ plumbing.name = (porcelain.name)
17661
+ plumbing.password = (porcelain.password)
17662
+ plumbing.policy = convert_secret_engine_policy_to_plumbing(porcelain.policy)
17663
+ plumbing.port = (porcelain.port)
17664
+ plumbing.public_key = (porcelain.public_key)
17665
+ plumbing.secret_store_id = (porcelain.secret_store_id)
17666
+ plumbing.secret_store_root_path = (porcelain.secret_store_root_path)
17667
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
17668
+ plumbing.tls = (porcelain.tls)
17669
+ plumbing.tls_skip_verify = (porcelain.tls_skip_verify)
17670
+ plumbing.ttl = convert_duration_to_plumbing(porcelain.ttl)
17671
+ plumbing.username = (porcelain.username)
17672
+ plumbing
17673
+ end
17674
+ def self.convert_repeated_sqlserver_engine_to_plumbing(porcelains)
17675
+ items = Array.new
17676
+ porcelains.each do |porcelain|
17677
+ plumbing = convert_sqlserver_engine_to_plumbing(porcelain)
17678
+ items.append(plumbing)
17679
+ end
17680
+ items
17681
+ end
17682
+
17683
+ def self.convert_repeated_sqlserver_engine_to_porcelain(plumbings)
17684
+ items = Array.new
17685
+ plumbings.each do |plumbing|
17686
+ porcelain = convert_sqlserver_engine_to_porcelain(plumbing)
17687
+ items.append(porcelain)
17688
+ end
17689
+ items
17690
+ end
17619
17691
  def self.convert_strong_vault_store_to_porcelain(plumbing)
17620
17692
  if plumbing == nil
17621
17693
  return nil
@@ -30,6 +30,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
30
30
  optional :key_value, :message, 331, "v1.KeyValueEngine"
31
31
  optional :mysql, :message, 334, "v1.MysqlEngine"
32
32
  optional :postgres, :message, 333, "v1.PostgresEngine"
33
+ optional :sqlserver, :message, 335, "v1.SqlserverEngine"
33
34
  end
34
35
  end
35
36
  add_message "v1.ActiveDirectoryEngine" do
@@ -106,6 +107,26 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
106
107
  optional :public_key, :bytes, 8
107
108
  optional :key_rotation_interval_days, :int32, 9
108
109
  end
110
+ add_message "v1.SqlserverEngine" do
111
+ optional :after_read_ttl, :message, 105, "google.protobuf.Duration"
112
+ optional :database, :string, 108
113
+ optional :hostname, :string, 101
114
+ optional :password, :string, 103
115
+ optional :policy, :message, 107, "v1.SecretEnginePolicy"
116
+ optional :port, :uint32, 104
117
+ optional :tls, :bool, 109
118
+ optional :tls_skip_verify, :bool, 1010
119
+ optional :ttl, :message, 106, "google.protobuf.Duration"
120
+ optional :username, :string, 102
121
+ optional :id, :string, 1
122
+ optional :name, :string, 2
123
+ optional :type, :string, 3
124
+ optional :secret_store_id, :string, 5
125
+ optional :secret_store_root_path, :string, 6
126
+ optional :tags, :message, 7, "v1.Tags"
127
+ optional :public_key, :bytes, 8
128
+ optional :key_rotation_interval_days, :int32, 9
129
+ end
109
130
  end
110
131
  end
111
132
 
@@ -115,4 +136,5 @@ module V1
115
136
  KeyValueEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KeyValueEngine").msgclass
116
137
  MysqlEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MysqlEngine").msgclass
117
138
  PostgresEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PostgresEngine").msgclass
139
+ SqlserverEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SqlserverEngine").msgclass
118
140
  end
@@ -10877,7 +10877,6 @@ module SDM
10877
10877
  end
10878
10878
  end
10879
10879
 
10880
- # MysqlEngine is currently unstable, and its API may change, or it may be removed, without a major version bump.
10881
10880
  class MysqlEngine
10882
10881
  # The default time-to-live duration of the password after it's read. Once the ttl has passed, a password will be rotated.
10883
10882
  attr_accessor :after_read_ttl
@@ -12349,7 +12348,6 @@ module SDM
12349
12348
  end
12350
12349
  end
12351
12350
 
12352
- # PostgresEngine is currently unstable, and its API may change, or it may be removed, without a major version bump.
12353
12351
  class PostgresEngine
12354
12352
  # The default time-to-live duration of the password after it's read. Once the ttl has passed, a password will be rotated.
12355
12353
  attr_accessor :after_read_ttl
@@ -16034,7 +16032,89 @@ module SDM
16034
16032
  end
16035
16033
  end
16036
16034
 
16037
- # StrongVaultStore is currently unstable, and its API may change, or it may be removed, without a major version bump.
16035
+ class SqlserverEngine
16036
+ # The default time-to-live duration of the password after it's read. Once the ttl has passed, a password will be rotated.
16037
+ attr_accessor :after_read_ttl
16038
+ # Database is the database to verify credential against.
16039
+ attr_accessor :database
16040
+ # Hostname is the hostname or IP address of the SQL Server.
16041
+ attr_accessor :hostname
16042
+ # Unique identifier of the Secret Engine.
16043
+ attr_accessor :id
16044
+ # An interval of public/private key rotation for secret engine in days
16045
+ attr_accessor :key_rotation_interval_days
16046
+ # Unique human-readable name of the Secret Engine.
16047
+ attr_accessor :name
16048
+ # Password is the password to connect to the SQL Server server.
16049
+ attr_accessor :password
16050
+ # Policy for password creation
16051
+ attr_accessor :policy
16052
+ # Port is the port number of the SQL Server server.
16053
+ attr_accessor :port
16054
+ # Public key linked with a secret engine
16055
+ attr_accessor :public_key
16056
+ # Backing secret store identifier
16057
+ attr_accessor :secret_store_id
16058
+ # Backing Secret Store root path where managed secrets are going to be stored
16059
+ attr_accessor :secret_store_root_path
16060
+ # Tags is a map of key, value pairs.
16061
+ attr_accessor :tags
16062
+ # TLS enables TLS/SSL when connecting to the SQL Server server.
16063
+ attr_accessor :tls
16064
+ # TLS disable certificate verification
16065
+ attr_accessor :tls_skip_verify
16066
+ # The default password time-to-live duration. Once the ttl has passed, a password will be rotated the next time it's requested.
16067
+ attr_accessor :ttl
16068
+ # Username is the username to connect to the SQL Server.
16069
+ attr_accessor :username
16070
+
16071
+ def initialize(
16072
+ after_read_ttl: nil,
16073
+ database: nil,
16074
+ hostname: nil,
16075
+ id: nil,
16076
+ key_rotation_interval_days: nil,
16077
+ name: nil,
16078
+ password: nil,
16079
+ policy: nil,
16080
+ port: nil,
16081
+ public_key: nil,
16082
+ secret_store_id: nil,
16083
+ secret_store_root_path: nil,
16084
+ tags: nil,
16085
+ tls: nil,
16086
+ tls_skip_verify: nil,
16087
+ ttl: nil,
16088
+ username: nil
16089
+ )
16090
+ @after_read_ttl = after_read_ttl == nil ? nil : after_read_ttl
16091
+ @database = database == nil ? "" : database
16092
+ @hostname = hostname == nil ? "" : hostname
16093
+ @id = id == nil ? "" : id
16094
+ @key_rotation_interval_days = key_rotation_interval_days == nil ? 0 : key_rotation_interval_days
16095
+ @name = name == nil ? "" : name
16096
+ @password = password == nil ? "" : password
16097
+ @policy = policy == nil ? nil : policy
16098
+ @port = port == nil ? 0 : port
16099
+ @public_key = public_key == nil ? "" : public_key
16100
+ @secret_store_id = secret_store_id == nil ? "" : secret_store_id
16101
+ @secret_store_root_path = secret_store_root_path == nil ? "" : secret_store_root_path
16102
+ @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
16103
+ @tls = tls == nil ? false : tls
16104
+ @tls_skip_verify = tls_skip_verify == nil ? false : tls_skip_verify
16105
+ @ttl = ttl == nil ? nil : ttl
16106
+ @username = username == nil ? "" : username
16107
+ end
16108
+
16109
+ def to_json(options = {})
16110
+ hash = {}
16111
+ self.instance_variables.each do |var|
16112
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
16113
+ end
16114
+ hash.to_json
16115
+ end
16116
+ end
16117
+
16038
16118
  class StrongVaultStore
16039
16119
  # Unique identifier of the SecretStore.
16040
16120
  attr_accessor :id
data/lib/strongdm.rb CHANGED
@@ -30,7 +30,7 @@ module SDM #:nodoc:
30
30
  DEFAULT_RETRY_FACTOR = 1.6
31
31
  DEFAULT_RETRY_JITTER = 0.2
32
32
  API_VERSION = "2025-04-14"
33
- USER_AGENT = "strongdm-sdk-ruby/15.31.0"
33
+ USER_AGENT = "strongdm-sdk-ruby/15.33.0"
34
34
  private_constant :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :DEFAULT_RETRY_FACTOR, :DEFAULT_RETRY_JITTER, :API_VERSION, :USER_AGENT
35
35
 
36
36
  # Creates a new strongDM API client.
data/lib/svc.rb CHANGED
@@ -6911,6 +6911,7 @@ module SDM #:nodoc:
6911
6911
  # {KeyValueEngine}
6912
6912
  # {MysqlEngine}
6913
6913
  # {PostgresEngine}
6914
+ # {SqlserverEngine}
6914
6915
  class SecretEngines
6915
6916
  extend Gem::Deprecate
6916
6917
 
data/lib/version CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "15.31.0"
16
+ VERSION = "15.33.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 = "15.31.0"
16
+ VERSION = "15.33.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: 15.31.0
4
+ version: 15.33.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: 2025-11-14 00:00:00.000000000 Z
11
+ date: 2025-11-19 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-46fa55c591044569a8751951056aa6c0ad02c32a.idx"
85
- - "./.git/objects/pack/pack-46fa55c591044569a8751951056aa6c0ad02c32a.pack"
84
+ - "./.git/objects/pack/pack-d9170c069dabd3bb6524217964d1799b2a28a146.idx"
85
+ - "./.git/objects/pack/pack-d9170c069dabd3bb6524217964d1799b2a28a146.pack"
86
86
  - "./.git/packed-refs"
87
87
  - "./.git/refs/heads/master"
88
88
  - "./.git/refs/remotes/origin/HEAD"