strongdm 1.0.10 → 1.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (214) 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 -58
  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 -22
  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 +40 -12
  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 +14 -32
  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 -58
  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 +2911 -1141
  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 +256 -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/ControlPanel.html +113 -0
  142. data/doc/V1/ControlPanel/Service.html +119 -0
  143. data/doc/V1/DemoProvisioningRequests.html +113 -0
  144. data/doc/V1/DemoProvisioningRequests/Service.html +119 -0
  145. data/doc/V1/Nodes.html +1 -1
  146. data/doc/V1/Nodes/Service.html +5 -5
  147. data/doc/V1/Resources.html +1 -1
  148. data/doc/V1/Resources/Service.html +1 -1
  149. data/doc/V1/RoleAttachments.html +1 -1
  150. data/doc/V1/RoleAttachments/Service.html +1 -1
  151. data/doc/V1/RoleGrants.html +1 -1
  152. data/doc/V1/RoleGrants/Service.html +1 -1
  153. data/doc/V1/Roles.html +1 -1
  154. data/doc/V1/Roles/Service.html +1 -1
  155. data/doc/V1/SecretStoreHealths.html +113 -0
  156. data/doc/V1/SecretStoreHealths/Service.html +119 -0
  157. data/doc/V1/SecretStores.html +113 -0
  158. data/doc/V1/SecretStores/Service.html +119 -0
  159. data/doc/V1/Tags.html +1 -1
  160. data/doc/created.rid +47 -38
  161. data/doc/css/rdoc.css +13 -5
  162. data/doc/examples/Gemfile.html +1 -3
  163. data/doc/index.html +47 -3
  164. data/doc/js/navigation.js.gz +0 -0
  165. data/doc/js/search_index.js +1 -1
  166. data/doc/js/search_index.js.gz +0 -0
  167. data/doc/js/searcher.js.gz +0 -0
  168. data/doc/lib/version.html +2 -4
  169. data/doc/table_of_contents.html +680 -240
  170. data/examples/Gemfile +2 -2
  171. data/examples/listUsers.rb +8 -8
  172. data/lib/errors/errors.rb +55 -53
  173. data/lib/grpc/access_rules_pb.rb +115 -0
  174. data/lib/grpc/access_rules_services_pb.rb +50 -0
  175. data/lib/grpc/account_attachments_pb.rb +7 -9
  176. data/lib/grpc/account_attachments_services_pb.rb +8 -9
  177. data/lib/grpc/account_grants_pb.rb +8 -10
  178. data/lib/grpc/account_grants_services_pb.rb +7 -8
  179. data/lib/grpc/accounts_pb.rb +8 -10
  180. data/lib/grpc/accounts_services_pb.rb +10 -12
  181. data/lib/grpc/audits_pb.rb +40 -0
  182. data/lib/grpc/audits_services_pb.rb +37 -0
  183. data/lib/grpc/control_panel_pb.rb +38 -0
  184. data/lib/grpc/control_panel_services_pb.rb +37 -0
  185. data/lib/grpc/demo_provisioning_requests_pb.rb +93 -0
  186. data/lib/grpc/demo_provisioning_requests_services_pb.rb +49 -0
  187. data/lib/grpc/drivers_pb.rb +68 -17
  188. data/lib/grpc/nodes_pb.rb +8 -10
  189. data/lib/grpc/nodes_services_pb.rb +10 -12
  190. data/lib/grpc/options_pb.rb +23 -5
  191. data/lib/grpc/plumbing.rb +4920 -4418
  192. data/lib/grpc/resources_pb.rb +8 -9
  193. data/lib/grpc/resources_services_pb.rb +7 -8
  194. data/lib/grpc/role_attachments_pb.rb +7 -9
  195. data/lib/grpc/role_attachments_services_pb.rb +7 -8
  196. data/lib/grpc/role_grants_pb.rb +7 -9
  197. data/lib/grpc/role_grants_services_pb.rb +7 -8
  198. data/lib/grpc/roles_pb.rb +8 -10
  199. data/lib/grpc/roles_services_pb.rb +7 -8
  200. data/lib/grpc/secret_store_healths_pb.rb +61 -0
  201. data/lib/grpc/secret_store_healths_services_pb.rb +39 -0
  202. data/lib/grpc/secret_store_types_pb.rb +60 -0
  203. data/lib/grpc/secret_stores_pb.rb +84 -0
  204. data/lib/grpc/secret_stores_services_pb.rb +44 -0
  205. data/lib/grpc/spec_pb.rb +7 -7
  206. data/lib/grpc/tags_pb.rb +6 -6
  207. data/lib/models/porcelain.rb +5645 -5348
  208. data/lib/strongdm.rb +98 -95
  209. data/lib/svc.rb +1414 -1221
  210. data/lib/version +1 -1
  211. data/lib/version.rb +1 -1
  212. data/strongdm.gemspec +10 -10
  213. metadata +43 -5
  214. 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,32 +1,31 @@
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
31
  rpc :Create, ResourceCreateRequest, ResourceCreateResponse
@@ -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,12 +25,11 @@ 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
35
  rpc :Create, RoleAttachmentCreateRequest, RoleAttachmentCreateResponse
@@ -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,12 +25,11 @@ 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
35
  rpc :Create, RoleGrantCreateRequest, RoleGrantCreateResponse
@@ -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,12 +26,11 @@ 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
36
  rpc :Create, RoleCreateRequest, RoleCreateResponse
@@ -0,0 +1,61 @@
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_healths.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "google/protobuf/timestamp_pb"
21
+ require "options_pb"
22
+ require "spec_pb"
23
+ Google::Protobuf::DescriptorPool.generated_pool.build do
24
+ add_file("secret_store_healths.proto", :syntax => :proto3) do
25
+ add_message "v1.SecretStoreHealthListRequest" do
26
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
27
+ optional :filter, :string, 2
28
+ end
29
+ add_message "v1.SecretStoreHealthListResponse" do
30
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
31
+ repeated :secret_store_healths, :message, 2, "v1.SecretStoreHealth"
32
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
33
+ end
34
+ add_message "v1.SecretStoreHealthCheckRequest" do
35
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
36
+ optional :secret_store_id, :string, 2
37
+ end
38
+ add_message "v1.SecretStoreHealthCheckResponse" do
39
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
40
+ optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
41
+ end
42
+ add_message "v1.SecretStoreHealth" do
43
+ optional :secret_store_id, :string, 1
44
+ optional :node_id, :string, 2
45
+ optional :status, :string, 4
46
+ optional :changed_at, :message, 6, "google.protobuf.Timestamp"
47
+ optional :checked_at, :message, 7, "google.protobuf.Timestamp"
48
+ optional :error, :string, 8
49
+ optional :reachability, :string, 9
50
+ repeated :flags, :string, 10
51
+ end
52
+ end
53
+ end
54
+
55
+ module V1
56
+ SecretStoreHealthListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHealthListRequest").msgclass
57
+ SecretStoreHealthListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHealthListResponse").msgclass
58
+ SecretStoreHealthCheckRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHealthCheckRequest").msgclass
59
+ SecretStoreHealthCheckResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHealthCheckResponse").msgclass
60
+ SecretStoreHealth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHealth").msgclass
61
+ end
@@ -0,0 +1,39 @@
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_healths.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "secret_store_healths_pb"
20
+
21
+ module V1
22
+ module SecretStoreHealths
23
+ # Audit exposes the endpoints to extract point-in-time snapshot of data.
24
+ class Service
25
+ include GRPC::GenericService
26
+
27
+ self.marshal_class_method = :encode
28
+ self.unmarshal_class_method = :decode
29
+ self.service_name = "v1.SecretStoreHealths"
30
+
31
+ # List lists an org's secret store healths
32
+ rpc :List, SecretStoreHealthListRequest, SecretStoreHealthListResponse
33
+ # Check pushes a healthcheck request for a secret store
34
+ rpc :Check, SecretStoreHealthCheckRequest, SecretStoreHealthCheckResponse
35
+ end
36
+
37
+ Stub = Service.rpc_stub_class
38
+ end
39
+ end
@@ -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