strongdm 1.0.26 → 1.0.30
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-2a1c5a06b136f3cf06883c00f082bae3158e9ac6.idx +0 -0
- data/.git/objects/pack/pack-2a1c5a06b136f3cf06883c00f082bae3158e9ac6.pack +0 -0
- data/.git/packed-refs +30 -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 +8 -13
- data/doc/Object.html +13 -26
- data/doc/README_md.html +12 -14
- data/doc/SDM/AKS.html +50 -122
- data/doc/SDM/AKSBasicAuth.html +44 -113
- data/doc/SDM/AKSServiceAccount.html +42 -108
- data/doc/SDM/AKSServiceAccountUserImpersonation.html +42 -108
- data/doc/SDM/AKSUserImpersonation.html +50 -122
- data/doc/SDM/AWS.html +45 -114
- data/doc/SDM/AWSStore.html +15 -63
- data/doc/SDM/AccountAttachment.html +21 -66
- data/doc/SDM/AccountAttachmentCreateResponse.html +21 -66
- data/doc/SDM/AccountAttachmentDeleteResponse.html +15 -57
- data/doc/SDM/AccountAttachmentGetResponse.html +21 -66
- data/doc/SDM/AccountAttachments.html +15 -88
- data/doc/SDM/AccountCreateResponse.html +24 -72
- data/doc/SDM/AccountDeleteResponse.html +15 -57
- data/doc/SDM/AccountGetResponse.html +21 -66
- data/doc/SDM/AccountGrant.html +21 -72
- data/doc/SDM/AccountGrantCreateResponse.html +21 -66
- data/doc/SDM/AccountGrantDeleteResponse.html +15 -57
- data/doc/SDM/AccountGrantGetResponse.html +21 -66
- data/doc/SDM/AccountGrants.html +15 -88
- data/doc/SDM/AccountUpdateResponse.html +21 -66
- data/doc/SDM/Accounts.html +18 -104
- data/doc/SDM/AlreadyExistsError.html +12 -33
- data/doc/SDM/AmazonEKS.html +53 -134
- data/doc/SDM/AmazonEKSUserImpersonation.html +53 -134
- data/doc/SDM/AmazonES.html +50 -125
- data/doc/SDM/AmazonMQAMQP091.html +47 -119
- data/doc/SDM/Athena.html +43 -118
- data/doc/SDM/AuroraMysql.html +46 -118
- data/doc/SDM/AuroraPostgres.html +48 -123
- data/doc/SDM/AuthenticationError.html +12 -33
- data/doc/SDM/BadRequestError.html +12 -33
- data/doc/SDM/BigQuery.html +37 -106
- data/doc/SDM/Cassandra.html +45 -117
- data/doc/SDM/Citus.html +48 -123
- data/doc/SDM/Client.html +27 -142
- data/doc/SDM/Clustrix.html +46 -118
- data/doc/SDM/Cockroach.html +48 -123
- data/doc/SDM/ControlPanel.html +14 -61
- data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +15 -60
- data/doc/SDM/ControlPanelVerifyJWTResponse.html +21 -66
- data/doc/SDM/CreateResponseMetadata.html +15 -49
- data/doc/SDM/DB2LUW.html +46 -118
- data/doc/SDM/DB2i.html +45 -117
- data/doc/SDM/DeadlineExceededError.html +12 -33
- data/doc/SDM/DeleteResponseMetadata.html +15 -49
- data/doc/SDM/{AmazonMQRabbitMQAMQP091.html → DocumentDBHost.html} +56 -131
- data/doc/SDM/DocumentDBReplicaSet.html +367 -0
- data/doc/SDM/Druid.html +44 -113
- data/doc/SDM/DynamoDB.html +51 -126
- data/doc/SDM/Elastic.html +45 -117
- data/doc/SDM/ElasticacheRedis.html +41 -110
- data/doc/SDM/Gateway.html +31 -88
- data/doc/SDM/GetResponseMetadata.html +15 -49
- data/doc/SDM/GoogleGKE.html +43 -109
- data/doc/SDM/GoogleGKEUserImpersonation.html +43 -109
- data/doc/SDM/Greenplum.html +48 -123
- data/doc/SDM/HTTPAuth.html +49 -121
- data/doc/SDM/HTTPBasicAuth.html +51 -126
- data/doc/SDM/HTTPNoAuth.html +47 -116
- data/doc/SDM/InternalError.html +12 -33
- data/doc/SDM/Kubernetes.html +50 -122
- data/doc/SDM/KubernetesBasicAuth.html +44 -113
- data/doc/SDM/KubernetesServiceAccount.html +42 -108
- data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +42 -108
- data/doc/SDM/KubernetesUserImpersonation.html +50 -122
- data/doc/SDM/Maria.html +46 -118
- data/doc/SDM/Memcached.html +39 -102
- data/doc/SDM/Memsql.html +46 -118
- data/doc/SDM/MongoHost.html +47 -122
- data/doc/SDM/MongoLegacyHost.html +48 -126
- data/doc/SDM/MongoLegacyReplicaset.html +51 -132
- data/doc/SDM/MongoReplicaSet.html +51 -132
- data/doc/SDM/Mysql.html +46 -118
- data/doc/SDM/{SecretStore.html → Neptune.html} +88 -84
- data/doc/SDM/NeptuneIAM.html +382 -0
- data/doc/SDM/NodeCreateResponse.html +21 -69
- data/doc/SDM/NodeDeleteResponse.html +15 -57
- data/doc/SDM/NodeGetResponse.html +15 -60
- data/doc/SDM/NodeUpdateResponse.html +15 -60
- data/doc/SDM/Nodes.html +16 -102
- data/doc/SDM/NotFoundError.html +12 -33
- data/doc/SDM/Oracle.html +45 -120
- data/doc/SDM/PermissionError.html +12 -33
- data/doc/SDM/Plumbing.html +2285 -7858
- data/doc/SDM/Postgres.html +48 -123
- data/doc/SDM/Presto.html +45 -120
- data/doc/SDM/RDP.html +45 -114
- data/doc/SDM/RPCError.html +12 -38
- data/doc/SDM/RabbitMQAMQP091.html +47 -119
- data/doc/SDM/RateLimitError.html +12 -38
- data/doc/SDM/RateLimitMetadata.html +21 -69
- data/doc/SDM/RawTCP.html +39 -102
- data/doc/SDM/Redis.html +41 -107
- data/doc/SDM/Redshift.html +48 -123
- data/doc/SDM/Relay.html +21 -72
- data/doc/SDM/ResourceCreateResponse.html +21 -66
- data/doc/SDM/ResourceDeleteResponse.html +15 -57
- data/doc/SDM/ResourceGetResponse.html +21 -66
- data/doc/SDM/ResourceUpdateResponse.html +21 -66
- data/doc/SDM/Resources.html +16 -115
- data/doc/SDM/Role.html +26 -77
- data/doc/SDM/RoleAttachment.html +22 -67
- data/doc/SDM/RoleAttachmentCreateResponse.html +21 -66
- data/doc/SDM/RoleAttachmentDeleteResponse.html +15 -57
- data/doc/SDM/RoleAttachmentGetResponse.html +21 -66
- data/doc/SDM/RoleAttachments.html +15 -88
- data/doc/SDM/RoleCreateResponse.html +21 -66
- data/doc/SDM/RoleDeleteResponse.html +15 -57
- data/doc/SDM/RoleGetResponse.html +21 -66
- data/doc/SDM/RoleGrant.html +15 -60
- data/doc/SDM/RoleGrantCreateResponse.html +21 -66
- data/doc/SDM/RoleGrantDeleteResponse.html +15 -57
- data/doc/SDM/RoleGrantGetResponse.html +21 -66
- data/doc/SDM/RoleGrants.html +15 -88
- data/doc/SDM/RoleUpdateResponse.html +21 -66
- data/doc/SDM/Roles.html +16 -102
- data/doc/SDM/SQLServer.html +48 -126
- data/doc/SDM/SSH.html +46 -118
- data/doc/SDM/SSHCert.html +43 -112
- data/doc/SDM/SSHCustomerKey.html +46 -118
- data/doc/SDM/SecretStoreCreateResponse.html +21 -66
- data/doc/SDM/SecretStoreDeleteResponse.html +15 -57
- data/doc/SDM/SecretStoreGetResponse.html +21 -66
- data/doc/SDM/SecretStoreUpdateResponse.html +21 -66
- data/doc/SDM/SecretStores.html +16 -102
- data/doc/SDM/Service.html +15 -63
- data/doc/SDM/SingleStore.html +46 -118
- data/doc/SDM/Snowflake.html +46 -118
- data/doc/SDM/Sybase.html +44 -113
- data/doc/SDM/SybaseIQ.html +44 -113
- data/doc/SDM/Tag.html +15 -57
- data/doc/SDM/Teradata.html +45 -114
- data/doc/SDM/UpdateResponseMetadata.html +15 -49
- data/doc/SDM/User.html +21 -75
- data/doc/SDM/VaultTLSStore.html +45 -87
- data/doc/SDM/VaultTokenStore.html +30 -63
- data/doc/SDM.html +7 -17
- data/doc/V1/AccountAttachments/Service.html +11 -20
- data/doc/V1/AccountAttachments.html +7 -17
- data/doc/V1/AccountGrants/Service.html +11 -20
- data/doc/V1/AccountGrants.html +7 -17
- data/doc/V1/Accounts/Service.html +12 -21
- data/doc/V1/Accounts.html +7 -17
- data/doc/V1/ControlPanel/Service.html +11 -20
- data/doc/V1/ControlPanel.html +7 -17
- data/doc/V1/Nodes/Service.html +13 -22
- data/doc/V1/Nodes.html +7 -17
- data/doc/V1/Resources/Service.html +11 -20
- data/doc/V1/Resources.html +7 -17
- data/doc/V1/RoleAttachments/Service.html +11 -20
- data/doc/V1/RoleAttachments.html +7 -17
- data/doc/V1/RoleGrants/Service.html +11 -20
- data/doc/V1/RoleGrants.html +7 -17
- data/doc/V1/Roles/Service.html +11 -20
- data/doc/V1/Roles.html +7 -17
- data/doc/V1/SecretStores/Service.html +11 -20
- data/doc/V1/SecretStores.html +7 -17
- data/doc/V1/Tags.html +7 -17
- data/doc/V1.html +19 -800
- data/doc/created.rid +37 -49
- data/doc/css/rdoc.css +55 -6
- data/doc/examples/Gemfile.html +8 -13
- data/doc/index.html +12 -190
- data/doc/js/darkfish.js +22 -99
- data/doc/js/navigation.js +4 -40
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +32 -31
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +6 -6
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +9 -14
- data/doc/table_of_contents.html +668 -916
- 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 +453 -389
- data/lib/grpc/nodes_services_pb.rb +5 -5
- data/lib/grpc/options_pb.rb +1 -0
- data/lib/grpc/plumbing.rb +3100 -2848
- 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_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 +4076 -3759
- 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 +281 -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/V1/AccessRules/Service.html +0 -116
- data/doc/V1/AccessRules.html +0 -110
- data/doc/V1/Audits/Service.html +0 -119
- data/doc/V1/Audits.html +0 -113
- data/doc/V1/BuildsPrivate/Service.html +0 -116
- data/doc/V1/BuildsPrivate.html +0 -110
- data/doc/V1/DemoProvisioningRequests/Service.html +0 -116
- data/doc/V1/DemoProvisioningRequests.html +0 -110
- data/doc/V1/Permissions/Service.html +0 -119
- data/doc/V1/SecretStoreHealths/Service.html +0 -116
- data/doc/V1/SecretStoreHealths.html +0 -110
- 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 -116
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.30"
|
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
|