strongdm 15.17.0 → 15.21.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 +4 -4
- data/.git/ORIG_HEAD +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -3
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/{pack-5f9301a80ad99e10331aac5994f1f330b2eba553.idx → pack-679ff696d852de61235cc9a8924574e1675305a8.idx} +0 -0
- data/.git/objects/pack/{pack-5f9301a80ad99e10331aac5994f1f330b2eba553.pack → pack-679ff696d852de61235cc9a8924574e1675305a8.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +0 -1
- data/lib/grpc/plumbing.rb +10 -2
- data/lib/grpc/secret_engine_types_pb.rb +5 -0
- data/lib/models/porcelain.rb +21 -5
- data/lib/strongdm.rb +1 -1
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98bcee65b94c3f36d406cff2160897312a64e2019ce2fb1842e8b3b36c9fd552
|
4
|
+
data.tar.gz: 31d6e61f5d6bb476e7a0670b14eae3ef43adea886efdf3d86d08c726f19e22db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a73e46f3fbee0c5b0e650d6dada3bd33b263cae974122aced09d55f471d61b3a339c30fe03cf1b620f0be302b394a6f31c71a14d1182df2b3a0ed8d11c0bf62
|
7
|
+
data.tar.gz: 88c475f84f8e0c8e850f7897a763db01d4d6ce921667fc605a935267838fa1fbd13474eb9ce11b3bb76ffbaf45da4a5df6d1cc3dbd3eb6418275ccadaf211675
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
7cf936aad61c58434bf735f826e7cfcf71b9ce8a
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 7cf936aad61c58434bf735f826e7cfcf71b9ce8a root <root@7d6643e58697.(none)> 1759988808 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
7cf936aad61c58434bf735f826e7cfcf71b9ce8a 7cf936aad61c58434bf735f826e7cfcf71b9ce8a root <root@7d6643e58697.(none)> 1759988808 +0000 checkout: moving from master to master
|
3
|
+
7cf936aad61c58434bf735f826e7cfcf71b9ce8a 229557ff8902458028f43d084b6fdff298486d99 root <root@7d6643e58697.(none)> 1759988808 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 7cf936aad61c58434bf735f826e7cfcf71b9ce8a root <root@7d6643e58697.(none)> 1759988808 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
7cf936aad61c58434bf735f826e7cfcf71b9ce8a 229557ff8902458028f43d084b6fdff298486d99 root <root@7d6643e58697.(none)> 1759988808 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 7cf936aad61c58434bf735f826e7cfcf71b9ce8a root <root@7d6643e58697.(none)> 1759988808 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
Binary file
|
Binary file
|
data/.git/packed-refs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# pack-refs with: peeled fully-peeled sorted
|
2
|
-
|
3
|
-
|
2
|
+
229557ff8902458028f43d084b6fdff298486d99 refs/remotes/origin/development
|
3
|
+
7cf936aad61c58434bf735f826e7cfcf71b9ce8a 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,7 +109,9 @@ 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
|
114
|
+
7cf936aad61c58434bf735f826e7cfcf71b9ce8a refs/tags/v15.20.0
|
113
115
|
cf3b15b82cb0c4229609c07c870c6cb4fd38ef75 refs/tags/v15.4.0
|
114
116
|
0be2c5e7f7a90c49077548cb3a9bce234219b9f0 refs/tags/v15.5.0
|
115
117
|
4b9cd43c5dda3f369b82b6a56132a5470ff9ff53 refs/tags/v15.6.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
229557ff8902458028f43d084b6fdff298486d99
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -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
|
data/lib/models/porcelain.rb
CHANGED
@@ -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.
|
33
|
+
USER_AGENT = "strongdm-sdk-ruby/15.21.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
data/lib/version.rb
CHANGED
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.
|
4
|
+
version: 15.21.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
|
11
|
+
date: 2025-10-09 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-
|
85
|
-
- "./.git/objects/pack/pack-
|
84
|
+
- "./.git/objects/pack/pack-679ff696d852de61235cc9a8924574e1675305a8.idx"
|
85
|
+
- "./.git/objects/pack/pack-679ff696d852de61235cc9a8924574e1675305a8.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|