strongdm 15.17.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: 255fa29a618904ff5b2f9b9dfce825af15e2052bbddbd3fa54ab8dfc14b1e3f0
4
- data.tar.gz: 9ed6d1713153e776541c535a62676577ae1a8bfa62d271313904d6a767be7717
3
+ metadata.gz: d24b9d8cac0d7f76e73c6e615b8ebff7fc5775f7c7104e1748bd7f20311054ee
4
+ data.tar.gz: d8c04acb5fddd2696df5e5ef4d46a9a02fac68fc2f64c1b4070ec70bb87dce42
5
5
  SHA512:
6
- metadata.gz: 0d7edca5900814403a832b11146883e2bf543fe264ffb5080f522cfcdfc5dc456d1fe25963f653c7761d15db8a7679ce9a2a33924891d1f4aae901f84782e559
7
- data.tar.gz: e0f7050a3eebf0e78cd4a818e2289ed8df51f199e3d5b9e29a713c97829438ecf9ccc9c6ab070597bebd66341986b8da931ac3b66fc5f177f0ae7f97ca95afc9
6
+ metadata.gz: 17d0508116bc003512bc365b6815a963d37a0fbee1deb63d02415a3efcd739f11c3fb5c24af2923efc2e6c4d9d387ba87e53b0f42a091327743787bb4295351f
7
+ data.tar.gz: 650ddf3517378610d74f140ee77f518ca8c3a0c177851885862c15bc0591eb4fb38b3652a59106840c21772049172e9bad5ba2c5b8d0a8ea53356c0e98b2328a
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- 8e922f3c5f5949defec4093bec3f99a059dc4acd
1
+ 3282f2882ea935498b32fb0f243de64d6f0b2aab
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 8e922f3c5f5949defec4093bec3f99a059dc4acd root <root@0ae021aae56c.(none)> 1759160200 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 8e922f3c5f5949defec4093bec3f99a059dc4acd 8e922f3c5f5949defec4093bec3f99a059dc4acd root <root@0ae021aae56c.(none)> 1759160200 +0000 checkout: moving from master to master
3
- 8e922f3c5f5949defec4093bec3f99a059dc4acd 3282f2882ea935498b32fb0f243de64d6f0b2aab root <root@0ae021aae56c.(none)> 1759160200 +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 8e922f3c5f5949defec4093bec3f99a059dc4acd root <root@0ae021aae56c.(none)> 1759160200 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 8e922f3c5f5949defec4093bec3f99a059dc4acd 3282f2882ea935498b32fb0f243de64d6f0b2aab root <root@0ae021aae56c.(none)> 1759160200 +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 8e922f3c5f5949defec4093bec3f99a059dc4acd root <root@0ae021aae56c.(none)> 1759160200 +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
- 3282f2882ea935498b32fb0f243de64d6f0b2aab refs/remotes/origin/development
3
- 8e922f3c5f5949defec4093bec3f99a059dc4acd 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
@@ -109,6 +109,7 @@ ac9b86121b9542f28b614f897f7a61f34363410b refs/tags/v15.10.0
109
109
  3390b048dd31fedb6d32ebf523a31c54e328c3cc refs/tags/v15.14.0
110
110
  81598512df57088babfeef6c3a6a69097a700f72 refs/tags/v15.15.0
111
111
  8e922f3c5f5949defec4093bec3f99a059dc4acd refs/tags/v15.16.0
112
+ 3282f2882ea935498b32fb0f243de64d6f0b2aab refs/tags/v15.17.0
112
113
  95ca84ab082b3f19fa3b0d1799ac55e4beebea64 refs/tags/v15.2.0
113
114
  cf3b15b82cb0c4229609c07c870c6cb4fd38ef75 refs/tags/v15.4.0
114
115
  0be2c5e7f7a90c49077548cb3a9bce234219b9f0 refs/tags/v15.5.0
@@ -1 +1 @@
1
- 3282f2882ea935498b32fb0f243de64d6f0b2aab
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)
@@ -12740,16 +12738,21 @@ module SDM
12740
12738
  return nil
12741
12739
  end
12742
12740
  porcelain = PostgresEngine.new()
12741
+ porcelain.after_read_ttl = convert_duration_to_porcelain(plumbing.after_read_ttl)
12742
+ porcelain.database = (plumbing.database)
12743
12743
  porcelain.hostname = (plumbing.hostname)
12744
12744
  porcelain.id = (plumbing.id)
12745
12745
  porcelain.key_rotation_interval_days = (plumbing.key_rotation_interval_days)
12746
12746
  porcelain.name = (plumbing.name)
12747
12747
  porcelain.password = (plumbing.password)
12748
+ porcelain.policy = convert_secret_engine_policy_to_porcelain(plumbing.policy)
12748
12749
  porcelain.port = (plumbing.port)
12749
12750
  porcelain.public_key = (plumbing.public_key)
12750
12751
  porcelain.secret_store_id = (plumbing.secret_store_id)
12751
12752
  porcelain.secret_store_root_path = (plumbing.secret_store_root_path)
12752
12753
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
12754
+ porcelain.tls = (plumbing.tls)
12755
+ porcelain.ttl = convert_duration_to_porcelain(plumbing.ttl)
12753
12756
  porcelain.username = (plumbing.username)
12754
12757
  porcelain
12755
12758
  end
@@ -12759,16 +12762,21 @@ module SDM
12759
12762
  return nil
12760
12763
  end
12761
12764
  plumbing = V1::PostgresEngine.new()
12765
+ plumbing.after_read_ttl = convert_duration_to_plumbing(porcelain.after_read_ttl)
12766
+ plumbing.database = (porcelain.database)
12762
12767
  plumbing.hostname = (porcelain.hostname)
12763
12768
  plumbing.id = (porcelain.id)
12764
12769
  plumbing.key_rotation_interval_days = (porcelain.key_rotation_interval_days)
12765
12770
  plumbing.name = (porcelain.name)
12766
12771
  plumbing.password = (porcelain.password)
12772
+ plumbing.policy = convert_secret_engine_policy_to_plumbing(porcelain.policy)
12767
12773
  plumbing.port = (porcelain.port)
12768
12774
  plumbing.public_key = (porcelain.public_key)
12769
12775
  plumbing.secret_store_id = (porcelain.secret_store_id)
12770
12776
  plumbing.secret_store_root_path = (porcelain.secret_store_root_path)
12771
12777
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
12778
+ plumbing.tls = (porcelain.tls)
12779
+ plumbing.ttl = convert_duration_to_plumbing(porcelain.ttl)
12772
12780
  plumbing.username = (porcelain.username)
12773
12781
  plumbing
12774
12782
  end
@@ -67,9 +67,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
67
67
  optional :key_rotation_interval_days, :int32, 9
68
68
  end
69
69
  add_message "v1.PostgresEngine" do
70
+ optional :after_read_ttl, :message, 105, "google.protobuf.Duration"
71
+ optional :database, :string, 108
70
72
  optional :hostname, :string, 101
71
73
  optional :password, :string, 103
74
+ optional :policy, :message, 107, "v1.SecretEnginePolicy"
72
75
  optional :port, :uint32, 104
76
+ optional :tls, :bool, 109
77
+ optional :ttl, :message, 106, "google.protobuf.Duration"
73
78
  optional :username, :string, 102
74
79
  optional :id, :string, 1
75
80
  optional :name, :string, 2
@@ -9232,8 +9232,6 @@ module SDM
9232
9232
  attr_accessor :subdomain
9233
9233
  # Tags is a map of key, value pairs.
9234
9234
  attr_accessor :tags
9235
- # The username to authenticate with.
9236
- attr_accessor :username
9237
9235
 
9238
9236
  def initialize(
9239
9237
  bind_interface: nil,
@@ -9248,8 +9246,7 @@ module SDM
9248
9246
  proxy_cluster_id: nil,
9249
9247
  secret_store_id: nil,
9250
9248
  subdomain: nil,
9251
- tags: nil,
9252
- username: nil
9249
+ tags: nil
9253
9250
  )
9254
9251
  @bind_interface = bind_interface == nil ? "" : bind_interface
9255
9252
  @egress_filter = egress_filter == nil ? "" : egress_filter
@@ -9264,7 +9261,6 @@ module SDM
9264
9261
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
9265
9262
  @subdomain = subdomain == nil ? "" : subdomain
9266
9263
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
9267
- @username = username == nil ? "" : username
9268
9264
  end
9269
9265
 
9270
9266
  def to_json(options = {})
@@ -12148,6 +12144,10 @@ module SDM
12148
12144
 
12149
12145
  # PostgresEngine is currently unstable, and its API may change, or it may be removed, without a major version bump.
12150
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
12151
  # Hostname is the hostname or IP address of the Postgres server.
12152
12152
  attr_accessor :hostname
12153
12153
  # Unique identifier of the Secret Engine.
@@ -12158,6 +12158,8 @@ module SDM
12158
12158
  attr_accessor :name
12159
12159
  # Password is the password to connect to the Postgres server.
12160
12160
  attr_accessor :password
12161
+ # Policy for password creation
12162
+ attr_accessor :policy
12161
12163
  # Port is the port number of the Postgres server.
12162
12164
  attr_accessor :port
12163
12165
  # Public key linked with a secret engine
@@ -12168,32 +12170,46 @@ module SDM
12168
12170
  attr_accessor :secret_store_root_path
12169
12171
  # Tags is a map of key, value pairs.
12170
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
12171
12177
  # Username is the username to connect to the Postgres server.
12172
12178
  attr_accessor :username
12173
12179
 
12174
12180
  def initialize(
12181
+ after_read_ttl: nil,
12182
+ database: nil,
12175
12183
  hostname: nil,
12176
12184
  id: nil,
12177
12185
  key_rotation_interval_days: nil,
12178
12186
  name: nil,
12179
12187
  password: nil,
12188
+ policy: nil,
12180
12189
  port: nil,
12181
12190
  public_key: nil,
12182
12191
  secret_store_id: nil,
12183
12192
  secret_store_root_path: nil,
12184
12193
  tags: nil,
12194
+ tls: nil,
12195
+ ttl: nil,
12185
12196
  username: nil
12186
12197
  )
12198
+ @after_read_ttl = after_read_ttl == nil ? nil : after_read_ttl
12199
+ @database = database == nil ? "" : database
12187
12200
  @hostname = hostname == nil ? "" : hostname
12188
12201
  @id = id == nil ? "" : id
12189
12202
  @key_rotation_interval_days = key_rotation_interval_days == nil ? 0 : key_rotation_interval_days
12190
12203
  @name = name == nil ? "" : name
12191
12204
  @password = password == nil ? "" : password
12205
+ @policy = policy == nil ? nil : policy
12192
12206
  @port = port == nil ? 0 : port
12193
12207
  @public_key = public_key == nil ? "" : public_key
12194
12208
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
12195
12209
  @secret_store_root_path = secret_store_root_path == nil ? "" : secret_store_root_path
12196
12210
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
12211
+ @tls = tls == nil ? false : tls
12212
+ @ttl = ttl == nil ? nil : ttl
12197
12213
  @username = username == nil ? "" : username
12198
12214
  end
12199
12215
 
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.17.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/version CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "15.17.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.17.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.17.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-29 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-5f9301a80ad99e10331aac5994f1f330b2eba553.idx"
85
- - "./.git/objects/pack/pack-5f9301a80ad99e10331aac5994f1f330b2eba553.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"