strongdm 15.16.0 → 15.20.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: 99ff57ac3c9bad1c23a8d381ea734162383ce07ac5e4c3a791bf03106d380f00
4
- data.tar.gz: 0a67a70be5b94dfc405a7d11ad5e3425fdbaaa7fc2374fcc23c10344d839430a
3
+ metadata.gz: d24b9d8cac0d7f76e73c6e615b8ebff7fc5775f7c7104e1748bd7f20311054ee
4
+ data.tar.gz: d8c04acb5fddd2696df5e5ef4d46a9a02fac68fc2f64c1b4070ec70bb87dce42
5
5
  SHA512:
6
- metadata.gz: 7e079841b7776d5c7ba97993d54fa9ae13f12fff6c65bb05d8fd2f1b568d03467864f3863178c4d4ddd43fcc64eb80f6067741037b6f8ee8cb4809cf079f1942
7
- data.tar.gz: b16a13cf660153651943e4f514db8b45dc5fc47643dccbc02c46dbdfd0bc3051995c36fc51882bce44befcfc983e9458c403a253a0d7b9d8ad92f7188469f1b5
6
+ metadata.gz: 17d0508116bc003512bc365b6815a963d37a0fbee1deb63d02415a3efcd739f11c3fb5c24af2923efc2e6c4d9d387ba87e53b0f42a091327743787bb4295351f
7
+ data.tar.gz: 650ddf3517378610d74f140ee77f518ca8c3a0c177851885862c15bc0591eb4fb38b3652a59106840c21772049172e9bad5ba2c5b8d0a8ea53356c0e98b2328a
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- 81598512df57088babfeef6c3a6a69097a700f72
1
+ 3282f2882ea935498b32fb0f243de64d6f0b2aab
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 81598512df57088babfeef6c3a6a69097a700f72 root <root@3e9b875df74d.(none)> 1758558166 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 81598512df57088babfeef6c3a6a69097a700f72 81598512df57088babfeef6c3a6a69097a700f72 root <root@3e9b875df74d.(none)> 1758558166 +0000 checkout: moving from master to master
3
- 81598512df57088babfeef6c3a6a69097a700f72 8e922f3c5f5949defec4093bec3f99a059dc4acd root <root@3e9b875df74d.(none)> 1758558166 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 3282f2882ea935498b32fb0f243de64d6f0b2aab root <root@9826d1ea8ae9.(none)> 1759842290 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 3282f2882ea935498b32fb0f243de64d6f0b2aab 3282f2882ea935498b32fb0f243de64d6f0b2aab root <root@9826d1ea8ae9.(none)> 1759842290 +0000 checkout: moving from master to master
3
+ 3282f2882ea935498b32fb0f243de64d6f0b2aab 7cf936aad61c58434bf735f826e7cfcf71b9ce8a root <root@9826d1ea8ae9.(none)> 1759842290 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 81598512df57088babfeef6c3a6a69097a700f72 root <root@3e9b875df74d.(none)> 1758558166 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 81598512df57088babfeef6c3a6a69097a700f72 8e922f3c5f5949defec4093bec3f99a059dc4acd root <root@3e9b875df74d.(none)> 1758558166 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 3282f2882ea935498b32fb0f243de64d6f0b2aab root <root@9826d1ea8ae9.(none)> 1759842290 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 3282f2882ea935498b32fb0f243de64d6f0b2aab 7cf936aad61c58434bf735f826e7cfcf71b9ce8a root <root@9826d1ea8ae9.(none)> 1759842290 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 81598512df57088babfeef6c3a6a69097a700f72 root <root@3e9b875df74d.(none)> 1758558166 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 3282f2882ea935498b32fb0f243de64d6f0b2aab root <root@9826d1ea8ae9.(none)> 1759842290 +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
- 8e922f3c5f5949defec4093bec3f99a059dc4acd refs/remotes/origin/development
3
- 81598512df57088babfeef6c3a6a69097a700f72 refs/remotes/origin/master
2
+ 7cf936aad61c58434bf735f826e7cfcf71b9ce8a refs/remotes/origin/development
3
+ 3282f2882ea935498b32fb0f243de64d6f0b2aab 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
@@ -108,6 +108,8 @@ ac9b86121b9542f28b614f897f7a61f34363410b refs/tags/v15.10.0
108
108
  562421bbcbbe3796fca3322e7770b56688d373e1 refs/tags/v15.13.0
109
109
  3390b048dd31fedb6d32ebf523a31c54e328c3cc refs/tags/v15.14.0
110
110
  81598512df57088babfeef6c3a6a69097a700f72 refs/tags/v15.15.0
111
+ 8e922f3c5f5949defec4093bec3f99a059dc4acd refs/tags/v15.16.0
112
+ 3282f2882ea935498b32fb0f243de64d6f0b2aab refs/tags/v15.17.0
111
113
  95ca84ab082b3f19fa3b0d1799ac55e4beebea64 refs/tags/v15.2.0
112
114
  cf3b15b82cb0c4229609c07c870c6cb4fd38ef75 refs/tags/v15.4.0
113
115
  0be2c5e7f7a90c49077548cb3a9bce234219b9f0 refs/tags/v15.5.0
@@ -1 +1 @@
1
- 8e922f3c5f5949defec4093bec3f99a059dc4acd
1
+ 7cf936aad61c58434bf735f826e7cfcf71b9ce8a
@@ -1353,7 +1353,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1353
1353
  optional :password, :string, 2
1354
1354
  optional :port, :int32, 5
1355
1355
  optional :port_override, :int32, 4
1356
- optional :username, :string, 6
1357
1356
  end
1358
1357
  add_message "v1.MTLSMysql" do
1359
1358
  optional :id, :string, 32768
data/lib/grpc/plumbing.rb CHANGED
@@ -9540,7 +9540,6 @@ module SDM
9540
9540
  porcelain.secret_store_id = (plumbing.secret_store_id)
9541
9541
  porcelain.subdomain = (plumbing.subdomain)
9542
9542
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
9543
- porcelain.username = (plumbing.username)
9544
9543
  porcelain
9545
9544
  end
9546
9545
 
@@ -9562,7 +9561,6 @@ module SDM
9562
9561
  plumbing.secret_store_id = (porcelain.secret_store_id)
9563
9562
  plumbing.subdomain = (porcelain.subdomain)
9564
9563
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
9565
- plumbing.username = (porcelain.username)
9566
9564
  plumbing
9567
9565
  end
9568
9566
  def self.convert_repeated_mcp_to_plumbing(porcelains)
@@ -12735,6 +12733,70 @@ module SDM
12735
12733
  end
12736
12734
  items
12737
12735
  end
12736
+ def self.convert_postgres_engine_to_porcelain(plumbing)
12737
+ if plumbing == nil
12738
+ return nil
12739
+ end
12740
+ porcelain = PostgresEngine.new()
12741
+ porcelain.after_read_ttl = convert_duration_to_porcelain(plumbing.after_read_ttl)
12742
+ porcelain.database = (plumbing.database)
12743
+ porcelain.hostname = (plumbing.hostname)
12744
+ porcelain.id = (plumbing.id)
12745
+ porcelain.key_rotation_interval_days = (plumbing.key_rotation_interval_days)
12746
+ porcelain.name = (plumbing.name)
12747
+ porcelain.password = (plumbing.password)
12748
+ porcelain.policy = convert_secret_engine_policy_to_porcelain(plumbing.policy)
12749
+ porcelain.port = (plumbing.port)
12750
+ porcelain.public_key = (plumbing.public_key)
12751
+ porcelain.secret_store_id = (plumbing.secret_store_id)
12752
+ porcelain.secret_store_root_path = (plumbing.secret_store_root_path)
12753
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
12754
+ porcelain.tls = (plumbing.tls)
12755
+ porcelain.ttl = convert_duration_to_porcelain(plumbing.ttl)
12756
+ porcelain.username = (plumbing.username)
12757
+ porcelain
12758
+ end
12759
+
12760
+ def self.convert_postgres_engine_to_plumbing(porcelain)
12761
+ if porcelain == nil
12762
+ return nil
12763
+ end
12764
+ plumbing = V1::PostgresEngine.new()
12765
+ plumbing.after_read_ttl = convert_duration_to_plumbing(porcelain.after_read_ttl)
12766
+ plumbing.database = (porcelain.database)
12767
+ plumbing.hostname = (porcelain.hostname)
12768
+ plumbing.id = (porcelain.id)
12769
+ plumbing.key_rotation_interval_days = (porcelain.key_rotation_interval_days)
12770
+ plumbing.name = (porcelain.name)
12771
+ plumbing.password = (porcelain.password)
12772
+ plumbing.policy = convert_secret_engine_policy_to_plumbing(porcelain.policy)
12773
+ plumbing.port = (porcelain.port)
12774
+ plumbing.public_key = (porcelain.public_key)
12775
+ plumbing.secret_store_id = (porcelain.secret_store_id)
12776
+ plumbing.secret_store_root_path = (porcelain.secret_store_root_path)
12777
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
12778
+ plumbing.tls = (porcelain.tls)
12779
+ plumbing.ttl = convert_duration_to_plumbing(porcelain.ttl)
12780
+ plumbing.username = (porcelain.username)
12781
+ plumbing
12782
+ end
12783
+ def self.convert_repeated_postgres_engine_to_plumbing(porcelains)
12784
+ items = Array.new
12785
+ porcelains.each do |porcelain|
12786
+ plumbing = convert_postgres_engine_to_plumbing(porcelain)
12787
+ items.append(plumbing)
12788
+ end
12789
+ items
12790
+ end
12791
+
12792
+ def self.convert_repeated_postgres_engine_to_porcelain(plumbings)
12793
+ items = Array.new
12794
+ plumbings.each do |plumbing|
12795
+ porcelain = convert_postgres_engine_to_porcelain(plumbing)
12796
+ items.append(porcelain)
12797
+ end
12798
+ items
12799
+ end
12738
12800
  def self.convert_presto_to_porcelain(plumbing)
12739
12801
  if plumbing == nil
12740
12802
  return nil
@@ -16089,6 +16151,9 @@ module SDM
16089
16151
  if porcelain.instance_of? KeyValueEngine
16090
16152
  plumbing.key_value = convert_key_value_engine_to_plumbing(porcelain)
16091
16153
  end
16154
+ if porcelain.instance_of? PostgresEngine
16155
+ plumbing.postgres = convert_postgres_engine_to_plumbing(porcelain)
16156
+ end
16092
16157
  plumbing
16093
16158
  end
16094
16159
 
@@ -16102,6 +16167,9 @@ module SDM
16102
16167
  if plumbing.key_value != nil
16103
16168
  return convert_key_value_engine_to_porcelain(plumbing.key_value)
16104
16169
  end
16170
+ if plumbing.postgres != nil
16171
+ return convert_postgres_engine_to_porcelain(plumbing.postgres)
16172
+ end
16105
16173
  raise UnknownError.new("unknown polymorphic type, please upgrade your SDK")
16106
16174
  end
16107
16175
  def self.convert_repeated_secret_engine_to_plumbing(porcelains)
@@ -28,6 +28,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
28
28
  oneof :secret_engine do
29
29
  optional :active_directory, :message, 332, "v1.ActiveDirectoryEngine"
30
30
  optional :key_value, :message, 331, "v1.KeyValueEngine"
31
+ optional :postgres, :message, 333, "v1.PostgresEngine"
31
32
  end
32
33
  end
33
34
  add_message "v1.ActiveDirectoryEngine" do
@@ -65,6 +66,25 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
65
66
  optional :public_key, :bytes, 8
66
67
  optional :key_rotation_interval_days, :int32, 9
67
68
  end
69
+ add_message "v1.PostgresEngine" do
70
+ optional :after_read_ttl, :message, 105, "google.protobuf.Duration"
71
+ optional :database, :string, 108
72
+ optional :hostname, :string, 101
73
+ optional :password, :string, 103
74
+ optional :policy, :message, 107, "v1.SecretEnginePolicy"
75
+ optional :port, :uint32, 104
76
+ optional :tls, :bool, 109
77
+ optional :ttl, :message, 106, "google.protobuf.Duration"
78
+ optional :username, :string, 102
79
+ optional :id, :string, 1
80
+ optional :name, :string, 2
81
+ optional :type, :string, 3
82
+ optional :secret_store_id, :string, 5
83
+ optional :secret_store_root_path, :string, 6
84
+ optional :tags, :message, 7, "v1.Tags"
85
+ optional :public_key, :bytes, 8
86
+ optional :key_rotation_interval_days, :int32, 9
87
+ end
68
88
  end
69
89
  end
70
90
 
@@ -72,4 +92,5 @@ module V1
72
92
  SecretEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretEngine").msgclass
73
93
  ActiveDirectoryEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ActiveDirectoryEngine").msgclass
74
94
  KeyValueEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KeyValueEngine").msgclass
95
+ PostgresEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PostgresEngine").msgclass
75
96
  end
@@ -1979,7 +1979,6 @@ module SDM
1979
1979
  end
1980
1980
  end
1981
1981
 
1982
- # ActiveDirectoryEngine is currently unstable, and its API may change, or it may be removed, without a major version bump.
1983
1982
  class ActiveDirectoryEngine
1984
1983
  # The default time-to-live duration of the password after it's read. Once the ttl has passed, a password will be rotated.
1985
1984
  attr_accessor :after_read_ttl
@@ -8451,7 +8450,6 @@ module SDM
8451
8450
  end
8452
8451
  end
8453
8452
 
8454
- # KeyValueEngine is currently unstable, and its API may change, or it may be removed, without a major version bump.
8455
8453
  class KeyValueEngine
8456
8454
  # Unique identifier of the Secret Engine.
8457
8455
  attr_accessor :id
@@ -9234,8 +9232,6 @@ module SDM
9234
9232
  attr_accessor :subdomain
9235
9233
  # Tags is a map of key, value pairs.
9236
9234
  attr_accessor :tags
9237
- # The username to authenticate with.
9238
- attr_accessor :username
9239
9235
 
9240
9236
  def initialize(
9241
9237
  bind_interface: nil,
@@ -9250,8 +9246,7 @@ module SDM
9250
9246
  proxy_cluster_id: nil,
9251
9247
  secret_store_id: nil,
9252
9248
  subdomain: nil,
9253
- tags: nil,
9254
- username: nil
9249
+ tags: nil
9255
9250
  )
9256
9251
  @bind_interface = bind_interface == nil ? "" : bind_interface
9257
9252
  @egress_filter = egress_filter == nil ? "" : egress_filter
@@ -9266,7 +9261,6 @@ module SDM
9266
9261
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
9267
9262
  @subdomain = subdomain == nil ? "" : subdomain
9268
9263
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
9269
- @username = username == nil ? "" : username
9270
9264
  end
9271
9265
 
9272
9266
  def to_json(options = {})
@@ -12148,6 +12142,86 @@ module SDM
12148
12142
  end
12149
12143
  end
12150
12144
 
12145
+ # PostgresEngine is currently unstable, and its API may change, or it may be removed, without a major version bump.
12146
+ class PostgresEngine
12147
+ # The default time-to-live duration of the password after it's read. Once the ttl has passed, a password will be rotated.
12148
+ attr_accessor :after_read_ttl
12149
+ # Database is the database to verify credential against.
12150
+ attr_accessor :database
12151
+ # Hostname is the hostname or IP address of the Postgres server.
12152
+ attr_accessor :hostname
12153
+ # Unique identifier of the Secret Engine.
12154
+ attr_accessor :id
12155
+ # An interval of public/private key rotation for secret engine in days
12156
+ attr_accessor :key_rotation_interval_days
12157
+ # Unique human-readable name of the Secret Engine.
12158
+ attr_accessor :name
12159
+ # Password is the password to connect to the Postgres server.
12160
+ attr_accessor :password
12161
+ # Policy for password creation
12162
+ attr_accessor :policy
12163
+ # Port is the port number of the Postgres server.
12164
+ attr_accessor :port
12165
+ # Public key linked with a secret engine
12166
+ attr_accessor :public_key
12167
+ # Backing secret store identifier
12168
+ attr_accessor :secret_store_id
12169
+ # Backing Secret Store root path where managed secrets are going to be stored
12170
+ attr_accessor :secret_store_root_path
12171
+ # Tags is a map of key, value pairs.
12172
+ attr_accessor :tags
12173
+ # TLS enables TLS/SSL when connecting to the Postgres server.
12174
+ attr_accessor :tls
12175
+ # The default password time-to-live duration. Once the ttl has passed, a password will be rotated the next time it's requested.
12176
+ attr_accessor :ttl
12177
+ # Username is the username to connect to the Postgres server.
12178
+ attr_accessor :username
12179
+
12180
+ def initialize(
12181
+ after_read_ttl: nil,
12182
+ database: nil,
12183
+ hostname: nil,
12184
+ id: nil,
12185
+ key_rotation_interval_days: nil,
12186
+ name: nil,
12187
+ password: nil,
12188
+ policy: nil,
12189
+ port: nil,
12190
+ public_key: nil,
12191
+ secret_store_id: nil,
12192
+ secret_store_root_path: nil,
12193
+ tags: nil,
12194
+ tls: nil,
12195
+ ttl: nil,
12196
+ username: nil
12197
+ )
12198
+ @after_read_ttl = after_read_ttl == nil ? nil : after_read_ttl
12199
+ @database = database == nil ? "" : database
12200
+ @hostname = hostname == nil ? "" : hostname
12201
+ @id = id == nil ? "" : id
12202
+ @key_rotation_interval_days = key_rotation_interval_days == nil ? 0 : key_rotation_interval_days
12203
+ @name = name == nil ? "" : name
12204
+ @password = password == nil ? "" : password
12205
+ @policy = policy == nil ? nil : policy
12206
+ @port = port == nil ? 0 : port
12207
+ @public_key = public_key == nil ? "" : public_key
12208
+ @secret_store_id = secret_store_id == nil ? "" : secret_store_id
12209
+ @secret_store_root_path = secret_store_root_path == nil ? "" : secret_store_root_path
12210
+ @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
12211
+ @tls = tls == nil ? false : tls
12212
+ @ttl = ttl == nil ? nil : ttl
12213
+ @username = username == nil ? "" : username
12214
+ end
12215
+
12216
+ def to_json(options = {})
12217
+ hash = {}
12218
+ self.instance_variables.each do |var|
12219
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
12220
+ end
12221
+ hash.to_json
12222
+ end
12223
+ end
12224
+
12151
12225
  class Presto
12152
12226
  # 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 and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
12153
12227
  attr_accessor :bind_interface
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.16.0"
33
+ USER_AGENT = "strongdm-sdk-ruby/15.20.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
@@ -6865,6 +6865,7 @@ module SDM #:nodoc:
6865
6865
  # See:
6866
6866
  # {ActiveDirectoryEngine}
6867
6867
  # {KeyValueEngine}
6868
+ # {PostgresEngine}
6868
6869
  class SecretEngines
6869
6870
  extend Gem::Deprecate
6870
6871
 
data/lib/version CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "15.16.0"
16
+ VERSION = "15.20.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.16.0"
16
+ VERSION = "15.20.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.16.0
4
+ version: 15.20.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-09-22 00:00:00.000000000 Z
11
+ date: 2025-10-07 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-0f3a4a7a26a72d7e5ba200dfab0c3972f97d21d8.idx"
85
- - "./.git/objects/pack/pack-0f3a4a7a26a72d7e5ba200dfab0c3972f97d21d8.pack"
84
+ - "./.git/objects/pack/pack-c474485a680f05d55159f1e60cd6795702024889.idx"
85
+ - "./.git/objects/pack/pack-c474485a680f05d55159f1e60cd6795702024889.pack"
86
86
  - "./.git/packed-refs"
87
87
  - "./.git/refs/heads/master"
88
88
  - "./.git/refs/remotes/origin/HEAD"