strongdm 15.16.0 → 15.17.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-0f3a4a7a26a72d7e5ba200dfab0c3972f97d21d8.idx → pack-5f9301a80ad99e10331aac5994f1f330b2eba553.idx} +0 -0
- data/.git/objects/pack/{pack-0f3a4a7a26a72d7e5ba200dfab0c3972f97d21d8.pack → pack-5f9301a80ad99e10331aac5994f1f330b2eba553.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/plumbing.rb +60 -0
- data/lib/grpc/secret_engine_types_pb.rb +16 -0
- data/lib/models/porcelain.rb +60 -2
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +1 -0
- 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: 255fa29a618904ff5b2f9b9dfce825af15e2052bbddbd3fa54ab8dfc14b1e3f0
|
4
|
+
data.tar.gz: 9ed6d1713153e776541c535a62676577ae1a8bfa62d271313904d6a767be7717
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d7edca5900814403a832b11146883e2bf543fe264ffb5080f522cfcdfc5dc456d1fe25963f653c7761d15db8a7679ce9a2a33924891d1f4aae901f84782e559
|
7
|
+
data.tar.gz: e0f7050a3eebf0e78cd4a818e2289ed8df51f199e3d5b9e29a713c97829438ecf9ccc9c6ab070597bebd66341986b8da931ac3b66fc5f177f0ae7f97ca95afc9
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
8e922f3c5f5949defec4093bec3f99a059dc4acd
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
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
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
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 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 8e922f3c5f5949defec4093bec3f99a059dc4acd root <root@0ae021aae56c.(none)> 1759160200 +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
|
+
3282f2882ea935498b32fb0f243de64d6f0b2aab refs/remotes/origin/development
|
3
|
+
8e922f3c5f5949defec4093bec3f99a059dc4acd 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,7 @@ 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
|
111
112
|
95ca84ab082b3f19fa3b0d1799ac55e4beebea64 refs/tags/v15.2.0
|
112
113
|
cf3b15b82cb0c4229609c07c870c6cb4fd38ef75 refs/tags/v15.4.0
|
113
114
|
0be2c5e7f7a90c49077548cb3a9bce234219b9f0 refs/tags/v15.5.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3282f2882ea935498b32fb0f243de64d6f0b2aab
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -12735,6 +12735,60 @@ module SDM
|
|
12735
12735
|
end
|
12736
12736
|
items
|
12737
12737
|
end
|
12738
|
+
def self.convert_postgres_engine_to_porcelain(plumbing)
|
12739
|
+
if plumbing == nil
|
12740
|
+
return nil
|
12741
|
+
end
|
12742
|
+
porcelain = PostgresEngine.new()
|
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.port = (plumbing.port)
|
12749
|
+
porcelain.public_key = (plumbing.public_key)
|
12750
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
12751
|
+
porcelain.secret_store_root_path = (plumbing.secret_store_root_path)
|
12752
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
12753
|
+
porcelain.username = (plumbing.username)
|
12754
|
+
porcelain
|
12755
|
+
end
|
12756
|
+
|
12757
|
+
def self.convert_postgres_engine_to_plumbing(porcelain)
|
12758
|
+
if porcelain == nil
|
12759
|
+
return nil
|
12760
|
+
end
|
12761
|
+
plumbing = V1::PostgresEngine.new()
|
12762
|
+
plumbing.hostname = (porcelain.hostname)
|
12763
|
+
plumbing.id = (porcelain.id)
|
12764
|
+
plumbing.key_rotation_interval_days = (porcelain.key_rotation_interval_days)
|
12765
|
+
plumbing.name = (porcelain.name)
|
12766
|
+
plumbing.password = (porcelain.password)
|
12767
|
+
plumbing.port = (porcelain.port)
|
12768
|
+
plumbing.public_key = (porcelain.public_key)
|
12769
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
12770
|
+
plumbing.secret_store_root_path = (porcelain.secret_store_root_path)
|
12771
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
12772
|
+
plumbing.username = (porcelain.username)
|
12773
|
+
plumbing
|
12774
|
+
end
|
12775
|
+
def self.convert_repeated_postgres_engine_to_plumbing(porcelains)
|
12776
|
+
items = Array.new
|
12777
|
+
porcelains.each do |porcelain|
|
12778
|
+
plumbing = convert_postgres_engine_to_plumbing(porcelain)
|
12779
|
+
items.append(plumbing)
|
12780
|
+
end
|
12781
|
+
items
|
12782
|
+
end
|
12783
|
+
|
12784
|
+
def self.convert_repeated_postgres_engine_to_porcelain(plumbings)
|
12785
|
+
items = Array.new
|
12786
|
+
plumbings.each do |plumbing|
|
12787
|
+
porcelain = convert_postgres_engine_to_porcelain(plumbing)
|
12788
|
+
items.append(porcelain)
|
12789
|
+
end
|
12790
|
+
items
|
12791
|
+
end
|
12738
12792
|
def self.convert_presto_to_porcelain(plumbing)
|
12739
12793
|
if plumbing == nil
|
12740
12794
|
return nil
|
@@ -16089,6 +16143,9 @@ module SDM
|
|
16089
16143
|
if porcelain.instance_of? KeyValueEngine
|
16090
16144
|
plumbing.key_value = convert_key_value_engine_to_plumbing(porcelain)
|
16091
16145
|
end
|
16146
|
+
if porcelain.instance_of? PostgresEngine
|
16147
|
+
plumbing.postgres = convert_postgres_engine_to_plumbing(porcelain)
|
16148
|
+
end
|
16092
16149
|
plumbing
|
16093
16150
|
end
|
16094
16151
|
|
@@ -16102,6 +16159,9 @@ module SDM
|
|
16102
16159
|
if plumbing.key_value != nil
|
16103
16160
|
return convert_key_value_engine_to_porcelain(plumbing.key_value)
|
16104
16161
|
end
|
16162
|
+
if plumbing.postgres != nil
|
16163
|
+
return convert_postgres_engine_to_porcelain(plumbing.postgres)
|
16164
|
+
end
|
16105
16165
|
raise UnknownError.new("unknown polymorphic type, please upgrade your SDK")
|
16106
16166
|
end
|
16107
16167
|
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,20 @@ 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 :hostname, :string, 101
|
71
|
+
optional :password, :string, 103
|
72
|
+
optional :port, :uint32, 104
|
73
|
+
optional :username, :string, 102
|
74
|
+
optional :id, :string, 1
|
75
|
+
optional :name, :string, 2
|
76
|
+
optional :type, :string, 3
|
77
|
+
optional :secret_store_id, :string, 5
|
78
|
+
optional :secret_store_root_path, :string, 6
|
79
|
+
optional :tags, :message, 7, "v1.Tags"
|
80
|
+
optional :public_key, :bytes, 8
|
81
|
+
optional :key_rotation_interval_days, :int32, 9
|
82
|
+
end
|
68
83
|
end
|
69
84
|
end
|
70
85
|
|
@@ -72,4 +87,5 @@ module V1
|
|
72
87
|
SecretEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretEngine").msgclass
|
73
88
|
ActiveDirectoryEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ActiveDirectoryEngine").msgclass
|
74
89
|
KeyValueEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KeyValueEngine").msgclass
|
90
|
+
PostgresEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PostgresEngine").msgclass
|
75
91
|
end
|
data/lib/models/porcelain.rb
CHANGED
@@ -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
|
@@ -12148,6 +12146,66 @@ module SDM
|
|
12148
12146
|
end
|
12149
12147
|
end
|
12150
12148
|
|
12149
|
+
# PostgresEngine is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
12150
|
+
class PostgresEngine
|
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
|
+
# Port is the port number of the Postgres server.
|
12162
|
+
attr_accessor :port
|
12163
|
+
# Public key linked with a secret engine
|
12164
|
+
attr_accessor :public_key
|
12165
|
+
# Backing secret store identifier
|
12166
|
+
attr_accessor :secret_store_id
|
12167
|
+
# Backing Secret Store root path where managed secrets are going to be stored
|
12168
|
+
attr_accessor :secret_store_root_path
|
12169
|
+
# Tags is a map of key, value pairs.
|
12170
|
+
attr_accessor :tags
|
12171
|
+
# Username is the username to connect to the Postgres server.
|
12172
|
+
attr_accessor :username
|
12173
|
+
|
12174
|
+
def initialize(
|
12175
|
+
hostname: nil,
|
12176
|
+
id: nil,
|
12177
|
+
key_rotation_interval_days: nil,
|
12178
|
+
name: nil,
|
12179
|
+
password: nil,
|
12180
|
+
port: nil,
|
12181
|
+
public_key: nil,
|
12182
|
+
secret_store_id: nil,
|
12183
|
+
secret_store_root_path: nil,
|
12184
|
+
tags: nil,
|
12185
|
+
username: nil
|
12186
|
+
)
|
12187
|
+
@hostname = hostname == nil ? "" : hostname
|
12188
|
+
@id = id == nil ? "" : id
|
12189
|
+
@key_rotation_interval_days = key_rotation_interval_days == nil ? 0 : key_rotation_interval_days
|
12190
|
+
@name = name == nil ? "" : name
|
12191
|
+
@password = password == nil ? "" : password
|
12192
|
+
@port = port == nil ? 0 : port
|
12193
|
+
@public_key = public_key == nil ? "" : public_key
|
12194
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
12195
|
+
@secret_store_root_path = secret_store_root_path == nil ? "" : secret_store_root_path
|
12196
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
12197
|
+
@username = username == nil ? "" : username
|
12198
|
+
end
|
12199
|
+
|
12200
|
+
def to_json(options = {})
|
12201
|
+
hash = {}
|
12202
|
+
self.instance_variables.each do |var|
|
12203
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
12204
|
+
end
|
12205
|
+
hash.to_json
|
12206
|
+
end
|
12207
|
+
end
|
12208
|
+
|
12151
12209
|
class Presto
|
12152
12210
|
# 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
12211
|
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.
|
33
|
+
USER_AGENT = "strongdm-sdk-ruby/15.17.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
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.17.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-09-29 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-5f9301a80ad99e10331aac5994f1f330b2eba553.idx"
|
85
|
+
- "./.git/objects/pack/pack-5f9301a80ad99e10331aac5994f1f330b2eba553.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|