strongdm 15.29.0 → 15.33.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-d9170c069dabd3bb6524217964d1799b2a28a146.idx} +0 -0
- data/.git/objects/pack/{pack-b72a5220cd9c1682332e2b5ad06473dbbdf91a81.pack → pack-d9170c069dabd3bb6524217964d1799b2a28a146.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/accounts_pb.rb +3 -0
- data/lib/grpc/plumbing.rb +150 -0
- data/lib/grpc/secret_engine_types_pb.rb +44 -0
- data/lib/models/porcelain.rb +178 -2
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +2 -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: 3ce0021de696acf02c078778d0f00061081cae9de64ab2cf11bb4de0c56995a3
|
|
4
|
+
data.tar.gz: '058d1fdcc7ec7dfc92bbdf24eca19376b9d356caef85e843196326c7cd3170b3'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a35f538c62678504435694f893b177b7e6da3347135fa21b74fc4ad6021ddc98b6b837da575ba177ea13f85ab7f852beb6d35b4bd7acb9db360d84e53cdffe74
|
|
7
|
+
data.tar.gz: 19bea0be3fabaceecc6bc1effa9433a0eb2c0a2185e5ca586c99bdd495429ffc541188128972701f03fc8f4244a14177ce80644558325a4dcba855aee8be09ed
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
79414c54d0317c82e4ab6ac180d492664ced9c3c
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 79414c54d0317c82e4ab6ac180d492664ced9c3c root <root@d0c161968030.(none)> 1763553133 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
79414c54d0317c82e4ab6ac180d492664ced9c3c 79414c54d0317c82e4ab6ac180d492664ced9c3c root <root@d0c161968030.(none)> 1763553133 +0000 checkout: moving from master to master
|
|
3
|
+
79414c54d0317c82e4ab6ac180d492664ced9c3c cd129de1d73e1ab24098a9be54f50fc78cfd31b7 root <root@d0c161968030.(none)> 1763553133 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 79414c54d0317c82e4ab6ac180d492664ced9c3c root <root@d0c161968030.(none)> 1763553133 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
79414c54d0317c82e4ab6ac180d492664ced9c3c cd129de1d73e1ab24098a9be54f50fc78cfd31b7 root <root@d0c161968030.(none)> 1763553133 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 79414c54d0317c82e4ab6ac180d492664ced9c3c root <root@d0c161968030.(none)> 1763553133 +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
|
+
cd129de1d73e1ab24098a9be54f50fc78cfd31b7 refs/remotes/origin/development
|
|
3
|
+
79414c54d0317c82e4ab6ac180d492664ced9c3c 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,8 @@ 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
|
|
123
|
+
79414c54d0317c82e4ab6ac180d492664ced9c3c refs/tags/v15.31.0
|
|
122
124
|
cf3b15b82cb0c4229609c07c870c6cb4fd38ef75 refs/tags/v15.4.0
|
|
123
125
|
0be2c5e7f7a90c49077548cb3a9bce234219b9f0 refs/tags/v15.5.0
|
|
124
126
|
4b9cd43c5dda3f369b82b6a56132a5470ff9ff53 refs/tags/v15.6.0
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
cd129de1d73e1ab24098a9be54f50fc78cfd31b7
|
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,9 +16337,15 @@ 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
|
|
16346
|
+
if porcelain.instance_of? SqlserverEngine
|
|
16347
|
+
plumbing.sqlserver = convert_sqlserver_engine_to_plumbing(porcelain)
|
|
16348
|
+
end
|
|
16277
16349
|
plumbing
|
|
16278
16350
|
end
|
|
16279
16351
|
|
|
@@ -16287,9 +16359,15 @@ module SDM
|
|
|
16287
16359
|
if plumbing.key_value != nil
|
|
16288
16360
|
return convert_key_value_engine_to_porcelain(plumbing.key_value)
|
|
16289
16361
|
end
|
|
16362
|
+
if plumbing.mysql != nil
|
|
16363
|
+
return convert_mysql_engine_to_porcelain(plumbing.mysql)
|
|
16364
|
+
end
|
|
16290
16365
|
if plumbing.postgres != nil
|
|
16291
16366
|
return convert_postgres_engine_to_porcelain(plumbing.postgres)
|
|
16292
16367
|
end
|
|
16368
|
+
if plumbing.sqlserver != nil
|
|
16369
|
+
return convert_sqlserver_engine_to_porcelain(plumbing.sqlserver)
|
|
16370
|
+
end
|
|
16293
16371
|
raise UnknownError.new("unknown polymorphic type, please upgrade your SDK")
|
|
16294
16372
|
end
|
|
16295
16373
|
def self.convert_repeated_secret_engine_to_plumbing(porcelains)
|
|
@@ -17319,6 +17397,7 @@ module SDM
|
|
|
17319
17397
|
return nil
|
|
17320
17398
|
end
|
|
17321
17399
|
porcelain = Service.new()
|
|
17400
|
+
porcelain.created_at = convert_timestamp_to_porcelain(plumbing.created_at)
|
|
17322
17401
|
porcelain.id = (plumbing.id)
|
|
17323
17402
|
porcelain.name = (plumbing.name)
|
|
17324
17403
|
porcelain.suspended = (plumbing.suspended)
|
|
@@ -17331,6 +17410,7 @@ module SDM
|
|
|
17331
17410
|
return nil
|
|
17332
17411
|
end
|
|
17333
17412
|
plumbing = V1::Service.new()
|
|
17413
|
+
plumbing.created_at = convert_timestamp_to_plumbing(porcelain.created_at)
|
|
17334
17414
|
plumbing.id = (porcelain.id)
|
|
17335
17415
|
plumbing.name = (porcelain.name)
|
|
17336
17416
|
plumbing.suspended = (porcelain.suspended)
|
|
@@ -17542,6 +17622,72 @@ module SDM
|
|
|
17542
17622
|
end
|
|
17543
17623
|
items
|
|
17544
17624
|
end
|
|
17625
|
+
def self.convert_sqlserver_engine_to_porcelain(plumbing)
|
|
17626
|
+
if plumbing == nil
|
|
17627
|
+
return nil
|
|
17628
|
+
end
|
|
17629
|
+
porcelain = SqlserverEngine.new()
|
|
17630
|
+
porcelain.after_read_ttl = convert_duration_to_porcelain(plumbing.after_read_ttl)
|
|
17631
|
+
porcelain.database = (plumbing.database)
|
|
17632
|
+
porcelain.hostname = (plumbing.hostname)
|
|
17633
|
+
porcelain.id = (plumbing.id)
|
|
17634
|
+
porcelain.key_rotation_interval_days = (plumbing.key_rotation_interval_days)
|
|
17635
|
+
porcelain.name = (plumbing.name)
|
|
17636
|
+
porcelain.password = (plumbing.password)
|
|
17637
|
+
porcelain.policy = convert_secret_engine_policy_to_porcelain(plumbing.policy)
|
|
17638
|
+
porcelain.port = (plumbing.port)
|
|
17639
|
+
porcelain.public_key = (plumbing.public_key)
|
|
17640
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
17641
|
+
porcelain.secret_store_root_path = (plumbing.secret_store_root_path)
|
|
17642
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
17643
|
+
porcelain.tls = (plumbing.tls)
|
|
17644
|
+
porcelain.tls_skip_verify = (plumbing.tls_skip_verify)
|
|
17645
|
+
porcelain.ttl = convert_duration_to_porcelain(plumbing.ttl)
|
|
17646
|
+
porcelain.username = (plumbing.username)
|
|
17647
|
+
porcelain
|
|
17648
|
+
end
|
|
17649
|
+
|
|
17650
|
+
def self.convert_sqlserver_engine_to_plumbing(porcelain)
|
|
17651
|
+
if porcelain == nil
|
|
17652
|
+
return nil
|
|
17653
|
+
end
|
|
17654
|
+
plumbing = V1::SqlserverEngine.new()
|
|
17655
|
+
plumbing.after_read_ttl = convert_duration_to_plumbing(porcelain.after_read_ttl)
|
|
17656
|
+
plumbing.database = (porcelain.database)
|
|
17657
|
+
plumbing.hostname = (porcelain.hostname)
|
|
17658
|
+
plumbing.id = (porcelain.id)
|
|
17659
|
+
plumbing.key_rotation_interval_days = (porcelain.key_rotation_interval_days)
|
|
17660
|
+
plumbing.name = (porcelain.name)
|
|
17661
|
+
plumbing.password = (porcelain.password)
|
|
17662
|
+
plumbing.policy = convert_secret_engine_policy_to_plumbing(porcelain.policy)
|
|
17663
|
+
plumbing.port = (porcelain.port)
|
|
17664
|
+
plumbing.public_key = (porcelain.public_key)
|
|
17665
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
17666
|
+
plumbing.secret_store_root_path = (porcelain.secret_store_root_path)
|
|
17667
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
17668
|
+
plumbing.tls = (porcelain.tls)
|
|
17669
|
+
plumbing.tls_skip_verify = (porcelain.tls_skip_verify)
|
|
17670
|
+
plumbing.ttl = convert_duration_to_plumbing(porcelain.ttl)
|
|
17671
|
+
plumbing.username = (porcelain.username)
|
|
17672
|
+
plumbing
|
|
17673
|
+
end
|
|
17674
|
+
def self.convert_repeated_sqlserver_engine_to_plumbing(porcelains)
|
|
17675
|
+
items = Array.new
|
|
17676
|
+
porcelains.each do |porcelain|
|
|
17677
|
+
plumbing = convert_sqlserver_engine_to_plumbing(porcelain)
|
|
17678
|
+
items.append(plumbing)
|
|
17679
|
+
end
|
|
17680
|
+
items
|
|
17681
|
+
end
|
|
17682
|
+
|
|
17683
|
+
def self.convert_repeated_sqlserver_engine_to_porcelain(plumbings)
|
|
17684
|
+
items = Array.new
|
|
17685
|
+
plumbings.each do |plumbing|
|
|
17686
|
+
porcelain = convert_sqlserver_engine_to_porcelain(plumbing)
|
|
17687
|
+
items.append(porcelain)
|
|
17688
|
+
end
|
|
17689
|
+
items
|
|
17690
|
+
end
|
|
17545
17691
|
def self.convert_strong_vault_store_to_porcelain(plumbing)
|
|
17546
17692
|
if plumbing == nil
|
|
17547
17693
|
return nil
|
|
@@ -17802,6 +17948,7 @@ module SDM
|
|
|
17802
17948
|
end
|
|
17803
17949
|
porcelain = Token.new()
|
|
17804
17950
|
porcelain.account_type = (plumbing.account_type)
|
|
17951
|
+
porcelain.created_at = convert_timestamp_to_porcelain(plumbing.created_at)
|
|
17805
17952
|
porcelain.deadline = convert_timestamp_to_porcelain(plumbing.deadline)
|
|
17806
17953
|
porcelain.duration = convert_duration_to_porcelain(plumbing.duration)
|
|
17807
17954
|
porcelain.id = (plumbing.id)
|
|
@@ -17819,6 +17966,7 @@ module SDM
|
|
|
17819
17966
|
end
|
|
17820
17967
|
plumbing = V1::Token.new()
|
|
17821
17968
|
plumbing.account_type = (porcelain.account_type)
|
|
17969
|
+
plumbing.created_at = convert_timestamp_to_plumbing(porcelain.created_at)
|
|
17822
17970
|
plumbing.deadline = convert_timestamp_to_plumbing(porcelain.deadline)
|
|
17823
17971
|
plumbing.duration = convert_duration_to_plumbing(porcelain.duration)
|
|
17824
17972
|
plumbing.id = (porcelain.id)
|
|
@@ -17946,6 +18094,7 @@ module SDM
|
|
|
17946
18094
|
end
|
|
17947
18095
|
porcelain = User.new()
|
|
17948
18096
|
porcelain.scim = (plumbing.SCIM)
|
|
18097
|
+
porcelain.created_at = convert_timestamp_to_porcelain(plumbing.created_at)
|
|
17949
18098
|
porcelain.email = (plumbing.email)
|
|
17950
18099
|
porcelain.external_id = (plumbing.external_id)
|
|
17951
18100
|
porcelain.first_name = (plumbing.first_name)
|
|
@@ -17967,6 +18116,7 @@ module SDM
|
|
|
17967
18116
|
end
|
|
17968
18117
|
plumbing = V1::User.new()
|
|
17969
18118
|
plumbing.SCIM = (porcelain.scim)
|
|
18119
|
+
plumbing.created_at = convert_timestamp_to_plumbing(porcelain.created_at)
|
|
17970
18120
|
plumbing.email = (porcelain.email)
|
|
17971
18121
|
plumbing.external_id = (porcelain.external_id)
|
|
17972
18122
|
plumbing.first_name = (porcelain.first_name)
|
|
@@ -28,7 +28,9 @@ 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"
|
|
33
|
+
optional :sqlserver, :message, 335, "v1.SqlserverEngine"
|
|
32
34
|
end
|
|
33
35
|
end
|
|
34
36
|
add_message "v1.ActiveDirectoryEngine" do
|
|
@@ -66,6 +68,26 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
66
68
|
optional :public_key, :bytes, 8
|
|
67
69
|
optional :key_rotation_interval_days, :int32, 9
|
|
68
70
|
end
|
|
71
|
+
add_message "v1.MysqlEngine" do
|
|
72
|
+
optional :after_read_ttl, :message, 105, "google.protobuf.Duration"
|
|
73
|
+
optional :database, :string, 108
|
|
74
|
+
optional :hostname, :string, 101
|
|
75
|
+
optional :password, :string, 103
|
|
76
|
+
optional :policy, :message, 107, "v1.SecretEnginePolicy"
|
|
77
|
+
optional :port, :uint32, 104
|
|
78
|
+
optional :tls, :bool, 109
|
|
79
|
+
optional :tls_skip_verify, :bool, 1010
|
|
80
|
+
optional :ttl, :message, 106, "google.protobuf.Duration"
|
|
81
|
+
optional :username, :string, 102
|
|
82
|
+
optional :id, :string, 1
|
|
83
|
+
optional :name, :string, 2
|
|
84
|
+
optional :type, :string, 3
|
|
85
|
+
optional :secret_store_id, :string, 5
|
|
86
|
+
optional :secret_store_root_path, :string, 6
|
|
87
|
+
optional :tags, :message, 7, "v1.Tags"
|
|
88
|
+
optional :public_key, :bytes, 8
|
|
89
|
+
optional :key_rotation_interval_days, :int32, 9
|
|
90
|
+
end
|
|
69
91
|
add_message "v1.PostgresEngine" do
|
|
70
92
|
optional :after_read_ttl, :message, 105, "google.protobuf.Duration"
|
|
71
93
|
optional :database, :string, 108
|
|
@@ -85,6 +107,26 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
85
107
|
optional :public_key, :bytes, 8
|
|
86
108
|
optional :key_rotation_interval_days, :int32, 9
|
|
87
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
|
|
88
130
|
end
|
|
89
131
|
end
|
|
90
132
|
|
|
@@ -92,5 +134,7 @@ module V1
|
|
|
92
134
|
SecretEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretEngine").msgclass
|
|
93
135
|
ActiveDirectoryEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ActiveDirectoryEngine").msgclass
|
|
94
136
|
KeyValueEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KeyValueEngine").msgclass
|
|
137
|
+
MysqlEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MysqlEngine").msgclass
|
|
95
138
|
PostgresEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PostgresEngine").msgclass
|
|
139
|
+
SqlserverEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SqlserverEngine").msgclass
|
|
96
140
|
end
|
data/lib/models/porcelain.rb
CHANGED
|
@@ -10877,6 +10877,89 @@ module SDM
|
|
|
10877
10877
|
end
|
|
10878
10878
|
end
|
|
10879
10879
|
|
|
10880
|
+
class MysqlEngine
|
|
10881
|
+
# The default time-to-live duration of the password after it's read. Once the ttl has passed, a password will be rotated.
|
|
10882
|
+
attr_accessor :after_read_ttl
|
|
10883
|
+
# Database is the database to verify credential against.
|
|
10884
|
+
attr_accessor :database
|
|
10885
|
+
# Hostname is the hostname or IP address of the MySQL server.
|
|
10886
|
+
attr_accessor :hostname
|
|
10887
|
+
# Unique identifier of the Secret Engine.
|
|
10888
|
+
attr_accessor :id
|
|
10889
|
+
# An interval of public/private key rotation for secret engine in days
|
|
10890
|
+
attr_accessor :key_rotation_interval_days
|
|
10891
|
+
# Unique human-readable name of the Secret Engine.
|
|
10892
|
+
attr_accessor :name
|
|
10893
|
+
# Password is the password to connect to the MySQL server.
|
|
10894
|
+
attr_accessor :password
|
|
10895
|
+
# Policy for password creation
|
|
10896
|
+
attr_accessor :policy
|
|
10897
|
+
# Port is the port number of the MySQL server.
|
|
10898
|
+
attr_accessor :port
|
|
10899
|
+
# Public key linked with a secret engine
|
|
10900
|
+
attr_accessor :public_key
|
|
10901
|
+
# Backing secret store identifier
|
|
10902
|
+
attr_accessor :secret_store_id
|
|
10903
|
+
# Backing Secret Store root path where managed secrets are going to be stored
|
|
10904
|
+
attr_accessor :secret_store_root_path
|
|
10905
|
+
# Tags is a map of key, value pairs.
|
|
10906
|
+
attr_accessor :tags
|
|
10907
|
+
# TLS enables TLS/SSL when connecting to the MySQL server.
|
|
10908
|
+
attr_accessor :tls
|
|
10909
|
+
# TLS disable certificate verification
|
|
10910
|
+
attr_accessor :tls_skip_verify
|
|
10911
|
+
# The default password time-to-live duration. Once the ttl has passed, a password will be rotated the next time it's requested.
|
|
10912
|
+
attr_accessor :ttl
|
|
10913
|
+
# Username is the username to connect to the MySQL server.
|
|
10914
|
+
attr_accessor :username
|
|
10915
|
+
|
|
10916
|
+
def initialize(
|
|
10917
|
+
after_read_ttl: nil,
|
|
10918
|
+
database: nil,
|
|
10919
|
+
hostname: nil,
|
|
10920
|
+
id: nil,
|
|
10921
|
+
key_rotation_interval_days: nil,
|
|
10922
|
+
name: nil,
|
|
10923
|
+
password: nil,
|
|
10924
|
+
policy: nil,
|
|
10925
|
+
port: nil,
|
|
10926
|
+
public_key: nil,
|
|
10927
|
+
secret_store_id: nil,
|
|
10928
|
+
secret_store_root_path: nil,
|
|
10929
|
+
tags: nil,
|
|
10930
|
+
tls: nil,
|
|
10931
|
+
tls_skip_verify: nil,
|
|
10932
|
+
ttl: nil,
|
|
10933
|
+
username: nil
|
|
10934
|
+
)
|
|
10935
|
+
@after_read_ttl = after_read_ttl == nil ? nil : after_read_ttl
|
|
10936
|
+
@database = database == nil ? "" : database
|
|
10937
|
+
@hostname = hostname == nil ? "" : hostname
|
|
10938
|
+
@id = id == nil ? "" : id
|
|
10939
|
+
@key_rotation_interval_days = key_rotation_interval_days == nil ? 0 : key_rotation_interval_days
|
|
10940
|
+
@name = name == nil ? "" : name
|
|
10941
|
+
@password = password == nil ? "" : password
|
|
10942
|
+
@policy = policy == nil ? nil : policy
|
|
10943
|
+
@port = port == nil ? 0 : port
|
|
10944
|
+
@public_key = public_key == nil ? "" : public_key
|
|
10945
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
10946
|
+
@secret_store_root_path = secret_store_root_path == nil ? "" : secret_store_root_path
|
|
10947
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
10948
|
+
@tls = tls == nil ? false : tls
|
|
10949
|
+
@tls_skip_verify = tls_skip_verify == nil ? false : tls_skip_verify
|
|
10950
|
+
@ttl = ttl == nil ? nil : ttl
|
|
10951
|
+
@username = username == nil ? "" : username
|
|
10952
|
+
end
|
|
10953
|
+
|
|
10954
|
+
def to_json(options = {})
|
|
10955
|
+
hash = {}
|
|
10956
|
+
self.instance_variables.each do |var|
|
|
10957
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
10958
|
+
end
|
|
10959
|
+
hash.to_json
|
|
10960
|
+
end
|
|
10961
|
+
end
|
|
10962
|
+
|
|
10880
10963
|
class Neptune
|
|
10881
10964
|
# 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
10965
|
attr_accessor :bind_interface
|
|
@@ -12265,7 +12348,6 @@ module SDM
|
|
|
12265
12348
|
end
|
|
12266
12349
|
end
|
|
12267
12350
|
|
|
12268
|
-
# PostgresEngine is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
12269
12351
|
class PostgresEngine
|
|
12270
12352
|
# The default time-to-live duration of the password after it's read. Once the ttl has passed, a password will be rotated.
|
|
12271
12353
|
attr_accessor :after_read_ttl
|
|
@@ -15687,6 +15769,8 @@ module SDM
|
|
|
15687
15769
|
# A Service is a service account that can connect to resources they are granted
|
|
15688
15770
|
# directly, or granted via roles. Services are typically automated jobs.
|
|
15689
15771
|
class Service
|
|
15772
|
+
# CreatedAt is the timestamp when the service was created
|
|
15773
|
+
attr_accessor :created_at
|
|
15690
15774
|
# Unique identifier of the Service.
|
|
15691
15775
|
attr_accessor :id
|
|
15692
15776
|
# Unique human-readable name of the Service.
|
|
@@ -15697,11 +15781,13 @@ module SDM
|
|
|
15697
15781
|
attr_accessor :tags
|
|
15698
15782
|
|
|
15699
15783
|
def initialize(
|
|
15784
|
+
created_at: nil,
|
|
15700
15785
|
id: nil,
|
|
15701
15786
|
name: nil,
|
|
15702
15787
|
suspended: nil,
|
|
15703
15788
|
tags: nil
|
|
15704
15789
|
)
|
|
15790
|
+
@created_at = created_at == nil ? nil : created_at
|
|
15705
15791
|
@id = id == nil ? "" : id
|
|
15706
15792
|
@name = name == nil ? "" : name
|
|
15707
15793
|
@suspended = suspended == nil ? false : suspended
|
|
@@ -15946,7 +16032,89 @@ module SDM
|
|
|
15946
16032
|
end
|
|
15947
16033
|
end
|
|
15948
16034
|
|
|
15949
|
-
|
|
16035
|
+
class SqlserverEngine
|
|
16036
|
+
# The default time-to-live duration of the password after it's read. Once the ttl has passed, a password will be rotated.
|
|
16037
|
+
attr_accessor :after_read_ttl
|
|
16038
|
+
# Database is the database to verify credential against.
|
|
16039
|
+
attr_accessor :database
|
|
16040
|
+
# Hostname is the hostname or IP address of the SQL Server.
|
|
16041
|
+
attr_accessor :hostname
|
|
16042
|
+
# Unique identifier of the Secret Engine.
|
|
16043
|
+
attr_accessor :id
|
|
16044
|
+
# An interval of public/private key rotation for secret engine in days
|
|
16045
|
+
attr_accessor :key_rotation_interval_days
|
|
16046
|
+
# Unique human-readable name of the Secret Engine.
|
|
16047
|
+
attr_accessor :name
|
|
16048
|
+
# Password is the password to connect to the SQL Server server.
|
|
16049
|
+
attr_accessor :password
|
|
16050
|
+
# Policy for password creation
|
|
16051
|
+
attr_accessor :policy
|
|
16052
|
+
# Port is the port number of the SQL Server server.
|
|
16053
|
+
attr_accessor :port
|
|
16054
|
+
# Public key linked with a secret engine
|
|
16055
|
+
attr_accessor :public_key
|
|
16056
|
+
# Backing secret store identifier
|
|
16057
|
+
attr_accessor :secret_store_id
|
|
16058
|
+
# Backing Secret Store root path where managed secrets are going to be stored
|
|
16059
|
+
attr_accessor :secret_store_root_path
|
|
16060
|
+
# Tags is a map of key, value pairs.
|
|
16061
|
+
attr_accessor :tags
|
|
16062
|
+
# TLS enables TLS/SSL when connecting to the SQL Server server.
|
|
16063
|
+
attr_accessor :tls
|
|
16064
|
+
# TLS disable certificate verification
|
|
16065
|
+
attr_accessor :tls_skip_verify
|
|
16066
|
+
# The default password time-to-live duration. Once the ttl has passed, a password will be rotated the next time it's requested.
|
|
16067
|
+
attr_accessor :ttl
|
|
16068
|
+
# Username is the username to connect to the SQL Server.
|
|
16069
|
+
attr_accessor :username
|
|
16070
|
+
|
|
16071
|
+
def initialize(
|
|
16072
|
+
after_read_ttl: nil,
|
|
16073
|
+
database: nil,
|
|
16074
|
+
hostname: nil,
|
|
16075
|
+
id: nil,
|
|
16076
|
+
key_rotation_interval_days: nil,
|
|
16077
|
+
name: nil,
|
|
16078
|
+
password: nil,
|
|
16079
|
+
policy: nil,
|
|
16080
|
+
port: nil,
|
|
16081
|
+
public_key: nil,
|
|
16082
|
+
secret_store_id: nil,
|
|
16083
|
+
secret_store_root_path: nil,
|
|
16084
|
+
tags: nil,
|
|
16085
|
+
tls: nil,
|
|
16086
|
+
tls_skip_verify: nil,
|
|
16087
|
+
ttl: nil,
|
|
16088
|
+
username: nil
|
|
16089
|
+
)
|
|
16090
|
+
@after_read_ttl = after_read_ttl == nil ? nil : after_read_ttl
|
|
16091
|
+
@database = database == nil ? "" : database
|
|
16092
|
+
@hostname = hostname == nil ? "" : hostname
|
|
16093
|
+
@id = id == nil ? "" : id
|
|
16094
|
+
@key_rotation_interval_days = key_rotation_interval_days == nil ? 0 : key_rotation_interval_days
|
|
16095
|
+
@name = name == nil ? "" : name
|
|
16096
|
+
@password = password == nil ? "" : password
|
|
16097
|
+
@policy = policy == nil ? nil : policy
|
|
16098
|
+
@port = port == nil ? 0 : port
|
|
16099
|
+
@public_key = public_key == nil ? "" : public_key
|
|
16100
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
16101
|
+
@secret_store_root_path = secret_store_root_path == nil ? "" : secret_store_root_path
|
|
16102
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
16103
|
+
@tls = tls == nil ? false : tls
|
|
16104
|
+
@tls_skip_verify = tls_skip_verify == nil ? false : tls_skip_verify
|
|
16105
|
+
@ttl = ttl == nil ? nil : ttl
|
|
16106
|
+
@username = username == nil ? "" : username
|
|
16107
|
+
end
|
|
16108
|
+
|
|
16109
|
+
def to_json(options = {})
|
|
16110
|
+
hash = {}
|
|
16111
|
+
self.instance_variables.each do |var|
|
|
16112
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
16113
|
+
end
|
|
16114
|
+
hash.to_json
|
|
16115
|
+
end
|
|
16116
|
+
end
|
|
16117
|
+
|
|
15950
16118
|
class StrongVaultStore
|
|
15951
16119
|
# Unique identifier of the SecretStore.
|
|
15952
16120
|
attr_accessor :id
|
|
@@ -16215,6 +16383,8 @@ module SDM
|
|
|
16215
16383
|
class Token
|
|
16216
16384
|
# Corresponds to the type of token, e.g. api or admin-token.
|
|
16217
16385
|
attr_accessor :account_type
|
|
16386
|
+
# CreatedAt is the timestamp when the token was created
|
|
16387
|
+
attr_accessor :created_at
|
|
16218
16388
|
# The timestamp when the Token will expire.
|
|
16219
16389
|
attr_accessor :deadline
|
|
16220
16390
|
# Duration from token creation to expiration.
|
|
@@ -16234,6 +16404,7 @@ module SDM
|
|
|
16234
16404
|
|
|
16235
16405
|
def initialize(
|
|
16236
16406
|
account_type: nil,
|
|
16407
|
+
created_at: nil,
|
|
16237
16408
|
deadline: nil,
|
|
16238
16409
|
duration: nil,
|
|
16239
16410
|
id: nil,
|
|
@@ -16244,6 +16415,7 @@ module SDM
|
|
|
16244
16415
|
tags: nil
|
|
16245
16416
|
)
|
|
16246
16417
|
@account_type = account_type == nil ? "" : account_type
|
|
16418
|
+
@created_at = created_at == nil ? nil : created_at
|
|
16247
16419
|
@deadline = deadline == nil ? nil : deadline
|
|
16248
16420
|
@duration = duration == nil ? nil : duration
|
|
16249
16421
|
@id = id == nil ? "" : id
|
|
@@ -16357,6 +16529,8 @@ module SDM
|
|
|
16357
16529
|
class User
|
|
16358
16530
|
# SCIM contains the raw SCIM metadata for the user. This is a read-only field.
|
|
16359
16531
|
attr_accessor :scim
|
|
16532
|
+
# CreatedAt is the timestamp when the user was created
|
|
16533
|
+
attr_accessor :created_at
|
|
16360
16534
|
# The User's email address. Must be unique.
|
|
16361
16535
|
attr_accessor :email
|
|
16362
16536
|
# External ID is an alternative unique ID this user is represented by within an external service.
|
|
@@ -16387,6 +16561,7 @@ module SDM
|
|
|
16387
16561
|
|
|
16388
16562
|
def initialize(
|
|
16389
16563
|
scim: nil,
|
|
16564
|
+
created_at: nil,
|
|
16390
16565
|
email: nil,
|
|
16391
16566
|
external_id: nil,
|
|
16392
16567
|
first_name: nil,
|
|
@@ -16401,6 +16576,7 @@ module SDM
|
|
|
16401
16576
|
tags: nil
|
|
16402
16577
|
)
|
|
16403
16578
|
@scim = scim == nil ? "" : scim
|
|
16579
|
+
@created_at = created_at == nil ? nil : created_at
|
|
16404
16580
|
@email = email == nil ? "" : email
|
|
16405
16581
|
@external_id = external_id == nil ? "" : external_id
|
|
16406
16582
|
@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.33.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.33.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-19 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-d9170c069dabd3bb6524217964d1799b2a28a146.idx"
|
|
85
|
+
- "./.git/objects/pack/pack-d9170c069dabd3bb6524217964d1799b2a28a146.pack"
|
|
86
86
|
- "./.git/packed-refs"
|
|
87
87
|
- "./.git/refs/heads/master"
|
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|