strongdm 1.0.24 → 1.0.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.git/FETCH_HEAD +2 -0
- data/.git/HEAD +1 -0
- data/.git/ORIG_HEAD +1 -0
- data/.git/config +14 -0
- data/.git/description +1 -0
- data/.git/hooks/applypatch-msg.sample +15 -0
- data/.git/hooks/commit-msg.sample +24 -0
- data/.git/hooks/fsmonitor-watchman.sample +114 -0
- data/.git/hooks/post-update.sample +8 -0
- data/.git/hooks/pre-applypatch.sample +14 -0
- data/.git/hooks/pre-commit.sample +49 -0
- data/.git/hooks/pre-push.sample +53 -0
- data/.git/hooks/pre-rebase.sample +169 -0
- data/.git/hooks/pre-receive.sample +24 -0
- data/.git/hooks/prepare-commit-msg.sample +42 -0
- data/.git/hooks/update.sample +128 -0
- data/.git/index +0 -0
- data/.git/info/exclude +6 -0
- data/.git/logs/HEAD +4 -0
- data/.git/logs/refs/heads/development +1 -0
- data/.git/logs/refs/heads/master +2 -0
- data/.git/logs/refs/remotes/origin/HEAD +1 -0
- data/.git/objects/pack/pack-e8e4eaa32483a25559ca2593dcd15e1bdf43df31.idx +0 -0
- data/.git/objects/pack/pack-e8e4eaa32483a25559ca2593dcd15e1bdf43df31.pack +0 -0
- data/.git/packed-refs +29 -0
- data/.git/refs/heads/development +1 -0
- data/.git/refs/heads/master +1 -0
- data/.git/refs/remotes/origin/HEAD +1 -0
- data/doc/LICENSE.html +3 -9
- data/doc/Object.html +8 -24
- data/doc/README_md.html +7 -10
- data/doc/SDM/AKS.html +45 -120
- data/doc/SDM/AKSBasicAuth.html +39 -111
- data/doc/SDM/AKSServiceAccount.html +37 -106
- data/doc/SDM/AKSServiceAccountUserImpersonation.html +37 -106
- data/doc/SDM/AKSUserImpersonation.html +45 -120
- data/doc/SDM/AWS.html +40 -112
- data/doc/SDM/AWSStore.html +10 -61
- data/doc/SDM/AccountAttachment.html +16 -64
- data/doc/SDM/AccountAttachmentCreateResponse.html +16 -64
- data/doc/SDM/AccountAttachmentDeleteResponse.html +10 -55
- data/doc/SDM/AccountAttachmentGetResponse.html +16 -64
- data/doc/SDM/AccountAttachments.html +10 -86
- data/doc/SDM/AccountCreateResponse.html +19 -70
- data/doc/SDM/AccountDeleteResponse.html +10 -55
- data/doc/SDM/AccountGetResponse.html +16 -64
- data/doc/SDM/AccountGrant.html +16 -70
- data/doc/SDM/AccountGrantCreateResponse.html +16 -64
- data/doc/SDM/AccountGrantDeleteResponse.html +10 -55
- data/doc/SDM/AccountGrantGetResponse.html +16 -64
- data/doc/SDM/AccountGrants.html +10 -86
- data/doc/SDM/AccountUpdateResponse.html +16 -64
- data/doc/SDM/Accounts.html +13 -102
- data/doc/SDM/AlreadyExistsError.html +7 -31
- data/doc/SDM/AmazonEKS.html +48 -132
- data/doc/SDM/AmazonEKSUserImpersonation.html +48 -132
- data/doc/SDM/AmazonES.html +45 -123
- data/doc/SDM/AmazonMQAMQP091.html +42 -117
- data/doc/SDM/Athena.html +38 -116
- data/doc/SDM/AuroraMysql.html +41 -116
- data/doc/SDM/AuroraPostgres.html +43 -121
- data/doc/SDM/AuthenticationError.html +7 -31
- data/doc/SDM/BadRequestError.html +7 -31
- data/doc/SDM/BigQuery.html +32 -104
- data/doc/SDM/Cassandra.html +40 -115
- data/doc/SDM/Citus.html +43 -121
- data/doc/SDM/Client.html +22 -140
- data/doc/SDM/Clustrix.html +41 -116
- data/doc/SDM/Cockroach.html +43 -121
- data/doc/SDM/ControlPanel.html +9 -59
- data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +10 -58
- data/doc/SDM/ControlPanelVerifyJWTResponse.html +16 -64
- data/doc/SDM/CreateResponseMetadata.html +10 -47
- data/doc/SDM/DB2LUW.html +41 -116
- data/doc/SDM/DB2i.html +40 -115
- data/doc/SDM/DeadlineExceededError.html +7 -31
- data/doc/SDM/DeleteResponseMetadata.html +10 -47
- data/doc/SDM/Druid.html +39 -111
- data/doc/SDM/DynamoDB.html +46 -124
- data/doc/SDM/Elastic.html +40 -115
- data/doc/SDM/ElasticacheRedis.html +36 -108
- data/doc/SDM/Gateway.html +26 -86
- data/doc/SDM/GetResponseMetadata.html +10 -47
- data/doc/SDM/GoogleGKE.html +38 -107
- data/doc/SDM/GoogleGKEUserImpersonation.html +38 -107
- data/doc/SDM/Greenplum.html +43 -121
- data/doc/SDM/HTTPAuth.html +44 -119
- data/doc/SDM/HTTPBasicAuth.html +46 -124
- data/doc/SDM/HTTPNoAuth.html +42 -114
- data/doc/SDM/InternalError.html +7 -31
- data/doc/SDM/Kubernetes.html +45 -120
- data/doc/SDM/KubernetesBasicAuth.html +39 -111
- data/doc/SDM/KubernetesServiceAccount.html +37 -106
- data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +37 -106
- data/doc/SDM/KubernetesUserImpersonation.html +45 -120
- data/doc/SDM/Maria.html +41 -116
- data/doc/SDM/Memcached.html +34 -100
- data/doc/SDM/Memsql.html +41 -116
- data/doc/SDM/MongoHost.html +42 -120
- data/doc/SDM/MongoLegacyHost.html +43 -124
- data/doc/SDM/MongoLegacyReplicaset.html +46 -130
- data/doc/SDM/MongoReplicaSet.html +46 -130
- data/doc/SDM/Mysql.html +41 -116
- data/doc/SDM/NodeCreateResponse.html +16 -67
- data/doc/SDM/NodeDeleteResponse.html +10 -55
- data/doc/SDM/NodeGetResponse.html +10 -58
- data/doc/SDM/NodeUpdateResponse.html +10 -58
- data/doc/SDM/Nodes.html +11 -100
- data/doc/SDM/NotFoundError.html +7 -31
- data/doc/SDM/Oracle.html +40 -118
- data/doc/SDM/PermissionError.html +7 -31
- data/doc/SDM/Plumbing.html +1761 -7697
- data/doc/SDM/Postgres.html +43 -121
- data/doc/SDM/Presto.html +40 -118
- data/doc/SDM/RDP.html +40 -112
- data/doc/SDM/RPCError.html +7 -36
- data/doc/SDM/RabbitMQAMQP091.html +42 -117
- data/doc/SDM/RateLimitError.html +7 -36
- data/doc/SDM/RateLimitMetadata.html +16 -67
- data/doc/SDM/{AmazonMQRabbitMQAMQP091.html → RawTCP.html} +35 -155
- data/doc/SDM/Redis.html +36 -105
- data/doc/SDM/Redshift.html +43 -121
- data/doc/SDM/Relay.html +16 -70
- data/doc/SDM/ResourceCreateResponse.html +16 -64
- data/doc/SDM/ResourceDeleteResponse.html +10 -55
- data/doc/SDM/ResourceGetResponse.html +16 -64
- data/doc/SDM/ResourceUpdateResponse.html +16 -64
- data/doc/SDM/Resources.html +11 -113
- data/doc/SDM/Role.html +31 -67
- data/doc/SDM/RoleAttachment.html +17 -65
- data/doc/SDM/RoleAttachmentCreateResponse.html +16 -64
- data/doc/SDM/RoleAttachmentDeleteResponse.html +10 -55
- data/doc/SDM/RoleAttachmentGetResponse.html +16 -64
- data/doc/SDM/RoleAttachments.html +10 -86
- data/doc/SDM/RoleCreateResponse.html +16 -64
- data/doc/SDM/RoleDeleteResponse.html +10 -55
- data/doc/SDM/RoleGetResponse.html +16 -64
- data/doc/SDM/RoleGrant.html +10 -58
- data/doc/SDM/RoleGrantCreateResponse.html +16 -64
- data/doc/SDM/RoleGrantDeleteResponse.html +10 -55
- data/doc/SDM/RoleGrantGetResponse.html +16 -64
- data/doc/SDM/RoleGrants.html +10 -86
- data/doc/SDM/RoleUpdateResponse.html +16 -64
- data/doc/SDM/Roles.html +11 -100
- data/doc/SDM/SQLServer.html +43 -124
- data/doc/SDM/SSH.html +41 -116
- data/doc/SDM/SSHCert.html +38 -110
- data/doc/SDM/SSHCustomerKey.html +41 -116
- data/doc/SDM/SecretStoreCreateResponse.html +16 -64
- data/doc/SDM/SecretStoreDeleteResponse.html +10 -55
- data/doc/SDM/SecretStoreGetResponse.html +16 -64
- data/doc/SDM/SecretStoreUpdateResponse.html +16 -64
- data/doc/SDM/SecretStores.html +11 -100
- data/doc/SDM/Service.html +10 -61
- data/doc/SDM/SingleStore.html +41 -116
- data/doc/SDM/Snowflake.html +41 -116
- data/doc/SDM/Sybase.html +39 -111
- data/doc/SDM/SybaseIQ.html +39 -111
- data/doc/SDM/Tag.html +10 -55
- data/doc/SDM/Teradata.html +40 -112
- data/doc/SDM/UpdateResponseMetadata.html +10 -47
- data/doc/SDM/User.html +16 -73
- data/doc/SDM/VaultTLSStore.html +40 -85
- data/doc/SDM/VaultTokenStore.html +25 -61
- data/doc/SDM.html +2 -15
- data/doc/V1/AccountAttachments/Service.html +6 -18
- data/doc/V1/AccountAttachments.html +2 -15
- data/doc/V1/AccountGrants/Service.html +6 -18
- data/doc/V1/AccountGrants.html +2 -15
- data/doc/V1/Accounts/Service.html +7 -19
- data/doc/V1/Accounts.html +2 -15
- data/doc/V1/ControlPanel/Service.html +6 -18
- data/doc/V1/ControlPanel.html +2 -15
- data/doc/V1/Nodes/Service.html +8 -20
- data/doc/V1/Nodes.html +2 -15
- data/doc/V1/Resources/Service.html +6 -18
- data/doc/V1/Resources.html +2 -15
- data/doc/V1/RoleAttachments/Service.html +6 -18
- data/doc/V1/RoleAttachments.html +2 -15
- data/doc/V1/RoleGrants/Service.html +6 -18
- data/doc/V1/RoleGrants.html +2 -15
- data/doc/V1/Roles/Service.html +6 -18
- data/doc/V1/Roles.html +2 -15
- data/doc/V1/SecretStores/Service.html +6 -18
- data/doc/V1/SecretStores.html +2 -15
- data/doc/V1/Tags.html +2 -15
- data/doc/V1.html +8 -795
- data/doc/created.rid +37 -51
- data/doc/css/rdoc.css +21 -1
- data/doc/examples/Gemfile.html +3 -9
- data/doc/index.html +4 -185
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +4 -10
- data/doc/table_of_contents.html +539 -882
- data/lib/grpc/account_attachments_services_pb.rb +4 -4
- data/lib/grpc/account_grants_services_pb.rb +4 -4
- data/lib/grpc/accounts_services_pb.rb +5 -5
- data/lib/grpc/control_panel_services_pb.rb +2 -2
- data/lib/grpc/drivers_pb.rb +405 -392
- data/lib/grpc/nodes_services_pb.rb +5 -5
- data/lib/grpc/options_pb.rb +9 -14
- data/lib/grpc/plumbing.rb +3014 -2952
- data/lib/grpc/resources_services_pb.rb +6 -6
- data/lib/grpc/role_attachments_services_pb.rb +4 -4
- data/lib/grpc/role_grants_services_pb.rb +4 -4
- data/lib/grpc/roles_pb.rb +1 -0
- data/lib/grpc/roles_services_pb.rb +5 -5
- data/lib/grpc/secret_store_types_pb.rb +3 -1
- data/lib/grpc/secret_stores_services_pb.rb +5 -5
- data/lib/models/porcelain.rb +3869 -3822
- data/lib/strongdm.rb +8 -1
- data/lib/svc.rb +23 -23
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- data/strongdm.gemspec +5 -5
- metadata +279 -292
- data/doc/Google/Protobuf.html +0 -95
- data/doc/Google.html +0 -95
- data/doc/SDM/AccessRuleCreateResponse.html +0 -267
- data/doc/SDM/AccessRuleDeleteResponse.html +0 -249
- data/doc/SDM/AccessRuleUpdateResponse.html +0 -267
- data/doc/SDM/AccountAttachmentCreateOptions.html +0 -231
- data/doc/SDM/SecretStore.html +0 -303
- data/doc/V1/AccessRules/Service.html +0 -119
- data/doc/V1/AccessRules.html +0 -113
- data/doc/V1/Audits/Service.html +0 -119
- data/doc/V1/Audits.html +0 -113
- data/doc/V1/BuildsPrivate/Service.html +0 -119
- data/doc/V1/BuildsPrivate.html +0 -113
- data/doc/V1/DemoProvisioningRequests/Service.html +0 -119
- data/doc/V1/DemoProvisioningRequests.html +0 -113
- data/doc/V1/Permissions/Service.html +0 -119
- data/doc/V1/SecretStoreHealths/Service.html +0 -119
- data/doc/V1/SecretStoreHealths.html +0 -113
- data/doc/examples/Gemfile_lock.html +0 -122
- data/doc/examples/README_md.html +0 -105
- data/doc/examples/okta-sync/Gemfile.html +0 -105
- data/doc/examples/okta-sync/Gemfile_lock.html +0 -146
- data/doc/js/jquery.js +0 -4
- data/doc/strongdm_gemspec.html +0 -119
data/lib/strongdm.rb
CHANGED
@@ -22,6 +22,8 @@ require "openssl"
|
|
22
22
|
DEFAULT_MAX_RETRIES = 3
|
23
23
|
DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms
|
24
24
|
DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds
|
25
|
+
API_VERSION = "2021-08-23"
|
26
|
+
USER_AGENT = "strongdm-sdk-ruby/1.0.29"
|
25
27
|
|
26
28
|
module SDM
|
27
29
|
|
@@ -51,7 +53,12 @@ module SDM
|
|
51
53
|
end
|
52
54
|
|
53
55
|
def get_metadata(method_name, req)
|
54
|
-
return {
|
56
|
+
return {
|
57
|
+
'x-sdm-authentication': @api_access_key,
|
58
|
+
'x-sdm-signature': self.sign(method_name, req.to_proto),
|
59
|
+
'x-sdm-api-version': API_VERSION,
|
60
|
+
'x-sdm-user-agent': USER_AGENT,
|
61
|
+
}
|
55
62
|
end
|
56
63
|
|
57
64
|
def sign(method_name, msg_bytes)
|
data/lib/svc.rb
CHANGED
@@ -64,8 +64,8 @@ module SDM
|
|
64
64
|
end
|
65
65
|
|
66
66
|
resp = AccountAttachmentCreateResponse.new()
|
67
|
-
resp.meta = Plumbing::convert_create_response_metadata_to_porcelain(plumbing_response.meta)
|
68
67
|
resp.account_attachment = Plumbing::convert_account_attachment_to_porcelain(plumbing_response.account_attachment)
|
68
|
+
resp.meta = Plumbing::convert_create_response_metadata_to_porcelain(plumbing_response.meta)
|
69
69
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
70
70
|
resp
|
71
71
|
end
|
@@ -94,8 +94,8 @@ module SDM
|
|
94
94
|
end
|
95
95
|
|
96
96
|
resp = AccountAttachmentGetResponse.new()
|
97
|
-
resp.meta = Plumbing::convert_get_response_metadata_to_porcelain(plumbing_response.meta)
|
98
97
|
resp.account_attachment = Plumbing::convert_account_attachment_to_porcelain(plumbing_response.account_attachment)
|
98
|
+
resp.meta = Plumbing::convert_get_response_metadata_to_porcelain(plumbing_response.meta)
|
99
99
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
100
100
|
resp
|
101
101
|
end
|
@@ -207,8 +207,8 @@ module SDM
|
|
207
207
|
end
|
208
208
|
|
209
209
|
resp = AccountGrantCreateResponse.new()
|
210
|
-
resp.meta = Plumbing::convert_create_response_metadata_to_porcelain(plumbing_response.meta)
|
211
210
|
resp.account_grant = Plumbing::convert_account_grant_to_porcelain(plumbing_response.account_grant)
|
211
|
+
resp.meta = Plumbing::convert_create_response_metadata_to_porcelain(plumbing_response.meta)
|
212
212
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
213
213
|
resp
|
214
214
|
end
|
@@ -237,8 +237,8 @@ module SDM
|
|
237
237
|
end
|
238
238
|
|
239
239
|
resp = AccountGrantGetResponse.new()
|
240
|
-
resp.meta = Plumbing::convert_get_response_metadata_to_porcelain(plumbing_response.meta)
|
241
240
|
resp.account_grant = Plumbing::convert_account_grant_to_porcelain(plumbing_response.account_grant)
|
241
|
+
resp.meta = Plumbing::convert_get_response_metadata_to_porcelain(plumbing_response.meta)
|
242
242
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
243
243
|
resp
|
244
244
|
end
|
@@ -352,10 +352,10 @@ module SDM
|
|
352
352
|
end
|
353
353
|
|
354
354
|
resp = AccountCreateResponse.new()
|
355
|
-
resp.meta = Plumbing::convert_create_response_metadata_to_porcelain(plumbing_response.meta)
|
356
355
|
resp.account = Plumbing::convert_account_to_porcelain(plumbing_response.account)
|
357
|
-
resp.
|
356
|
+
resp.meta = Plumbing::convert_create_response_metadata_to_porcelain(plumbing_response.meta)
|
358
357
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
358
|
+
resp.token = (plumbing_response.token)
|
359
359
|
resp
|
360
360
|
end
|
361
361
|
|
@@ -383,8 +383,8 @@ module SDM
|
|
383
383
|
end
|
384
384
|
|
385
385
|
resp = AccountGetResponse.new()
|
386
|
-
resp.meta = Plumbing::convert_get_response_metadata_to_porcelain(plumbing_response.meta)
|
387
386
|
resp.account = Plumbing::convert_account_to_porcelain(plumbing_response.account)
|
387
|
+
resp.meta = Plumbing::convert_get_response_metadata_to_porcelain(plumbing_response.meta)
|
388
388
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
389
389
|
resp
|
390
390
|
end
|
@@ -413,8 +413,8 @@ module SDM
|
|
413
413
|
end
|
414
414
|
|
415
415
|
resp = AccountUpdateResponse.new()
|
416
|
-
resp.meta = Plumbing::convert_update_response_metadata_to_porcelain(plumbing_response.meta)
|
417
416
|
resp.account = Plumbing::convert_account_to_porcelain(plumbing_response.account)
|
417
|
+
resp.meta = Plumbing::convert_update_response_metadata_to_porcelain(plumbing_response.meta)
|
418
418
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
419
419
|
resp
|
420
420
|
end
|
@@ -555,8 +555,8 @@ module SDM
|
|
555
555
|
|
556
556
|
resp = ControlPanelVerifyJWTResponse.new()
|
557
557
|
resp.meta = Plumbing::convert_get_response_metadata_to_porcelain(plumbing_response.meta)
|
558
|
-
resp.valid = (plumbing_response.valid)
|
559
558
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
559
|
+
resp.valid = (plumbing_response.valid)
|
560
560
|
resp
|
561
561
|
end
|
562
562
|
end
|
@@ -605,8 +605,8 @@ module SDM
|
|
605
605
|
resp = NodeCreateResponse.new()
|
606
606
|
resp.meta = Plumbing::convert_create_response_metadata_to_porcelain(plumbing_response.meta)
|
607
607
|
resp.node = Plumbing::convert_node_to_porcelain(plumbing_response.node)
|
608
|
-
resp.token = (plumbing_response.token)
|
609
608
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
609
|
+
resp.token = (plumbing_response.token)
|
610
610
|
resp
|
611
611
|
end
|
612
612
|
|
@@ -814,8 +814,8 @@ module SDM
|
|
814
814
|
|
815
815
|
resp = ResourceCreateResponse.new()
|
816
816
|
resp.meta = Plumbing::convert_create_response_metadata_to_porcelain(plumbing_response.meta)
|
817
|
-
resp.resource = Plumbing::convert_resource_to_porcelain(plumbing_response.resource)
|
818
817
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
818
|
+
resp.resource = Plumbing::convert_resource_to_porcelain(plumbing_response.resource)
|
819
819
|
resp
|
820
820
|
end
|
821
821
|
|
@@ -844,8 +844,8 @@ module SDM
|
|
844
844
|
|
845
845
|
resp = ResourceGetResponse.new()
|
846
846
|
resp.meta = Plumbing::convert_get_response_metadata_to_porcelain(plumbing_response.meta)
|
847
|
-
resp.resource = Plumbing::convert_resource_to_porcelain(plumbing_response.resource)
|
848
847
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
848
|
+
resp.resource = Plumbing::convert_resource_to_porcelain(plumbing_response.resource)
|
849
849
|
resp
|
850
850
|
end
|
851
851
|
|
@@ -874,8 +874,8 @@ module SDM
|
|
874
874
|
|
875
875
|
resp = ResourceUpdateResponse.new()
|
876
876
|
resp.meta = Plumbing::convert_update_response_metadata_to_porcelain(plumbing_response.meta)
|
877
|
-
resp.resource = Plumbing::convert_resource_to_porcelain(plumbing_response.resource)
|
878
877
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
878
|
+
resp.resource = Plumbing::convert_resource_to_porcelain(plumbing_response.resource)
|
879
879
|
resp
|
880
880
|
end
|
881
881
|
|
@@ -990,8 +990,8 @@ module SDM
|
|
990
990
|
|
991
991
|
resp = RoleAttachmentCreateResponse.new()
|
992
992
|
resp.meta = Plumbing::convert_create_response_metadata_to_porcelain(plumbing_response.meta)
|
993
|
-
resp.role_attachment = Plumbing::convert_role_attachment_to_porcelain(plumbing_response.role_attachment)
|
994
993
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
994
|
+
resp.role_attachment = Plumbing::convert_role_attachment_to_porcelain(plumbing_response.role_attachment)
|
995
995
|
resp
|
996
996
|
end
|
997
997
|
|
@@ -1020,8 +1020,8 @@ module SDM
|
|
1020
1020
|
|
1021
1021
|
resp = RoleAttachmentGetResponse.new()
|
1022
1022
|
resp.meta = Plumbing::convert_get_response_metadata_to_porcelain(plumbing_response.meta)
|
1023
|
-
resp.role_attachment = Plumbing::convert_role_attachment_to_porcelain(plumbing_response.role_attachment)
|
1024
1023
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
1024
|
+
resp.role_attachment = Plumbing::convert_role_attachment_to_porcelain(plumbing_response.role_attachment)
|
1025
1025
|
resp
|
1026
1026
|
end
|
1027
1027
|
|
@@ -1136,8 +1136,8 @@ module SDM
|
|
1136
1136
|
|
1137
1137
|
resp = RoleGrantCreateResponse.new()
|
1138
1138
|
resp.meta = Plumbing::convert_create_response_metadata_to_porcelain(plumbing_response.meta)
|
1139
|
-
resp.role_grant = Plumbing::convert_role_grant_to_porcelain(plumbing_response.role_grant)
|
1140
1139
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
1140
|
+
resp.role_grant = Plumbing::convert_role_grant_to_porcelain(plumbing_response.role_grant)
|
1141
1141
|
resp
|
1142
1142
|
end
|
1143
1143
|
|
@@ -1166,8 +1166,8 @@ module SDM
|
|
1166
1166
|
|
1167
1167
|
resp = RoleGrantGetResponse.new()
|
1168
1168
|
resp.meta = Plumbing::convert_get_response_metadata_to_porcelain(plumbing_response.meta)
|
1169
|
-
resp.role_grant = Plumbing::convert_role_grant_to_porcelain(plumbing_response.role_grant)
|
1170
1169
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
1170
|
+
resp.role_grant = Plumbing::convert_role_grant_to_porcelain(plumbing_response.role_grant)
|
1171
1171
|
resp
|
1172
1172
|
end
|
1173
1173
|
|
@@ -1283,8 +1283,8 @@ module SDM
|
|
1283
1283
|
|
1284
1284
|
resp = RoleCreateResponse.new()
|
1285
1285
|
resp.meta = Plumbing::convert_create_response_metadata_to_porcelain(plumbing_response.meta)
|
1286
|
-
resp.role = Plumbing::convert_role_to_porcelain(plumbing_response.role)
|
1287
1286
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
1287
|
+
resp.role = Plumbing::convert_role_to_porcelain(plumbing_response.role)
|
1288
1288
|
resp
|
1289
1289
|
end
|
1290
1290
|
|
@@ -1313,8 +1313,8 @@ module SDM
|
|
1313
1313
|
|
1314
1314
|
resp = RoleGetResponse.new()
|
1315
1315
|
resp.meta = Plumbing::convert_get_response_metadata_to_porcelain(plumbing_response.meta)
|
1316
|
-
resp.role = Plumbing::convert_role_to_porcelain(plumbing_response.role)
|
1317
1316
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
1317
|
+
resp.role = Plumbing::convert_role_to_porcelain(plumbing_response.role)
|
1318
1318
|
resp
|
1319
1319
|
end
|
1320
1320
|
|
@@ -1343,8 +1343,8 @@ module SDM
|
|
1343
1343
|
|
1344
1344
|
resp = RoleUpdateResponse.new()
|
1345
1345
|
resp.meta = Plumbing::convert_update_response_metadata_to_porcelain(plumbing_response.meta)
|
1346
|
-
resp.role = Plumbing::convert_role_to_porcelain(plumbing_response.role)
|
1347
1346
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
1347
|
+
resp.role = Plumbing::convert_role_to_porcelain(plumbing_response.role)
|
1348
1348
|
resp
|
1349
1349
|
end
|
1350
1350
|
|
@@ -1455,8 +1455,8 @@ module SDM
|
|
1455
1455
|
|
1456
1456
|
resp = SecretStoreCreateResponse.new()
|
1457
1457
|
resp.meta = Plumbing::convert_create_response_metadata_to_porcelain(plumbing_response.meta)
|
1458
|
-
resp.secret_store = Plumbing::convert_secret_store_to_porcelain(plumbing_response.secret_store)
|
1459
1458
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
1459
|
+
resp.secret_store = Plumbing::convert_secret_store_to_porcelain(plumbing_response.secret_store)
|
1460
1460
|
resp
|
1461
1461
|
end
|
1462
1462
|
|
@@ -1485,8 +1485,8 @@ module SDM
|
|
1485
1485
|
|
1486
1486
|
resp = SecretStoreGetResponse.new()
|
1487
1487
|
resp.meta = Plumbing::convert_get_response_metadata_to_porcelain(plumbing_response.meta)
|
1488
|
-
resp.secret_store = Plumbing::convert_secret_store_to_porcelain(plumbing_response.secret_store)
|
1489
1488
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
1489
|
+
resp.secret_store = Plumbing::convert_secret_store_to_porcelain(plumbing_response.secret_store)
|
1490
1490
|
resp
|
1491
1491
|
end
|
1492
1492
|
|
@@ -1515,8 +1515,8 @@ module SDM
|
|
1515
1515
|
|
1516
1516
|
resp = SecretStoreUpdateResponse.new()
|
1517
1517
|
resp.meta = Plumbing::convert_update_response_metadata_to_porcelain(plumbing_response.meta)
|
1518
|
-
resp.secret_store = Plumbing::convert_secret_store_to_porcelain(plumbing_response.secret_store)
|
1519
1518
|
resp.rate_limit = Plumbing::convert_rate_limit_metadata_to_porcelain(plumbing_response.rate_limit)
|
1519
|
+
resp.secret_store = Plumbing::convert_secret_store_to_porcelain(plumbing_response.secret_store)
|
1520
1520
|
resp
|
1521
1521
|
end
|
1522
1522
|
|
data/lib/version
CHANGED
data/lib/version.rb
CHANGED
data/strongdm.gemspec
CHANGED
@@ -11,13 +11,13 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.summary = "strongDM SDK for the Ruby programming language."
|
12
12
|
s.description = "strongDM Ruby Library for automating interactions with strongDM."
|
13
13
|
s.licenses = ["Apache-2.0"]
|
14
|
-
s.required_ruby_version = ">= 2.
|
14
|
+
s.required_ruby_version = ">= 2.4.0"
|
15
15
|
s.required_rubygems_version = ">= 1.3.6"
|
16
16
|
|
17
|
-
s.add_runtime_dependency "grpc", "~> 1.
|
18
|
-
s.add_runtime_dependency "grpc-tools", "~> 1.
|
19
|
-
s.add_runtime_dependency "openssl", "~> 2.1.2"
|
17
|
+
s.add_runtime_dependency "grpc", "~> 1.36"
|
18
|
+
s.add_runtime_dependency "grpc-tools", "~> 1.36"
|
19
|
+
s.add_runtime_dependency "openssl", "~> 2.1.2"
|
20
20
|
|
21
|
-
s.files = `
|
21
|
+
s.files = `find . | grep -v "strongdm-#{SDM::VERSION}.gem"`.split("\n")
|
22
22
|
s.require_path = "lib"
|
23
23
|
end
|