strongdm 1.0.11 → 1.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (210) hide show
  1. checksums.yaml +4 -4
  2. data/doc/LICENSE.html +1 -3
  3. data/doc/Object.html +1 -1
  4. data/doc/README_md.html +1 -3
  5. data/doc/SDM.html +1 -1
  6. data/doc/SDM/AKS.html +22 -4
  7. data/doc/SDM/AKSBasicAuth.html +22 -4
  8. data/doc/SDM/AKSServiceAccount.html +22 -4
  9. data/doc/SDM/{DB2.html → AWS.html} +38 -56
  10. data/doc/SDM/AWSStore.html +283 -0
  11. data/doc/SDM/AccessRuleCreateResponse.html +267 -0
  12. data/doc/SDM/AccessRuleDeleteResponse.html +249 -0
  13. data/doc/SDM/AccessRuleUpdateResponse.html +267 -0
  14. data/doc/SDM/AccountAttachment.html +2 -2
  15. data/doc/SDM/AccountAttachmentCreateResponse.html +1 -1
  16. data/doc/SDM/AccountAttachmentDeleteResponse.html +1 -1
  17. data/doc/SDM/AccountAttachmentGetResponse.html +1 -1
  18. data/doc/SDM/AccountAttachments.html +2 -2
  19. data/doc/SDM/AccountCreateResponse.html +1 -1
  20. data/doc/SDM/AccountDeleteResponse.html +1 -1
  21. data/doc/SDM/AccountGetResponse.html +1 -1
  22. data/doc/SDM/AccountGrant.html +1 -1
  23. data/doc/SDM/AccountGrantCreateResponse.html +1 -1
  24. data/doc/SDM/AccountGrantDeleteResponse.html +1 -1
  25. data/doc/SDM/AccountGrantGetResponse.html +1 -1
  26. data/doc/SDM/AccountGrants.html +1 -1
  27. data/doc/SDM/AccountUpdateResponse.html +1 -1
  28. data/doc/SDM/Accounts.html +9 -9
  29. data/doc/SDM/AlreadyExistsError.html +1 -1
  30. data/doc/SDM/AmazonEKS.html +22 -4
  31. data/doc/SDM/AmazonES.html +22 -4
  32. data/doc/SDM/Athena.html +22 -4
  33. data/doc/SDM/AuroraMysql.html +22 -4
  34. data/doc/SDM/AuroraPostgres.html +22 -4
  35. data/doc/SDM/AuthenticationError.html +1 -1
  36. data/doc/SDM/BadRequestError.html +1 -1
  37. data/doc/SDM/BigQuery.html +22 -4
  38. data/doc/SDM/Cassandra.html +22 -4
  39. data/doc/SDM/Citus.html +22 -4
  40. data/doc/SDM/Client.html +42 -14
  41. data/doc/SDM/Clustrix.html +22 -4
  42. data/doc/SDM/Cockroach.html +22 -4
  43. data/doc/SDM/ControlPanel.html +236 -0
  44. data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +267 -0
  45. data/doc/SDM/CreateResponseMetadata.html +1 -1
  46. data/doc/SDM/DB2LUW.html +22 -4
  47. data/doc/SDM/DB2i.html +22 -4
  48. data/doc/SDM/DeadlineExceededError.html +1 -1
  49. data/doc/SDM/DeleteResponseMetadata.html +1 -1
  50. data/doc/SDM/Druid.html +22 -4
  51. data/doc/SDM/DynamoDB.html +22 -4
  52. data/doc/SDM/Elastic.html +22 -4
  53. data/doc/SDM/ElasticacheRedis.html +22 -4
  54. data/doc/SDM/Gateway.html +4 -4
  55. data/doc/SDM/GetResponseMetadata.html +1 -1
  56. data/doc/SDM/GoogleGKE.html +22 -4
  57. data/doc/SDM/Greenplum.html +22 -4
  58. data/doc/SDM/HTTPAuth.html +22 -4
  59. data/doc/SDM/HTTPBasicAuth.html +22 -4
  60. data/doc/SDM/HTTPNoAuth.html +22 -4
  61. data/doc/SDM/InternalError.html +1 -1
  62. data/doc/SDM/Kubernetes.html +22 -4
  63. data/doc/SDM/KubernetesBasicAuth.html +22 -4
  64. data/doc/SDM/KubernetesServiceAccount.html +22 -4
  65. data/doc/SDM/Maria.html +22 -4
  66. data/doc/SDM/Memcached.html +22 -4
  67. data/doc/SDM/Memsql.html +22 -4
  68. data/doc/SDM/MongoHost.html +22 -4
  69. data/doc/SDM/MongoLegacyHost.html +22 -4
  70. data/doc/SDM/MongoLegacyReplicaset.html +22 -4
  71. data/doc/SDM/MongoReplicaSet.html +22 -4
  72. data/doc/SDM/Mysql.html +22 -4
  73. data/doc/SDM/NodeCreateResponse.html +3 -3
  74. data/doc/SDM/NodeDeleteResponse.html +3 -3
  75. data/doc/SDM/NodeGetResponse.html +3 -3
  76. data/doc/SDM/NodeUpdateResponse.html +3 -3
  77. data/doc/SDM/Nodes.html +11 -11
  78. data/doc/SDM/NotFoundError.html +1 -1
  79. data/doc/SDM/Oracle.html +22 -4
  80. data/doc/SDM/PermissionError.html +1 -1
  81. data/doc/SDM/Plumbing.html +2915 -1127
  82. data/doc/SDM/Postgres.html +22 -4
  83. data/doc/SDM/Presto.html +22 -4
  84. data/doc/SDM/RDP.html +22 -4
  85. data/doc/SDM/RPCError.html +1 -1
  86. data/doc/SDM/RateLimitError.html +1 -1
  87. data/doc/SDM/RateLimitMetadata.html +1 -1
  88. data/doc/SDM/Redis.html +22 -4
  89. data/doc/SDM/Redshift.html +22 -4
  90. data/doc/SDM/Relay.html +4 -4
  91. data/doc/SDM/ResourceCreateResponse.html +3 -3
  92. data/doc/SDM/ResourceDeleteResponse.html +3 -3
  93. data/doc/SDM/ResourceGetResponse.html +3 -3
  94. data/doc/SDM/ResourceUpdateResponse.html +3 -3
  95. data/doc/SDM/Resources.html +7 -7
  96. data/doc/SDM/Role.html +4 -4
  97. data/doc/SDM/RoleAttachment.html +3 -3
  98. data/doc/SDM/RoleAttachmentCreateResponse.html +3 -3
  99. data/doc/SDM/RoleAttachmentDeleteResponse.html +3 -3
  100. data/doc/SDM/RoleAttachmentGetResponse.html +3 -3
  101. data/doc/SDM/RoleAttachments.html +6 -6
  102. data/doc/SDM/RoleCreateResponse.html +3 -3
  103. data/doc/SDM/RoleDeleteResponse.html +3 -3
  104. data/doc/SDM/RoleGetResponse.html +3 -3
  105. data/doc/SDM/RoleGrant.html +3 -3
  106. data/doc/SDM/RoleGrantCreateResponse.html +3 -3
  107. data/doc/SDM/RoleGrantDeleteResponse.html +3 -3
  108. data/doc/SDM/RoleGrantGetResponse.html +3 -3
  109. data/doc/SDM/RoleGrants.html +6 -6
  110. data/doc/SDM/RoleUpdateResponse.html +3 -3
  111. data/doc/SDM/Roles.html +7 -7
  112. data/doc/SDM/SQLServer.html +22 -4
  113. data/doc/SDM/SSH.html +22 -4
  114. data/doc/SDM/SSHCert.html +22 -4
  115. data/doc/SDM/SecretStore.html +303 -0
  116. data/doc/SDM/SecretStoreCreateResponse.html +267 -0
  117. data/doc/SDM/SecretStoreDeleteResponse.html +249 -0
  118. data/doc/SDM/SecretStoreGetResponse.html +267 -0
  119. data/doc/SDM/SecretStoreUpdateResponse.html +267 -0
  120. data/doc/SDM/SecretStores.html +492 -0
  121. data/doc/SDM/Service.html +1 -1
  122. data/doc/SDM/Snowflake.html +22 -4
  123. data/doc/SDM/Sybase.html +22 -4
  124. data/doc/SDM/SybaseIQ.html +22 -4
  125. data/doc/SDM/Teradata.html +22 -4
  126. data/doc/SDM/UpdateResponseMetadata.html +1 -1
  127. data/doc/SDM/User.html +1 -1
  128. data/doc/SDM/VaultTLSStore.html +337 -0
  129. data/doc/SDM/VaultTokenStore.html +283 -0
  130. data/doc/V1.html +301 -1
  131. data/doc/V1/AccessRules.html +113 -0
  132. data/doc/V1/AccessRules/Service.html +119 -0
  133. data/doc/V1/AccountAttachments.html +1 -1
  134. data/doc/V1/AccountAttachments/Service.html +2 -2
  135. data/doc/V1/AccountGrants.html +1 -1
  136. data/doc/V1/AccountGrants/Service.html +1 -1
  137. data/doc/V1/Accounts.html +1 -1
  138. data/doc/V1/Accounts/Service.html +3 -3
  139. data/doc/V1/Audits.html +113 -0
  140. data/doc/V1/Audits/Service.html +119 -0
  141. data/doc/V1/BuildsPrivate.html +113 -0
  142. data/doc/V1/BuildsPrivate/Service.html +119 -0
  143. data/doc/V1/ControlPanel.html +113 -0
  144. data/doc/V1/ControlPanel/Service.html +119 -0
  145. data/doc/V1/DemoProvisioningRequests.html +113 -0
  146. data/doc/V1/DemoProvisioningRequests/Service.html +119 -0
  147. data/doc/V1/Nodes.html +1 -1
  148. data/doc/V1/Nodes/Service.html +5 -5
  149. data/doc/V1/Resources.html +1 -1
  150. data/doc/V1/Resources/Service.html +1 -1
  151. data/doc/V1/RoleAttachments.html +1 -1
  152. data/doc/V1/RoleAttachments/Service.html +1 -1
  153. data/doc/V1/RoleGrants.html +1 -1
  154. data/doc/V1/RoleGrants/Service.html +1 -1
  155. data/doc/V1/Roles.html +1 -1
  156. data/doc/V1/Roles/Service.html +1 -1
  157. data/doc/V1/SecretStoreHealths.html +113 -0
  158. data/doc/V1/SecretStoreHealths/Service.html +119 -0
  159. data/doc/V1/SecretStores.html +113 -0
  160. data/doc/V1/SecretStores/Service.html +119 -0
  161. data/doc/V1/Tags.html +1 -1
  162. data/doc/created.rid +51 -39
  163. data/doc/css/rdoc.css +13 -5
  164. data/doc/examples/Gemfile.html +1 -3
  165. data/doc/index.html +51 -3
  166. data/doc/js/navigation.js.gz +0 -0
  167. data/doc/js/search_index.js +1 -1
  168. data/doc/js/search_index.js.gz +0 -0
  169. data/doc/js/searcher.js.gz +0 -0
  170. data/doc/lib/version.html +2 -4
  171. data/doc/table_of_contents.html +686 -236
  172. data/examples/Gemfile +2 -2
  173. data/examples/listUsers.rb +8 -8
  174. data/lib/errors/errors.rb +55 -53
  175. data/lib/grpc/account_attachments_pb.rb +7 -9
  176. data/lib/grpc/account_attachments_services_pb.rb +12 -13
  177. data/lib/grpc/account_grants_pb.rb +8 -10
  178. data/lib/grpc/account_grants_services_pb.rb +11 -12
  179. data/lib/grpc/accounts_pb.rb +8 -10
  180. data/lib/grpc/accounts_services_pb.rb +15 -17
  181. data/lib/grpc/control_panel_pb.rb +38 -0
  182. data/lib/grpc/control_panel_services_pb.rb +37 -0
  183. data/lib/grpc/demo_provisioning_requests_pb.rb +93 -0
  184. data/lib/grpc/demo_provisioning_requests_services_pb.rb +49 -0
  185. data/lib/grpc/drivers_pb.rb +68 -8
  186. data/lib/grpc/nodes_pb.rb +8 -10
  187. data/lib/grpc/nodes_services_pb.rb +15 -17
  188. data/lib/grpc/options_pb.rb +23 -5
  189. data/lib/grpc/plumbing.rb +4904 -4387
  190. data/lib/grpc/resources_pb.rb +8 -9
  191. data/lib/grpc/resources_services_pb.rb +12 -13
  192. data/lib/grpc/role_attachments_pb.rb +7 -9
  193. data/lib/grpc/role_attachments_services_pb.rb +11 -12
  194. data/lib/grpc/role_grants_pb.rb +7 -9
  195. data/lib/grpc/role_grants_services_pb.rb +11 -12
  196. data/lib/grpc/roles_pb.rb +8 -10
  197. data/lib/grpc/roles_services_pb.rb +12 -13
  198. data/lib/grpc/secret_store_types_pb.rb +60 -0
  199. data/lib/grpc/secret_stores_pb.rb +84 -0
  200. data/lib/grpc/secret_stores_services_pb.rb +44 -0
  201. data/lib/grpc/spec_pb.rb +7 -7
  202. data/lib/grpc/tags_pb.rb +6 -6
  203. data/lib/models/porcelain.rb +671 -5354
  204. data/lib/strongdm.rb +98 -95
  205. data/lib/svc.rb +1414 -1221
  206. data/lib/version +1 -1
  207. data/lib/version.rb +1 -1
  208. data/strongdm.gemspec +10 -10
  209. metadata +39 -5
  210. data/lib/grpc/protoc-gen-swagger/options/annotations_pb.rb +0 -15
@@ -1,26 +1,25 @@
1
1
  # Copyright 2020 StrongDM Inc
2
- #
2
+ #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
- #
6
+ #
7
7
  # http://www.apache.org/licenses/LICENSE-2.0
8
- #
8
+ #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
11
11
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
- #
14
+ #
15
15
  # Generated by the protocol buffer compiler. DO NOT EDIT!
16
16
  # source: resources.proto
17
17
 
18
- require 'google/protobuf'
18
+ require "google/protobuf"
19
19
 
20
- require 'google/api/annotations_pb'
21
- require 'options_pb'
22
- require 'spec_pb'
23
- require 'drivers_pb'
20
+ require "options_pb"
21
+ require "spec_pb"
22
+ require "drivers_pb"
24
23
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
24
  add_file("resources.proto", :syntax => :proto3) do
26
25
  add_message "v1.ResourceCreateRequest" do
@@ -1,43 +1,42 @@
1
1
  # Copyright 2020 StrongDM Inc
2
- #
2
+ #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
- #
6
+ #
7
7
  # http://www.apache.org/licenses/LICENSE-2.0
8
- #
8
+ #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
11
11
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
- #
14
+ #
15
15
  # Generated by the protocol buffer compiler. DO NOT EDIT!
16
16
  # Source: resources.proto for package 'v1'
17
17
 
18
- require 'grpc'
19
- require 'resources_pb'
18
+ require "grpc"
19
+ require "resources_pb"
20
20
 
21
21
  module V1
22
22
  module Resources
23
23
  class Service
24
-
25
24
  include GRPC::GenericService
26
25
 
27
26
  self.marshal_class_method = :encode
28
27
  self.unmarshal_class_method = :decode
29
- self.service_name = 'v1.Resources'
28
+ self.service_name = "v1.Resources"
30
29
 
31
30
  # Create registers a new Resource.
32
- rpc :Create, ResourceCreateRequest, ResourceCreateResponse
31
+ rpc :Create, ::V1::ResourceCreateRequest, ::V1::ResourceCreateResponse
33
32
  # Get reads one Resource by ID.
34
- rpc :Get, ResourceGetRequest, ResourceGetResponse
33
+ rpc :Get, ::V1::ResourceGetRequest, ::V1::ResourceGetResponse
35
34
  # Update patches a Resource by ID.
36
- rpc :Update, ResourceUpdateRequest, ResourceUpdateResponse
35
+ rpc :Update, ::V1::ResourceUpdateRequest, ::V1::ResourceUpdateResponse
37
36
  # Delete removes a Resource by ID.
38
- rpc :Delete, ResourceDeleteRequest, ResourceDeleteResponse
37
+ rpc :Delete, ::V1::ResourceDeleteRequest, ::V1::ResourceDeleteResponse
39
38
  # List gets a list of Resources matching a given set of criteria.
40
- rpc :List, ResourceListRequest, ResourceListResponse
39
+ rpc :List, ::V1::ResourceListRequest, ::V1::ResourceListResponse
41
40
  end
42
41
 
43
42
  Stub = Service.rpc_stub_class
@@ -1,26 +1,24 @@
1
1
  # Copyright 2020 StrongDM Inc
2
- #
2
+ #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
- #
6
+ #
7
7
  # http://www.apache.org/licenses/LICENSE-2.0
8
- #
8
+ #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
11
11
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
- #
14
+ #
15
15
  # Generated by the protocol buffer compiler. DO NOT EDIT!
16
16
  # source: role_attachments.proto
17
17
 
18
- require 'google/protobuf'
18
+ require "google/protobuf"
19
19
 
20
- require 'google/api/annotations_pb'
21
- require 'protoc-gen-swagger/options/annotations_pb'
22
- require 'options_pb'
23
- require 'spec_pb'
20
+ require "options_pb"
21
+ require "spec_pb"
24
22
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
23
  add_file("role_attachments.proto", :syntax => :proto3) do
26
24
  add_message "v1.RoleAttachmentCreateRequest" do
@@ -1,22 +1,22 @@
1
1
  # Copyright 2020 StrongDM Inc
2
- #
2
+ #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
- #
6
+ #
7
7
  # http://www.apache.org/licenses/LICENSE-2.0
8
- #
8
+ #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
11
11
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
- #
14
+ #
15
15
  # Generated by the protocol buffer compiler. DO NOT EDIT!
16
16
  # Source: role_attachments.proto for package 'v1'
17
17
 
18
- require 'grpc'
19
- require 'role_attachments_pb'
18
+ require "grpc"
19
+ require "role_attachments_pb"
20
20
 
21
21
  module V1
22
22
  module RoleAttachments
@@ -25,21 +25,20 @@ module V1
25
25
  # role, the permissions granted to members of the composite role are augmented to
26
26
  # include the permissions granted to members of the attached role.
27
27
  class Service
28
-
29
28
  include GRPC::GenericService
30
29
 
31
30
  self.marshal_class_method = :encode
32
31
  self.unmarshal_class_method = :decode
33
- self.service_name = 'v1.RoleAttachments'
32
+ self.service_name = "v1.RoleAttachments"
34
33
 
35
34
  # Create registers a new RoleAttachment.
36
- rpc :Create, RoleAttachmentCreateRequest, RoleAttachmentCreateResponse
35
+ rpc :Create, ::V1::RoleAttachmentCreateRequest, ::V1::RoleAttachmentCreateResponse
37
36
  # Get reads one RoleAttachment by ID.
38
- rpc :Get, RoleAttachmentGetRequest, RoleAttachmentGetResponse
37
+ rpc :Get, ::V1::RoleAttachmentGetRequest, ::V1::RoleAttachmentGetResponse
39
38
  # Delete removes a RoleAttachment by ID.
40
- rpc :Delete, RoleAttachmentDeleteRequest, RoleAttachmentDeleteResponse
39
+ rpc :Delete, ::V1::RoleAttachmentDeleteRequest, ::V1::RoleAttachmentDeleteResponse
41
40
  # List gets a list of RoleAttachments matching a given set of criteria.
42
- rpc :List, RoleAttachmentListRequest, RoleAttachmentListResponse
41
+ rpc :List, ::V1::RoleAttachmentListRequest, ::V1::RoleAttachmentListResponse
43
42
  end
44
43
 
45
44
  Stub = Service.rpc_stub_class
@@ -1,26 +1,24 @@
1
1
  # Copyright 2020 StrongDM Inc
2
- #
2
+ #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
- #
6
+ #
7
7
  # http://www.apache.org/licenses/LICENSE-2.0
8
- #
8
+ #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
11
11
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
- #
14
+ #
15
15
  # Generated by the protocol buffer compiler. DO NOT EDIT!
16
16
  # source: role_grants.proto
17
17
 
18
- require 'google/protobuf'
18
+ require "google/protobuf"
19
19
 
20
- require 'google/api/annotations_pb'
21
- require 'protoc-gen-swagger/options/annotations_pb'
22
- require 'options_pb'
23
- require 'spec_pb'
20
+ require "options_pb"
21
+ require "spec_pb"
24
22
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
23
  add_file("role_grants.proto", :syntax => :proto3) do
26
24
  add_message "v1.RoleGrantCreateRequest" do
@@ -1,22 +1,22 @@
1
1
  # Copyright 2020 StrongDM Inc
2
- #
2
+ #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
- #
6
+ #
7
7
  # http://www.apache.org/licenses/LICENSE-2.0
8
- #
8
+ #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
11
11
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
- #
14
+ #
15
15
  # Generated by the protocol buffer compiler. DO NOT EDIT!
16
16
  # Source: role_grants.proto for package 'v1'
17
17
 
18
- require 'grpc'
19
- require 'role_grants_pb'
18
+ require "grpc"
19
+ require "role_grants_pb"
20
20
 
21
21
  module V1
22
22
  module RoleGrants
@@ -25,21 +25,20 @@ module V1
25
25
  # role, the permissions granted to members of the composite role are augmented to
26
26
  # include the permissions granted to members of the attached role.
27
27
  class Service
28
-
29
28
  include GRPC::GenericService
30
29
 
31
30
  self.marshal_class_method = :encode
32
31
  self.unmarshal_class_method = :decode
33
- self.service_name = 'v1.RoleGrants'
32
+ self.service_name = "v1.RoleGrants"
34
33
 
35
34
  # Create registers a new RoleGrant.
36
- rpc :Create, RoleGrantCreateRequest, RoleGrantCreateResponse
35
+ rpc :Create, ::V1::RoleGrantCreateRequest, ::V1::RoleGrantCreateResponse
37
36
  # Get reads one RoleGrant by ID.
38
- rpc :Get, RoleGrantGetRequest, RoleGrantGetResponse
37
+ rpc :Get, ::V1::RoleGrantGetRequest, ::V1::RoleGrantGetResponse
39
38
  # Delete removes a RoleGrant by ID.
40
- rpc :Delete, RoleGrantDeleteRequest, RoleGrantDeleteResponse
39
+ rpc :Delete, ::V1::RoleGrantDeleteRequest, ::V1::RoleGrantDeleteResponse
41
40
  # List gets a list of RoleGrants matching a given set of criteria.
42
- rpc :List, RoleGrantListRequest, RoleGrantListResponse
41
+ rpc :List, ::V1::RoleGrantListRequest, ::V1::RoleGrantListResponse
43
42
  end
44
43
 
45
44
  Stub = Service.rpc_stub_class
@@ -1,27 +1,25 @@
1
1
  # Copyright 2020 StrongDM Inc
2
- #
2
+ #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
- #
6
+ #
7
7
  # http://www.apache.org/licenses/LICENSE-2.0
8
- #
8
+ #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
11
11
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
- #
14
+ #
15
15
  # Generated by the protocol buffer compiler. DO NOT EDIT!
16
16
  # source: roles.proto
17
17
 
18
- require 'google/protobuf'
18
+ require "google/protobuf"
19
19
 
20
- require 'google/api/annotations_pb'
21
- require 'protoc-gen-swagger/options/annotations_pb'
22
- require 'options_pb'
23
- require 'spec_pb'
24
- require 'tags_pb'
20
+ require "options_pb"
21
+ require "spec_pb"
22
+ require "tags_pb"
25
23
  Google::Protobuf::DescriptorPool.generated_pool.build do
26
24
  add_file("roles.proto", :syntax => :proto3) do
27
25
  add_message "v1.RoleCreateRequest" do
@@ -1,22 +1,22 @@
1
1
  # Copyright 2020 StrongDM Inc
2
- #
2
+ #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
- #
6
+ #
7
7
  # http://www.apache.org/licenses/LICENSE-2.0
8
- #
8
+ #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
11
11
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
- #
14
+ #
15
15
  # Generated by the protocol buffer compiler. DO NOT EDIT!
16
16
  # Source: roles.proto for package 'v1'
17
17
 
18
- require 'grpc'
19
- require 'roles_pb'
18
+ require "grpc"
19
+ require "roles_pb"
20
20
 
21
21
  module V1
22
22
  module Roles
@@ -26,23 +26,22 @@ module V1
26
26
  # grant access to the combined resources associated with a set of child roles.
27
27
  # Each user can be a member of one Role or composite role.
28
28
  class Service
29
-
30
29
  include GRPC::GenericService
31
30
 
32
31
  self.marshal_class_method = :encode
33
32
  self.unmarshal_class_method = :decode
34
- self.service_name = 'v1.Roles'
33
+ self.service_name = "v1.Roles"
35
34
 
36
35
  # Create registers a new Role.
37
- rpc :Create, RoleCreateRequest, RoleCreateResponse
36
+ rpc :Create, ::V1::RoleCreateRequest, ::V1::RoleCreateResponse
38
37
  # Get reads one Role by ID.
39
- rpc :Get, RoleGetRequest, RoleGetResponse
38
+ rpc :Get, ::V1::RoleGetRequest, ::V1::RoleGetResponse
40
39
  # Update patches a Role by ID.
41
- rpc :Update, RoleUpdateRequest, RoleUpdateResponse
40
+ rpc :Update, ::V1::RoleUpdateRequest, ::V1::RoleUpdateResponse
42
41
  # Delete removes a Role by ID.
43
- rpc :Delete, RoleDeleteRequest, RoleDeleteResponse
42
+ rpc :Delete, ::V1::RoleDeleteRequest, ::V1::RoleDeleteResponse
44
43
  # List gets a list of Roles matching a given set of criteria.
45
- rpc :List, RoleListRequest, RoleListResponse
44
+ rpc :List, ::V1::RoleListRequest, ::V1::RoleListResponse
46
45
  end
47
46
 
48
47
  Stub = Service.rpc_stub_class
@@ -0,0 +1,60 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
16
+ # source: secret_store_types.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "options_pb"
21
+ require "tags_pb"
22
+ Google::Protobuf::DescriptorPool.generated_pool.build do
23
+ add_file("secret_store_types.proto", :syntax => :proto3) do
24
+ add_message "v1.SecretStore" do
25
+ oneof :secret_store do
26
+ optional :aws, :message, 3, "v1.AWSStore"
27
+ optional :vault_tls, :message, 1, "v1.VaultTLSStore"
28
+ optional :vault_token, :message, 2, "v1.VaultTokenStore"
29
+ end
30
+ end
31
+ add_message "v1.AWSStore" do
32
+ optional :id, :string, 1
33
+ optional :name, :string, 2
34
+ optional :region, :string, 3
35
+ optional :tags, :message, 4, "v1.Tags"
36
+ end
37
+ add_message "v1.VaultTLSStore" do
38
+ optional :id, :string, 1
39
+ optional :name, :string, 2
40
+ optional :server_address, :string, 3
41
+ optional :CA_cert_path, :string, 4
42
+ optional :client_cert_path, :string, 5
43
+ optional :client_key_path, :string, 6
44
+ optional :tags, :message, 7, "v1.Tags"
45
+ end
46
+ add_message "v1.VaultTokenStore" do
47
+ optional :id, :string, 1
48
+ optional :name, :string, 2
49
+ optional :server_address, :string, 3
50
+ optional :tags, :message, 4, "v1.Tags"
51
+ end
52
+ end
53
+ end
54
+
55
+ module V1
56
+ SecretStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStore").msgclass
57
+ AWSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSStore").msgclass
58
+ VaultTLSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultTLSStore").msgclass
59
+ VaultTokenStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultTokenStore").msgclass
60
+ end
@@ -0,0 +1,84 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
16
+ # source: secret_stores.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "options_pb"
21
+ require "spec_pb"
22
+ require "secret_store_types_pb"
23
+ Google::Protobuf::DescriptorPool.generated_pool.build do
24
+ add_file("secret_stores.proto", :syntax => :proto3) do
25
+ add_message "v1.SecretStoreCreateRequest" do
26
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
27
+ optional :secret_store, :message, 2, "v1.SecretStore"
28
+ end
29
+ add_message "v1.SecretStoreCreateResponse" do
30
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
31
+ optional :secret_store, :message, 2, "v1.SecretStore"
32
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
33
+ end
34
+ add_message "v1.SecretStoreGetRequest" do
35
+ optional :meta, :message, 1, "v1.GetRequestMetadata"
36
+ optional :id, :string, 2
37
+ end
38
+ add_message "v1.SecretStoreGetResponse" do
39
+ optional :meta, :message, 1, "v1.GetResponseMetadata"
40
+ optional :secret_store, :message, 2, "v1.SecretStore"
41
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
42
+ end
43
+ add_message "v1.SecretStoreUpdateRequest" do
44
+ optional :meta, :message, 1, "v1.UpdateRequestMetadata"
45
+ optional :id, :string, 2
46
+ optional :secret_store, :message, 3, "v1.SecretStore"
47
+ end
48
+ add_message "v1.SecretStoreUpdateResponse" do
49
+ optional :meta, :message, 1, "v1.UpdateResponseMetadata"
50
+ optional :secret_store, :message, 2, "v1.SecretStore"
51
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
52
+ end
53
+ add_message "v1.SecretStoreDeleteRequest" do
54
+ optional :meta, :message, 1, "v1.DeleteRequestMetadata"
55
+ optional :id, :string, 2
56
+ end
57
+ add_message "v1.SecretStoreDeleteResponse" do
58
+ optional :meta, :message, 1, "v1.DeleteResponseMetadata"
59
+ optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
60
+ end
61
+ add_message "v1.SecretStoreListRequest" do
62
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
63
+ optional :filter, :string, 2
64
+ end
65
+ add_message "v1.SecretStoreListResponse" do
66
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
67
+ repeated :secret_stores, :message, 2, "v1.SecretStore"
68
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
69
+ end
70
+ end
71
+ end
72
+
73
+ module V1
74
+ SecretStoreCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreCreateRequest").msgclass
75
+ SecretStoreCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreCreateResponse").msgclass
76
+ SecretStoreGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreGetRequest").msgclass
77
+ SecretStoreGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreGetResponse").msgclass
78
+ SecretStoreUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreUpdateRequest").msgclass
79
+ SecretStoreUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreUpdateResponse").msgclass
80
+ SecretStoreDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreDeleteRequest").msgclass
81
+ SecretStoreDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreDeleteResponse").msgclass
82
+ SecretStoreListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreListRequest").msgclass
83
+ SecretStoreListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreListResponse").msgclass
84
+ end