strongdm 15.31.0 → 15.35.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-46fa55c591044569a8751951056aa6c0ad02c32a.idx → pack-911715a143f0754c8fa4d6fbac32bf31812209f2.idx} +0 -0
- data/.git/objects/pack/{pack-46fa55c591044569a8751951056aa6c0ad02c32a.pack → pack-911715a143f0754c8fa4d6fbac32bf31812209f2.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +1 -0
- data/lib/grpc/plumbing.rb +74 -0
- data/lib/grpc/secret_engine_types_pb.rb +22 -0
- data/lib/models/porcelain.rb +90 -6
- 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: 8da7d96ac4cde341f23d6685e4696a8d8c9cc3dee72fdcbec268559fd00ffc24
|
|
4
|
+
data.tar.gz: 3bd3d813c9997c2cc4098cb6c9f7f38dc81a3cb425b69facbe76b47a9183faf1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9dca3036f95ea7acd0de5bc6434d6e2200bb0c8cb606808feea1da0fc94c8c28bc29f125008ff80be0bb28b14914f86d0375b25d6abe6cdd265e0f839463419c
|
|
7
|
+
data.tar.gz: ba18cbe6e657908cccf7aaa4b209e51adccfd9aed9759a6de3fcd4e98900f9e803df7ab81c654de43747c46f05ffe667f5d69bdb2674612e5ff0e83ba75c385a
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
cd129de1d73e1ab24098a9be54f50fc78cfd31b7
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 cd129de1d73e1ab24098a9be54f50fc78cfd31b7 root <root@35bf8a378161.(none)> 1764117326 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
cd129de1d73e1ab24098a9be54f50fc78cfd31b7 cd129de1d73e1ab24098a9be54f50fc78cfd31b7 root <root@35bf8a378161.(none)> 1764117326 +0000 checkout: moving from master to master
|
|
3
|
+
cd129de1d73e1ab24098a9be54f50fc78cfd31b7 b35d0e5ff63bf46264f4b6310ce05e2238917cef root <root@35bf8a378161.(none)> 1764117326 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 cd129de1d73e1ab24098a9be54f50fc78cfd31b7 root <root@35bf8a378161.(none)> 1764117326 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
cd129de1d73e1ab24098a9be54f50fc78cfd31b7 b35d0e5ff63bf46264f4b6310ce05e2238917cef root <root@35bf8a378161.(none)> 1764117326 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 cd129de1d73e1ab24098a9be54f50fc78cfd31b7 root <root@35bf8a378161.(none)> 1764117326 +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
|
+
b35d0e5ff63bf46264f4b6310ce05e2238917cef refs/remotes/origin/development
|
|
3
|
+
cd129de1d73e1ab24098a9be54f50fc78cfd31b7 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,8 @@ 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
|
|
124
|
+
cd129de1d73e1ab24098a9be54f50fc78cfd31b7 refs/tags/v15.33.0
|
|
123
125
|
cf3b15b82cb0c4229609c07c870c6cb4fd38ef75 refs/tags/v15.4.0
|
|
124
126
|
0be2c5e7f7a90c49077548cb3a9bce234219b9f0 refs/tags/v15.5.0
|
|
125
127
|
4b9cd43c5dda3f369b82b6a56132a5470ff9ff53 refs/tags/v15.6.0
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
b35d0e5ff63bf46264f4b6310ce05e2238917cef
|
data/lib/grpc/drivers_pb.rb
CHANGED
|
@@ -1725,6 +1725,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
1725
1725
|
optional :lock_required, :bool, 11
|
|
1726
1726
|
optional :port, :int32, 4
|
|
1727
1727
|
optional :port_override, :int32, 3
|
|
1728
|
+
optional :server_fqdn, :string, 7
|
|
1728
1729
|
optional :sid, :string, 12
|
|
1729
1730
|
optional :username, :string, 2
|
|
1730
1731
|
end
|
data/lib/grpc/plumbing.rb
CHANGED
|
@@ -13474,6 +13474,7 @@ module SDM
|
|
|
13474
13474
|
porcelain.port_override = (plumbing.port_override)
|
|
13475
13475
|
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
|
13476
13476
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
13477
|
+
porcelain.server_fqdn = (plumbing.server_fqdn)
|
|
13477
13478
|
porcelain.sid = (plumbing.sid)
|
|
13478
13479
|
porcelain.subdomain = (plumbing.subdomain)
|
|
13479
13480
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
@@ -13500,6 +13501,7 @@ module SDM
|
|
|
13500
13501
|
plumbing.port_override = (porcelain.port_override)
|
|
13501
13502
|
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
|
13502
13503
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
13504
|
+
plumbing.server_fqdn = (porcelain.server_fqdn)
|
|
13503
13505
|
plumbing.sid = (porcelain.sid)
|
|
13504
13506
|
plumbing.subdomain = (porcelain.subdomain)
|
|
13505
13507
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
@@ -16343,6 +16345,9 @@ module SDM
|
|
|
16343
16345
|
if porcelain.instance_of? PostgresEngine
|
|
16344
16346
|
plumbing.postgres = convert_postgres_engine_to_plumbing(porcelain)
|
|
16345
16347
|
end
|
|
16348
|
+
if porcelain.instance_of? SqlserverEngine
|
|
16349
|
+
plumbing.sqlserver = convert_sqlserver_engine_to_plumbing(porcelain)
|
|
16350
|
+
end
|
|
16346
16351
|
plumbing
|
|
16347
16352
|
end
|
|
16348
16353
|
|
|
@@ -16362,6 +16367,9 @@ module SDM
|
|
|
16362
16367
|
if plumbing.postgres != nil
|
|
16363
16368
|
return convert_postgres_engine_to_porcelain(plumbing.postgres)
|
|
16364
16369
|
end
|
|
16370
|
+
if plumbing.sqlserver != nil
|
|
16371
|
+
return convert_sqlserver_engine_to_porcelain(plumbing.sqlserver)
|
|
16372
|
+
end
|
|
16365
16373
|
raise UnknownError.new("unknown polymorphic type, please upgrade your SDK")
|
|
16366
16374
|
end
|
|
16367
16375
|
def self.convert_repeated_secret_engine_to_plumbing(porcelains)
|
|
@@ -17616,6 +17624,72 @@ module SDM
|
|
|
17616
17624
|
end
|
|
17617
17625
|
items
|
|
17618
17626
|
end
|
|
17627
|
+
def self.convert_sqlserver_engine_to_porcelain(plumbing)
|
|
17628
|
+
if plumbing == nil
|
|
17629
|
+
return nil
|
|
17630
|
+
end
|
|
17631
|
+
porcelain = SqlserverEngine.new()
|
|
17632
|
+
porcelain.after_read_ttl = convert_duration_to_porcelain(plumbing.after_read_ttl)
|
|
17633
|
+
porcelain.database = (plumbing.database)
|
|
17634
|
+
porcelain.hostname = (plumbing.hostname)
|
|
17635
|
+
porcelain.id = (plumbing.id)
|
|
17636
|
+
porcelain.key_rotation_interval_days = (plumbing.key_rotation_interval_days)
|
|
17637
|
+
porcelain.name = (plumbing.name)
|
|
17638
|
+
porcelain.password = (plumbing.password)
|
|
17639
|
+
porcelain.policy = convert_secret_engine_policy_to_porcelain(plumbing.policy)
|
|
17640
|
+
porcelain.port = (plumbing.port)
|
|
17641
|
+
porcelain.public_key = (plumbing.public_key)
|
|
17642
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
17643
|
+
porcelain.secret_store_root_path = (plumbing.secret_store_root_path)
|
|
17644
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
17645
|
+
porcelain.tls = (plumbing.tls)
|
|
17646
|
+
porcelain.tls_skip_verify = (plumbing.tls_skip_verify)
|
|
17647
|
+
porcelain.ttl = convert_duration_to_porcelain(plumbing.ttl)
|
|
17648
|
+
porcelain.username = (plumbing.username)
|
|
17649
|
+
porcelain
|
|
17650
|
+
end
|
|
17651
|
+
|
|
17652
|
+
def self.convert_sqlserver_engine_to_plumbing(porcelain)
|
|
17653
|
+
if porcelain == nil
|
|
17654
|
+
return nil
|
|
17655
|
+
end
|
|
17656
|
+
plumbing = V1::SqlserverEngine.new()
|
|
17657
|
+
plumbing.after_read_ttl = convert_duration_to_plumbing(porcelain.after_read_ttl)
|
|
17658
|
+
plumbing.database = (porcelain.database)
|
|
17659
|
+
plumbing.hostname = (porcelain.hostname)
|
|
17660
|
+
plumbing.id = (porcelain.id)
|
|
17661
|
+
plumbing.key_rotation_interval_days = (porcelain.key_rotation_interval_days)
|
|
17662
|
+
plumbing.name = (porcelain.name)
|
|
17663
|
+
plumbing.password = (porcelain.password)
|
|
17664
|
+
plumbing.policy = convert_secret_engine_policy_to_plumbing(porcelain.policy)
|
|
17665
|
+
plumbing.port = (porcelain.port)
|
|
17666
|
+
plumbing.public_key = (porcelain.public_key)
|
|
17667
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
17668
|
+
plumbing.secret_store_root_path = (porcelain.secret_store_root_path)
|
|
17669
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
17670
|
+
plumbing.tls = (porcelain.tls)
|
|
17671
|
+
plumbing.tls_skip_verify = (porcelain.tls_skip_verify)
|
|
17672
|
+
plumbing.ttl = convert_duration_to_plumbing(porcelain.ttl)
|
|
17673
|
+
plumbing.username = (porcelain.username)
|
|
17674
|
+
plumbing
|
|
17675
|
+
end
|
|
17676
|
+
def self.convert_repeated_sqlserver_engine_to_plumbing(porcelains)
|
|
17677
|
+
items = Array.new
|
|
17678
|
+
porcelains.each do |porcelain|
|
|
17679
|
+
plumbing = convert_sqlserver_engine_to_plumbing(porcelain)
|
|
17680
|
+
items.append(plumbing)
|
|
17681
|
+
end
|
|
17682
|
+
items
|
|
17683
|
+
end
|
|
17684
|
+
|
|
17685
|
+
def self.convert_repeated_sqlserver_engine_to_porcelain(plumbings)
|
|
17686
|
+
items = Array.new
|
|
17687
|
+
plumbings.each do |plumbing|
|
|
17688
|
+
porcelain = convert_sqlserver_engine_to_porcelain(plumbing)
|
|
17689
|
+
items.append(porcelain)
|
|
17690
|
+
end
|
|
17691
|
+
items
|
|
17692
|
+
end
|
|
17619
17693
|
def self.convert_strong_vault_store_to_porcelain(plumbing)
|
|
17620
17694
|
if plumbing == nil
|
|
17621
17695
|
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
|
data/lib/models/porcelain.rb
CHANGED
|
@@ -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
|
|
@@ -12995,7 +12993,7 @@ module SDM
|
|
|
12995
12993
|
class RDPCert
|
|
12996
12994
|
# 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.
|
|
12997
12995
|
attr_accessor :bind_interface
|
|
12998
|
-
# Comma-separated list of Active Directory Domain Controller hostnames for LDAPS SID resolution
|
|
12996
|
+
# Comma-separated list of Active Directory Domain Controller hostnames. Required in on-premises AD environments for Kerberos Network Level Authentication (NLA), and for LDAPS SID resolution for strong certificate mapping in full enforcement mode when the identity alias does not specify a SID. Unused for Entra ID.
|
|
12999
12997
|
attr_accessor :dc_hostnames
|
|
13000
12998
|
# A filter applied to the routing logic to pin datasource to nodes.
|
|
13001
12999
|
attr_accessor :egress_filter
|
|
@@ -13005,7 +13003,7 @@ module SDM
|
|
|
13005
13003
|
attr_accessor :hostname
|
|
13006
13004
|
# Unique identifier of the Resource.
|
|
13007
13005
|
attr_accessor :id
|
|
13008
|
-
#
|
|
13006
|
+
# Username of the AD service account for health checks, and LDAPS SID resolution if necessary. Required for on-premises AD environments, unused for Entra ID.
|
|
13009
13007
|
attr_accessor :identity_alias_healthcheck_username
|
|
13010
13008
|
# The ID of the identity set to use for identity connections.
|
|
13011
13009
|
attr_accessor :identity_set_id
|
|
@@ -13021,7 +13019,9 @@ module SDM
|
|
|
13021
13019
|
attr_accessor :proxy_cluster_id
|
|
13022
13020
|
# ID of the secret store containing credentials for this resource, if any.
|
|
13023
13021
|
attr_accessor :secret_store_id
|
|
13024
|
-
# Windows
|
|
13022
|
+
# Fully-qualified DNS name of the target Windows server, including the AD domain. Must match the Service Principal Name (SPN) of the server in AD. Required in on-premises AD environments for Kerberos Network Level Authentication (NLA), unused for Entra ID.
|
|
13023
|
+
attr_accessor :server_fqdn
|
|
13024
|
+
# Windows Security Identifier (SID) of the configured Username, or AD service account if using LDAPS SID resolution. Required in on-premises AD environments for strong certificate mapping in full enforcement mode, unused for Entra ID.
|
|
13025
13025
|
attr_accessor :sid
|
|
13026
13026
|
# DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
|
|
13027
13027
|
attr_accessor :subdomain
|
|
@@ -13045,6 +13045,7 @@ module SDM
|
|
|
13045
13045
|
port_override: nil,
|
|
13046
13046
|
proxy_cluster_id: nil,
|
|
13047
13047
|
secret_store_id: nil,
|
|
13048
|
+
server_fqdn: nil,
|
|
13048
13049
|
sid: nil,
|
|
13049
13050
|
subdomain: nil,
|
|
13050
13051
|
tags: nil,
|
|
@@ -13064,6 +13065,7 @@ module SDM
|
|
|
13064
13065
|
@port_override = port_override == nil ? 0 : port_override
|
|
13065
13066
|
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
|
13066
13067
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
13068
|
+
@server_fqdn = server_fqdn == nil ? "" : server_fqdn
|
|
13067
13069
|
@sid = sid == nil ? "" : sid
|
|
13068
13070
|
@subdomain = subdomain == nil ? "" : subdomain
|
|
13069
13071
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
@@ -16034,7 +16036,89 @@ module SDM
|
|
|
16034
16036
|
end
|
|
16035
16037
|
end
|
|
16036
16038
|
|
|
16037
|
-
|
|
16039
|
+
class SqlserverEngine
|
|
16040
|
+
# The default time-to-live duration of the password after it's read. Once the ttl has passed, a password will be rotated.
|
|
16041
|
+
attr_accessor :after_read_ttl
|
|
16042
|
+
# Database is the database to verify credential against.
|
|
16043
|
+
attr_accessor :database
|
|
16044
|
+
# Hostname is the hostname or IP address of the SQL Server.
|
|
16045
|
+
attr_accessor :hostname
|
|
16046
|
+
# Unique identifier of the Secret Engine.
|
|
16047
|
+
attr_accessor :id
|
|
16048
|
+
# An interval of public/private key rotation for secret engine in days
|
|
16049
|
+
attr_accessor :key_rotation_interval_days
|
|
16050
|
+
# Unique human-readable name of the Secret Engine.
|
|
16051
|
+
attr_accessor :name
|
|
16052
|
+
# Password is the password to connect to the SQL Server server.
|
|
16053
|
+
attr_accessor :password
|
|
16054
|
+
# Policy for password creation
|
|
16055
|
+
attr_accessor :policy
|
|
16056
|
+
# Port is the port number of the SQL Server server.
|
|
16057
|
+
attr_accessor :port
|
|
16058
|
+
# Public key linked with a secret engine
|
|
16059
|
+
attr_accessor :public_key
|
|
16060
|
+
# Backing secret store identifier
|
|
16061
|
+
attr_accessor :secret_store_id
|
|
16062
|
+
# Backing Secret Store root path where managed secrets are going to be stored
|
|
16063
|
+
attr_accessor :secret_store_root_path
|
|
16064
|
+
# Tags is a map of key, value pairs.
|
|
16065
|
+
attr_accessor :tags
|
|
16066
|
+
# TLS enables TLS/SSL when connecting to the SQL Server server.
|
|
16067
|
+
attr_accessor :tls
|
|
16068
|
+
# TLS disable certificate verification
|
|
16069
|
+
attr_accessor :tls_skip_verify
|
|
16070
|
+
# The default password time-to-live duration. Once the ttl has passed, a password will be rotated the next time it's requested.
|
|
16071
|
+
attr_accessor :ttl
|
|
16072
|
+
# Username is the username to connect to the SQL Server.
|
|
16073
|
+
attr_accessor :username
|
|
16074
|
+
|
|
16075
|
+
def initialize(
|
|
16076
|
+
after_read_ttl: nil,
|
|
16077
|
+
database: nil,
|
|
16078
|
+
hostname: nil,
|
|
16079
|
+
id: nil,
|
|
16080
|
+
key_rotation_interval_days: nil,
|
|
16081
|
+
name: nil,
|
|
16082
|
+
password: nil,
|
|
16083
|
+
policy: nil,
|
|
16084
|
+
port: nil,
|
|
16085
|
+
public_key: nil,
|
|
16086
|
+
secret_store_id: nil,
|
|
16087
|
+
secret_store_root_path: nil,
|
|
16088
|
+
tags: nil,
|
|
16089
|
+
tls: nil,
|
|
16090
|
+
tls_skip_verify: nil,
|
|
16091
|
+
ttl: nil,
|
|
16092
|
+
username: nil
|
|
16093
|
+
)
|
|
16094
|
+
@after_read_ttl = after_read_ttl == nil ? nil : after_read_ttl
|
|
16095
|
+
@database = database == nil ? "" : database
|
|
16096
|
+
@hostname = hostname == nil ? "" : hostname
|
|
16097
|
+
@id = id == nil ? "" : id
|
|
16098
|
+
@key_rotation_interval_days = key_rotation_interval_days == nil ? 0 : key_rotation_interval_days
|
|
16099
|
+
@name = name == nil ? "" : name
|
|
16100
|
+
@password = password == nil ? "" : password
|
|
16101
|
+
@policy = policy == nil ? nil : policy
|
|
16102
|
+
@port = port == nil ? 0 : port
|
|
16103
|
+
@public_key = public_key == nil ? "" : public_key
|
|
16104
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
16105
|
+
@secret_store_root_path = secret_store_root_path == nil ? "" : secret_store_root_path
|
|
16106
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
16107
|
+
@tls = tls == nil ? false : tls
|
|
16108
|
+
@tls_skip_verify = tls_skip_verify == nil ? false : tls_skip_verify
|
|
16109
|
+
@ttl = ttl == nil ? nil : ttl
|
|
16110
|
+
@username = username == nil ? "" : username
|
|
16111
|
+
end
|
|
16112
|
+
|
|
16113
|
+
def to_json(options = {})
|
|
16114
|
+
hash = {}
|
|
16115
|
+
self.instance_variables.each do |var|
|
|
16116
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
16117
|
+
end
|
|
16118
|
+
hash.to_json
|
|
16119
|
+
end
|
|
16120
|
+
end
|
|
16121
|
+
|
|
16038
16122
|
class StrongVaultStore
|
|
16039
16123
|
# Unique identifier of the SecretStore.
|
|
16040
16124
|
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.
|
|
33
|
+
USER_AGENT = "strongdm-sdk-ruby/15.35.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.35.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-
|
|
11
|
+
date: 2025-11-26 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-911715a143f0754c8fa4d6fbac32bf31812209f2.idx"
|
|
85
|
+
- "./.git/objects/pack/pack-911715a143f0754c8fa4d6fbac32bf31812209f2.pack"
|
|
86
86
|
- "./.git/packed-refs"
|
|
87
87
|
- "./.git/refs/heads/master"
|
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|