strongdm 15.29.0 → 15.31.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-b72a5220cd9c1682332e2b5ad06473dbbdf91a81.idx → pack-46fa55c591044569a8751951056aa6c0ad02c32a.idx} +0 -0
- data/.git/objects/pack/{pack-b72a5220cd9c1682332e2b5ad06473dbbdf91a81.pack → pack-46fa55c591044569a8751951056aa6c0ad02c32a.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/accounts_pb.rb +3 -0
- data/lib/grpc/plumbing.rb +78 -0
- data/lib/grpc/secret_engine_types_pb.rb +22 -0
- data/lib/models/porcelain.rb +96 -0
- 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: e315ae4b0a68e27c1998c6a4e7558203c13978045c78cc165119c372f348da66
|
|
4
|
+
data.tar.gz: 8dfbd8e9c3c1f6d0b07fbc898cbb9440987645bb1f612385a9ac954f72a5e377
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: efe65740abfa2a298cb4c30bf289368571dc09528871fec485f3f3d31921da80bd8d310b2598b104b93e506a19688c49d332193ae8f4337d598aac54c2219bc4
|
|
7
|
+
data.tar.gz: e976dca21694769e95839ec4414f89c2f14d11ff052b4d6e3fcfa1ac44a32ce96a51855280ea909571346aa3d57859637a3649666b57c0c012f8448e141f19d9
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
dd0e56c1b216e4c5828c092bc1bdc5c763804def
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 dd0e56c1b216e4c5828c092bc1bdc5c763804def root <root@54b70ede765e.(none)> 1763139914 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
dd0e56c1b216e4c5828c092bc1bdc5c763804def dd0e56c1b216e4c5828c092bc1bdc5c763804def root <root@54b70ede765e.(none)> 1763139914 +0000 checkout: moving from master to master
|
|
3
|
+
dd0e56c1b216e4c5828c092bc1bdc5c763804def 79414c54d0317c82e4ab6ac180d492664ced9c3c root <root@54b70ede765e.(none)> 1763139914 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 dd0e56c1b216e4c5828c092bc1bdc5c763804def root <root@54b70ede765e.(none)> 1763139914 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
dd0e56c1b216e4c5828c092bc1bdc5c763804def 79414c54d0317c82e4ab6ac180d492664ced9c3c root <root@54b70ede765e.(none)> 1763139914 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 dd0e56c1b216e4c5828c092bc1bdc5c763804def root <root@54b70ede765e.(none)> 1763139914 +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
|
+
79414c54d0317c82e4ab6ac180d492664ced9c3c refs/remotes/origin/development
|
|
3
|
+
dd0e56c1b216e4c5828c092bc1bdc5c763804def 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
|
|
@@ -119,6 +119,7 @@ a4fd017725511cf32effc6426ca74b714644d37d refs/tags/v15.25.0
|
|
|
119
119
|
9a13de3384bb6d3b929209e8c93515c9a146bfc0 refs/tags/v15.26.0
|
|
120
120
|
25679d89a3cf0c95ce09a35f00dd9bb6425e0946 refs/tags/v15.27.0
|
|
121
121
|
a19a5670f1583260058d10160faeee46ef5c6346 refs/tags/v15.28.0
|
|
122
|
+
dd0e56c1b216e4c5828c092bc1bdc5c763804def refs/tags/v15.29.0
|
|
122
123
|
cf3b15b82cb0c4229609c07c870c6cb4fd38ef75 refs/tags/v15.4.0
|
|
123
124
|
0be2c5e7f7a90c49077548cb3a9bce234219b9f0 refs/tags/v15.5.0
|
|
124
125
|
4b9cd43c5dda3f369b82b6a56132a5470ff9ff53 refs/tags/v15.6.0
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
79414c54d0317c82e4ab6ac180d492664ced9c3c
|
data/lib/grpc/accounts_pb.rb
CHANGED
|
@@ -96,12 +96,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
96
96
|
optional :SCIM, :string, 13
|
|
97
97
|
optional :manager_id, :string, 14
|
|
98
98
|
optional :resolved_manager_id, :string, 15
|
|
99
|
+
optional :created_at, :message, 16, "google.protobuf.Timestamp"
|
|
99
100
|
end
|
|
100
101
|
add_message "v1.Service" do
|
|
101
102
|
optional :id, :string, 1
|
|
102
103
|
optional :name, :string, 2
|
|
103
104
|
optional :suspended, :bool, 3
|
|
104
105
|
optional :tags, :message, 4, "v1.Tags"
|
|
106
|
+
optional :created_at, :message, 5, "google.protobuf.Timestamp"
|
|
105
107
|
end
|
|
106
108
|
add_message "v1.Token" do
|
|
107
109
|
optional :id, :string, 1
|
|
@@ -113,6 +115,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
113
115
|
optional :account_type, :string, 7
|
|
114
116
|
repeated :permissions, :string, 8
|
|
115
117
|
optional :duration, :message, 9, "google.protobuf.Duration"
|
|
118
|
+
optional :created_at, :message, 10, "google.protobuf.Timestamp"
|
|
116
119
|
end
|
|
117
120
|
end
|
|
118
121
|
end
|
data/lib/grpc/plumbing.rb
CHANGED
|
@@ -11224,6 +11224,72 @@ module SDM
|
|
|
11224
11224
|
end
|
|
11225
11225
|
items
|
|
11226
11226
|
end
|
|
11227
|
+
def self.convert_mysql_engine_to_porcelain(plumbing)
|
|
11228
|
+
if plumbing == nil
|
|
11229
|
+
return nil
|
|
11230
|
+
end
|
|
11231
|
+
porcelain = MysqlEngine.new()
|
|
11232
|
+
porcelain.after_read_ttl = convert_duration_to_porcelain(plumbing.after_read_ttl)
|
|
11233
|
+
porcelain.database = (plumbing.database)
|
|
11234
|
+
porcelain.hostname = (plumbing.hostname)
|
|
11235
|
+
porcelain.id = (plumbing.id)
|
|
11236
|
+
porcelain.key_rotation_interval_days = (plumbing.key_rotation_interval_days)
|
|
11237
|
+
porcelain.name = (plumbing.name)
|
|
11238
|
+
porcelain.password = (plumbing.password)
|
|
11239
|
+
porcelain.policy = convert_secret_engine_policy_to_porcelain(plumbing.policy)
|
|
11240
|
+
porcelain.port = (plumbing.port)
|
|
11241
|
+
porcelain.public_key = (plumbing.public_key)
|
|
11242
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
11243
|
+
porcelain.secret_store_root_path = (plumbing.secret_store_root_path)
|
|
11244
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
11245
|
+
porcelain.tls = (plumbing.tls)
|
|
11246
|
+
porcelain.tls_skip_verify = (plumbing.tls_skip_verify)
|
|
11247
|
+
porcelain.ttl = convert_duration_to_porcelain(plumbing.ttl)
|
|
11248
|
+
porcelain.username = (plumbing.username)
|
|
11249
|
+
porcelain
|
|
11250
|
+
end
|
|
11251
|
+
|
|
11252
|
+
def self.convert_mysql_engine_to_plumbing(porcelain)
|
|
11253
|
+
if porcelain == nil
|
|
11254
|
+
return nil
|
|
11255
|
+
end
|
|
11256
|
+
plumbing = V1::MysqlEngine.new()
|
|
11257
|
+
plumbing.after_read_ttl = convert_duration_to_plumbing(porcelain.after_read_ttl)
|
|
11258
|
+
plumbing.database = (porcelain.database)
|
|
11259
|
+
plumbing.hostname = (porcelain.hostname)
|
|
11260
|
+
plumbing.id = (porcelain.id)
|
|
11261
|
+
plumbing.key_rotation_interval_days = (porcelain.key_rotation_interval_days)
|
|
11262
|
+
plumbing.name = (porcelain.name)
|
|
11263
|
+
plumbing.password = (porcelain.password)
|
|
11264
|
+
plumbing.policy = convert_secret_engine_policy_to_plumbing(porcelain.policy)
|
|
11265
|
+
plumbing.port = (porcelain.port)
|
|
11266
|
+
plumbing.public_key = (porcelain.public_key)
|
|
11267
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
11268
|
+
plumbing.secret_store_root_path = (porcelain.secret_store_root_path)
|
|
11269
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
11270
|
+
plumbing.tls = (porcelain.tls)
|
|
11271
|
+
plumbing.tls_skip_verify = (porcelain.tls_skip_verify)
|
|
11272
|
+
plumbing.ttl = convert_duration_to_plumbing(porcelain.ttl)
|
|
11273
|
+
plumbing.username = (porcelain.username)
|
|
11274
|
+
plumbing
|
|
11275
|
+
end
|
|
11276
|
+
def self.convert_repeated_mysql_engine_to_plumbing(porcelains)
|
|
11277
|
+
items = Array.new
|
|
11278
|
+
porcelains.each do |porcelain|
|
|
11279
|
+
plumbing = convert_mysql_engine_to_plumbing(porcelain)
|
|
11280
|
+
items.append(plumbing)
|
|
11281
|
+
end
|
|
11282
|
+
items
|
|
11283
|
+
end
|
|
11284
|
+
|
|
11285
|
+
def self.convert_repeated_mysql_engine_to_porcelain(plumbings)
|
|
11286
|
+
items = Array.new
|
|
11287
|
+
plumbings.each do |plumbing|
|
|
11288
|
+
porcelain = convert_mysql_engine_to_porcelain(plumbing)
|
|
11289
|
+
items.append(porcelain)
|
|
11290
|
+
end
|
|
11291
|
+
items
|
|
11292
|
+
end
|
|
11227
11293
|
def self.convert_neptune_to_porcelain(plumbing)
|
|
11228
11294
|
if plumbing == nil
|
|
11229
11295
|
return nil
|
|
@@ -16271,6 +16337,9 @@ module SDM
|
|
|
16271
16337
|
if porcelain.instance_of? KeyValueEngine
|
|
16272
16338
|
plumbing.key_value = convert_key_value_engine_to_plumbing(porcelain)
|
|
16273
16339
|
end
|
|
16340
|
+
if porcelain.instance_of? MysqlEngine
|
|
16341
|
+
plumbing.mysql = convert_mysql_engine_to_plumbing(porcelain)
|
|
16342
|
+
end
|
|
16274
16343
|
if porcelain.instance_of? PostgresEngine
|
|
16275
16344
|
plumbing.postgres = convert_postgres_engine_to_plumbing(porcelain)
|
|
16276
16345
|
end
|
|
@@ -16287,6 +16356,9 @@ module SDM
|
|
|
16287
16356
|
if plumbing.key_value != nil
|
|
16288
16357
|
return convert_key_value_engine_to_porcelain(plumbing.key_value)
|
|
16289
16358
|
end
|
|
16359
|
+
if plumbing.mysql != nil
|
|
16360
|
+
return convert_mysql_engine_to_porcelain(plumbing.mysql)
|
|
16361
|
+
end
|
|
16290
16362
|
if plumbing.postgres != nil
|
|
16291
16363
|
return convert_postgres_engine_to_porcelain(plumbing.postgres)
|
|
16292
16364
|
end
|
|
@@ -17319,6 +17391,7 @@ module SDM
|
|
|
17319
17391
|
return nil
|
|
17320
17392
|
end
|
|
17321
17393
|
porcelain = Service.new()
|
|
17394
|
+
porcelain.created_at = convert_timestamp_to_porcelain(plumbing.created_at)
|
|
17322
17395
|
porcelain.id = (plumbing.id)
|
|
17323
17396
|
porcelain.name = (plumbing.name)
|
|
17324
17397
|
porcelain.suspended = (plumbing.suspended)
|
|
@@ -17331,6 +17404,7 @@ module SDM
|
|
|
17331
17404
|
return nil
|
|
17332
17405
|
end
|
|
17333
17406
|
plumbing = V1::Service.new()
|
|
17407
|
+
plumbing.created_at = convert_timestamp_to_plumbing(porcelain.created_at)
|
|
17334
17408
|
plumbing.id = (porcelain.id)
|
|
17335
17409
|
plumbing.name = (porcelain.name)
|
|
17336
17410
|
plumbing.suspended = (porcelain.suspended)
|
|
@@ -17802,6 +17876,7 @@ module SDM
|
|
|
17802
17876
|
end
|
|
17803
17877
|
porcelain = Token.new()
|
|
17804
17878
|
porcelain.account_type = (plumbing.account_type)
|
|
17879
|
+
porcelain.created_at = convert_timestamp_to_porcelain(plumbing.created_at)
|
|
17805
17880
|
porcelain.deadline = convert_timestamp_to_porcelain(plumbing.deadline)
|
|
17806
17881
|
porcelain.duration = convert_duration_to_porcelain(plumbing.duration)
|
|
17807
17882
|
porcelain.id = (plumbing.id)
|
|
@@ -17819,6 +17894,7 @@ module SDM
|
|
|
17819
17894
|
end
|
|
17820
17895
|
plumbing = V1::Token.new()
|
|
17821
17896
|
plumbing.account_type = (porcelain.account_type)
|
|
17897
|
+
plumbing.created_at = convert_timestamp_to_plumbing(porcelain.created_at)
|
|
17822
17898
|
plumbing.deadline = convert_timestamp_to_plumbing(porcelain.deadline)
|
|
17823
17899
|
plumbing.duration = convert_duration_to_plumbing(porcelain.duration)
|
|
17824
17900
|
plumbing.id = (porcelain.id)
|
|
@@ -17946,6 +18022,7 @@ module SDM
|
|
|
17946
18022
|
end
|
|
17947
18023
|
porcelain = User.new()
|
|
17948
18024
|
porcelain.scim = (plumbing.SCIM)
|
|
18025
|
+
porcelain.created_at = convert_timestamp_to_porcelain(plumbing.created_at)
|
|
17949
18026
|
porcelain.email = (plumbing.email)
|
|
17950
18027
|
porcelain.external_id = (plumbing.external_id)
|
|
17951
18028
|
porcelain.first_name = (plumbing.first_name)
|
|
@@ -17967,6 +18044,7 @@ module SDM
|
|
|
17967
18044
|
end
|
|
17968
18045
|
plumbing = V1::User.new()
|
|
17969
18046
|
plumbing.SCIM = (porcelain.scim)
|
|
18047
|
+
plumbing.created_at = convert_timestamp_to_plumbing(porcelain.created_at)
|
|
17970
18048
|
plumbing.email = (porcelain.email)
|
|
17971
18049
|
plumbing.external_id = (porcelain.external_id)
|
|
17972
18050
|
plumbing.first_name = (porcelain.first_name)
|
|
@@ -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 :mysql, :message, 334, "v1.MysqlEngine"
|
|
31
32
|
optional :postgres, :message, 333, "v1.PostgresEngine"
|
|
32
33
|
end
|
|
33
34
|
end
|
|
@@ -66,6 +67,26 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
66
67
|
optional :public_key, :bytes, 8
|
|
67
68
|
optional :key_rotation_interval_days, :int32, 9
|
|
68
69
|
end
|
|
70
|
+
add_message "v1.MysqlEngine" do
|
|
71
|
+
optional :after_read_ttl, :message, 105, "google.protobuf.Duration"
|
|
72
|
+
optional :database, :string, 108
|
|
73
|
+
optional :hostname, :string, 101
|
|
74
|
+
optional :password, :string, 103
|
|
75
|
+
optional :policy, :message, 107, "v1.SecretEnginePolicy"
|
|
76
|
+
optional :port, :uint32, 104
|
|
77
|
+
optional :tls, :bool, 109
|
|
78
|
+
optional :tls_skip_verify, :bool, 1010
|
|
79
|
+
optional :ttl, :message, 106, "google.protobuf.Duration"
|
|
80
|
+
optional :username, :string, 102
|
|
81
|
+
optional :id, :string, 1
|
|
82
|
+
optional :name, :string, 2
|
|
83
|
+
optional :type, :string, 3
|
|
84
|
+
optional :secret_store_id, :string, 5
|
|
85
|
+
optional :secret_store_root_path, :string, 6
|
|
86
|
+
optional :tags, :message, 7, "v1.Tags"
|
|
87
|
+
optional :public_key, :bytes, 8
|
|
88
|
+
optional :key_rotation_interval_days, :int32, 9
|
|
89
|
+
end
|
|
69
90
|
add_message "v1.PostgresEngine" do
|
|
70
91
|
optional :after_read_ttl, :message, 105, "google.protobuf.Duration"
|
|
71
92
|
optional :database, :string, 108
|
|
@@ -92,5 +113,6 @@ module V1
|
|
|
92
113
|
SecretEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretEngine").msgclass
|
|
93
114
|
ActiveDirectoryEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ActiveDirectoryEngine").msgclass
|
|
94
115
|
KeyValueEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KeyValueEngine").msgclass
|
|
116
|
+
MysqlEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MysqlEngine").msgclass
|
|
95
117
|
PostgresEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PostgresEngine").msgclass
|
|
96
118
|
end
|
data/lib/models/porcelain.rb
CHANGED
|
@@ -10877,6 +10877,90 @@ 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
|
+
class MysqlEngine
|
|
10882
|
+
# The default time-to-live duration of the password after it's read. Once the ttl has passed, a password will be rotated.
|
|
10883
|
+
attr_accessor :after_read_ttl
|
|
10884
|
+
# Database is the database to verify credential against.
|
|
10885
|
+
attr_accessor :database
|
|
10886
|
+
# Hostname is the hostname or IP address of the MySQL server.
|
|
10887
|
+
attr_accessor :hostname
|
|
10888
|
+
# Unique identifier of the Secret Engine.
|
|
10889
|
+
attr_accessor :id
|
|
10890
|
+
# An interval of public/private key rotation for secret engine in days
|
|
10891
|
+
attr_accessor :key_rotation_interval_days
|
|
10892
|
+
# Unique human-readable name of the Secret Engine.
|
|
10893
|
+
attr_accessor :name
|
|
10894
|
+
# Password is the password to connect to the MySQL server.
|
|
10895
|
+
attr_accessor :password
|
|
10896
|
+
# Policy for password creation
|
|
10897
|
+
attr_accessor :policy
|
|
10898
|
+
# Port is the port number of the MySQL server.
|
|
10899
|
+
attr_accessor :port
|
|
10900
|
+
# Public key linked with a secret engine
|
|
10901
|
+
attr_accessor :public_key
|
|
10902
|
+
# Backing secret store identifier
|
|
10903
|
+
attr_accessor :secret_store_id
|
|
10904
|
+
# Backing Secret Store root path where managed secrets are going to be stored
|
|
10905
|
+
attr_accessor :secret_store_root_path
|
|
10906
|
+
# Tags is a map of key, value pairs.
|
|
10907
|
+
attr_accessor :tags
|
|
10908
|
+
# TLS enables TLS/SSL when connecting to the MySQL server.
|
|
10909
|
+
attr_accessor :tls
|
|
10910
|
+
# TLS disable certificate verification
|
|
10911
|
+
attr_accessor :tls_skip_verify
|
|
10912
|
+
# The default password time-to-live duration. Once the ttl has passed, a password will be rotated the next time it's requested.
|
|
10913
|
+
attr_accessor :ttl
|
|
10914
|
+
# Username is the username to connect to the MySQL server.
|
|
10915
|
+
attr_accessor :username
|
|
10916
|
+
|
|
10917
|
+
def initialize(
|
|
10918
|
+
after_read_ttl: nil,
|
|
10919
|
+
database: nil,
|
|
10920
|
+
hostname: nil,
|
|
10921
|
+
id: nil,
|
|
10922
|
+
key_rotation_interval_days: nil,
|
|
10923
|
+
name: nil,
|
|
10924
|
+
password: nil,
|
|
10925
|
+
policy: nil,
|
|
10926
|
+
port: nil,
|
|
10927
|
+
public_key: nil,
|
|
10928
|
+
secret_store_id: nil,
|
|
10929
|
+
secret_store_root_path: nil,
|
|
10930
|
+
tags: nil,
|
|
10931
|
+
tls: nil,
|
|
10932
|
+
tls_skip_verify: nil,
|
|
10933
|
+
ttl: nil,
|
|
10934
|
+
username: nil
|
|
10935
|
+
)
|
|
10936
|
+
@after_read_ttl = after_read_ttl == nil ? nil : after_read_ttl
|
|
10937
|
+
@database = database == nil ? "" : database
|
|
10938
|
+
@hostname = hostname == nil ? "" : hostname
|
|
10939
|
+
@id = id == nil ? "" : id
|
|
10940
|
+
@key_rotation_interval_days = key_rotation_interval_days == nil ? 0 : key_rotation_interval_days
|
|
10941
|
+
@name = name == nil ? "" : name
|
|
10942
|
+
@password = password == nil ? "" : password
|
|
10943
|
+
@policy = policy == nil ? nil : policy
|
|
10944
|
+
@port = port == nil ? 0 : port
|
|
10945
|
+
@public_key = public_key == nil ? "" : public_key
|
|
10946
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
10947
|
+
@secret_store_root_path = secret_store_root_path == nil ? "" : secret_store_root_path
|
|
10948
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
10949
|
+
@tls = tls == nil ? false : tls
|
|
10950
|
+
@tls_skip_verify = tls_skip_verify == nil ? false : tls_skip_verify
|
|
10951
|
+
@ttl = ttl == nil ? nil : ttl
|
|
10952
|
+
@username = username == nil ? "" : username
|
|
10953
|
+
end
|
|
10954
|
+
|
|
10955
|
+
def to_json(options = {})
|
|
10956
|
+
hash = {}
|
|
10957
|
+
self.instance_variables.each do |var|
|
|
10958
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
10959
|
+
end
|
|
10960
|
+
hash.to_json
|
|
10961
|
+
end
|
|
10962
|
+
end
|
|
10963
|
+
|
|
10880
10964
|
class Neptune
|
|
10881
10965
|
# 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.
|
|
10882
10966
|
attr_accessor :bind_interface
|
|
@@ -15687,6 +15771,8 @@ module SDM
|
|
|
15687
15771
|
# A Service is a service account that can connect to resources they are granted
|
|
15688
15772
|
# directly, or granted via roles. Services are typically automated jobs.
|
|
15689
15773
|
class Service
|
|
15774
|
+
# CreatedAt is the timestamp when the service was created
|
|
15775
|
+
attr_accessor :created_at
|
|
15690
15776
|
# Unique identifier of the Service.
|
|
15691
15777
|
attr_accessor :id
|
|
15692
15778
|
# Unique human-readable name of the Service.
|
|
@@ -15697,11 +15783,13 @@ module SDM
|
|
|
15697
15783
|
attr_accessor :tags
|
|
15698
15784
|
|
|
15699
15785
|
def initialize(
|
|
15786
|
+
created_at: nil,
|
|
15700
15787
|
id: nil,
|
|
15701
15788
|
name: nil,
|
|
15702
15789
|
suspended: nil,
|
|
15703
15790
|
tags: nil
|
|
15704
15791
|
)
|
|
15792
|
+
@created_at = created_at == nil ? nil : created_at
|
|
15705
15793
|
@id = id == nil ? "" : id
|
|
15706
15794
|
@name = name == nil ? "" : name
|
|
15707
15795
|
@suspended = suspended == nil ? false : suspended
|
|
@@ -16215,6 +16303,8 @@ module SDM
|
|
|
16215
16303
|
class Token
|
|
16216
16304
|
# Corresponds to the type of token, e.g. api or admin-token.
|
|
16217
16305
|
attr_accessor :account_type
|
|
16306
|
+
# CreatedAt is the timestamp when the token was created
|
|
16307
|
+
attr_accessor :created_at
|
|
16218
16308
|
# The timestamp when the Token will expire.
|
|
16219
16309
|
attr_accessor :deadline
|
|
16220
16310
|
# Duration from token creation to expiration.
|
|
@@ -16234,6 +16324,7 @@ module SDM
|
|
|
16234
16324
|
|
|
16235
16325
|
def initialize(
|
|
16236
16326
|
account_type: nil,
|
|
16327
|
+
created_at: nil,
|
|
16237
16328
|
deadline: nil,
|
|
16238
16329
|
duration: nil,
|
|
16239
16330
|
id: nil,
|
|
@@ -16244,6 +16335,7 @@ module SDM
|
|
|
16244
16335
|
tags: nil
|
|
16245
16336
|
)
|
|
16246
16337
|
@account_type = account_type == nil ? "" : account_type
|
|
16338
|
+
@created_at = created_at == nil ? nil : created_at
|
|
16247
16339
|
@deadline = deadline == nil ? nil : deadline
|
|
16248
16340
|
@duration = duration == nil ? nil : duration
|
|
16249
16341
|
@id = id == nil ? "" : id
|
|
@@ -16357,6 +16449,8 @@ module SDM
|
|
|
16357
16449
|
class User
|
|
16358
16450
|
# SCIM contains the raw SCIM metadata for the user. This is a read-only field.
|
|
16359
16451
|
attr_accessor :scim
|
|
16452
|
+
# CreatedAt is the timestamp when the user was created
|
|
16453
|
+
attr_accessor :created_at
|
|
16360
16454
|
# The User's email address. Must be unique.
|
|
16361
16455
|
attr_accessor :email
|
|
16362
16456
|
# External ID is an alternative unique ID this user is represented by within an external service.
|
|
@@ -16387,6 +16481,7 @@ module SDM
|
|
|
16387
16481
|
|
|
16388
16482
|
def initialize(
|
|
16389
16483
|
scim: nil,
|
|
16484
|
+
created_at: nil,
|
|
16390
16485
|
email: nil,
|
|
16391
16486
|
external_id: nil,
|
|
16392
16487
|
first_name: nil,
|
|
@@ -16401,6 +16496,7 @@ module SDM
|
|
|
16401
16496
|
tags: nil
|
|
16402
16497
|
)
|
|
16403
16498
|
@scim = scim == nil ? "" : scim
|
|
16499
|
+
@created_at = created_at == nil ? nil : created_at
|
|
16404
16500
|
@email = email == nil ? "" : email
|
|
16405
16501
|
@external_id = external_id == nil ? "" : external_id
|
|
16406
16502
|
@first_name = first_name == nil ? "" : first_name
|
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.31.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.31.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-14 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-46fa55c591044569a8751951056aa6c0ad02c32a.idx"
|
|
85
|
+
- "./.git/objects/pack/pack-46fa55c591044569a8751951056aa6c0ad02c32a.pack"
|
|
86
86
|
- "./.git/packed-refs"
|
|
87
87
|
- "./.git/refs/heads/master"
|
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|