strongdm 1.0.11 → 1.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/LICENSE.html +1 -3
- data/doc/Object.html +1 -1
- data/doc/README_md.html +1 -3
- data/doc/SDM.html +1 -1
- data/doc/SDM/AKS.html +22 -4
- data/doc/SDM/AKSBasicAuth.html +22 -4
- data/doc/SDM/AKSServiceAccount.html +22 -4
- data/doc/SDM/{DB2.html → AWS.html} +38 -56
- data/doc/SDM/AWSStore.html +283 -0
- data/doc/SDM/AccessRuleCreateResponse.html +267 -0
- data/doc/SDM/AccessRuleDeleteResponse.html +249 -0
- data/doc/SDM/AccessRuleUpdateResponse.html +267 -0
- data/doc/SDM/AccountAttachment.html +2 -2
- data/doc/SDM/AccountAttachmentCreateResponse.html +1 -1
- data/doc/SDM/AccountAttachmentDeleteResponse.html +1 -1
- data/doc/SDM/AccountAttachmentGetResponse.html +1 -1
- data/doc/SDM/AccountAttachments.html +2 -2
- data/doc/SDM/AccountCreateResponse.html +1 -1
- data/doc/SDM/AccountDeleteResponse.html +1 -1
- data/doc/SDM/AccountGetResponse.html +1 -1
- data/doc/SDM/AccountGrant.html +1 -1
- data/doc/SDM/AccountGrantCreateResponse.html +1 -1
- data/doc/SDM/AccountGrantDeleteResponse.html +1 -1
- data/doc/SDM/AccountGrantGetResponse.html +1 -1
- data/doc/SDM/AccountGrants.html +1 -1
- data/doc/SDM/AccountUpdateResponse.html +1 -1
- data/doc/SDM/Accounts.html +9 -9
- data/doc/SDM/AlreadyExistsError.html +1 -1
- data/doc/SDM/AmazonEKS.html +22 -4
- data/doc/SDM/AmazonES.html +22 -4
- data/doc/SDM/Athena.html +22 -4
- data/doc/SDM/AuroraMysql.html +22 -4
- data/doc/SDM/AuroraPostgres.html +22 -4
- data/doc/SDM/AuthenticationError.html +1 -1
- data/doc/SDM/BadRequestError.html +1 -1
- data/doc/SDM/BigQuery.html +22 -4
- data/doc/SDM/Cassandra.html +22 -4
- data/doc/SDM/Citus.html +22 -4
- data/doc/SDM/Client.html +42 -14
- data/doc/SDM/Clustrix.html +22 -4
- data/doc/SDM/Cockroach.html +22 -4
- data/doc/SDM/ControlPanel.html +236 -0
- data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +267 -0
- data/doc/SDM/CreateResponseMetadata.html +1 -1
- data/doc/SDM/DB2LUW.html +22 -4
- data/doc/SDM/DB2i.html +22 -4
- data/doc/SDM/DeadlineExceededError.html +1 -1
- data/doc/SDM/DeleteResponseMetadata.html +1 -1
- data/doc/SDM/Druid.html +22 -4
- data/doc/SDM/DynamoDB.html +22 -4
- data/doc/SDM/Elastic.html +22 -4
- data/doc/SDM/ElasticacheRedis.html +22 -4
- data/doc/SDM/Gateway.html +4 -4
- data/doc/SDM/GetResponseMetadata.html +1 -1
- data/doc/SDM/GoogleGKE.html +22 -4
- data/doc/SDM/Greenplum.html +22 -4
- data/doc/SDM/HTTPAuth.html +22 -4
- data/doc/SDM/HTTPBasicAuth.html +22 -4
- data/doc/SDM/HTTPNoAuth.html +22 -4
- data/doc/SDM/InternalError.html +1 -1
- data/doc/SDM/Kubernetes.html +22 -4
- data/doc/SDM/KubernetesBasicAuth.html +22 -4
- data/doc/SDM/KubernetesServiceAccount.html +22 -4
- data/doc/SDM/Maria.html +22 -4
- data/doc/SDM/Memcached.html +22 -4
- data/doc/SDM/Memsql.html +22 -4
- data/doc/SDM/MongoHost.html +22 -4
- data/doc/SDM/MongoLegacyHost.html +22 -4
- data/doc/SDM/MongoLegacyReplicaset.html +22 -4
- data/doc/SDM/MongoReplicaSet.html +22 -4
- data/doc/SDM/Mysql.html +22 -4
- data/doc/SDM/NodeCreateResponse.html +3 -3
- data/doc/SDM/NodeDeleteResponse.html +3 -3
- data/doc/SDM/NodeGetResponse.html +3 -3
- data/doc/SDM/NodeUpdateResponse.html +3 -3
- data/doc/SDM/Nodes.html +11 -11
- data/doc/SDM/NotFoundError.html +1 -1
- data/doc/SDM/Oracle.html +22 -4
- data/doc/SDM/PermissionError.html +1 -1
- data/doc/SDM/Plumbing.html +2915 -1127
- data/doc/SDM/Postgres.html +22 -4
- data/doc/SDM/Presto.html +22 -4
- data/doc/SDM/RDP.html +22 -4
- data/doc/SDM/RPCError.html +1 -1
- data/doc/SDM/RateLimitError.html +1 -1
- data/doc/SDM/RateLimitMetadata.html +1 -1
- data/doc/SDM/Redis.html +22 -4
- data/doc/SDM/Redshift.html +22 -4
- data/doc/SDM/Relay.html +4 -4
- data/doc/SDM/ResourceCreateResponse.html +3 -3
- data/doc/SDM/ResourceDeleteResponse.html +3 -3
- data/doc/SDM/ResourceGetResponse.html +3 -3
- data/doc/SDM/ResourceUpdateResponse.html +3 -3
- data/doc/SDM/Resources.html +7 -7
- data/doc/SDM/Role.html +4 -4
- data/doc/SDM/RoleAttachment.html +3 -3
- data/doc/SDM/RoleAttachmentCreateResponse.html +3 -3
- data/doc/SDM/RoleAttachmentDeleteResponse.html +3 -3
- data/doc/SDM/RoleAttachmentGetResponse.html +3 -3
- data/doc/SDM/RoleAttachments.html +6 -6
- data/doc/SDM/RoleCreateResponse.html +3 -3
- data/doc/SDM/RoleDeleteResponse.html +3 -3
- data/doc/SDM/RoleGetResponse.html +3 -3
- data/doc/SDM/RoleGrant.html +3 -3
- data/doc/SDM/RoleGrantCreateResponse.html +3 -3
- data/doc/SDM/RoleGrantDeleteResponse.html +3 -3
- data/doc/SDM/RoleGrantGetResponse.html +3 -3
- data/doc/SDM/RoleGrants.html +6 -6
- data/doc/SDM/RoleUpdateResponse.html +3 -3
- data/doc/SDM/Roles.html +7 -7
- data/doc/SDM/SQLServer.html +22 -4
- data/doc/SDM/SSH.html +22 -4
- data/doc/SDM/SSHCert.html +22 -4
- data/doc/SDM/SecretStore.html +303 -0
- data/doc/SDM/SecretStoreCreateResponse.html +267 -0
- data/doc/SDM/SecretStoreDeleteResponse.html +249 -0
- data/doc/SDM/SecretStoreGetResponse.html +267 -0
- data/doc/SDM/SecretStoreUpdateResponse.html +267 -0
- data/doc/SDM/SecretStores.html +492 -0
- data/doc/SDM/Service.html +1 -1
- data/doc/SDM/Snowflake.html +22 -4
- data/doc/SDM/Sybase.html +22 -4
- data/doc/SDM/SybaseIQ.html +22 -4
- data/doc/SDM/Teradata.html +22 -4
- data/doc/SDM/UpdateResponseMetadata.html +1 -1
- data/doc/SDM/User.html +1 -1
- data/doc/SDM/VaultTLSStore.html +337 -0
- data/doc/SDM/VaultTokenStore.html +283 -0
- data/doc/V1.html +301 -1
- data/doc/V1/AccessRules.html +113 -0
- data/doc/V1/AccessRules/Service.html +119 -0
- data/doc/V1/AccountAttachments.html +1 -1
- data/doc/V1/AccountAttachments/Service.html +2 -2
- data/doc/V1/AccountGrants.html +1 -1
- data/doc/V1/AccountGrants/Service.html +1 -1
- data/doc/V1/Accounts.html +1 -1
- data/doc/V1/Accounts/Service.html +3 -3
- data/doc/V1/Audits.html +113 -0
- data/doc/V1/Audits/Service.html +119 -0
- data/doc/V1/BuildsPrivate.html +113 -0
- data/doc/V1/BuildsPrivate/Service.html +119 -0
- data/doc/V1/ControlPanel.html +113 -0
- data/doc/V1/ControlPanel/Service.html +119 -0
- data/doc/V1/DemoProvisioningRequests.html +113 -0
- data/doc/V1/DemoProvisioningRequests/Service.html +119 -0
- data/doc/V1/Nodes.html +1 -1
- data/doc/V1/Nodes/Service.html +5 -5
- data/doc/V1/Resources.html +1 -1
- data/doc/V1/Resources/Service.html +1 -1
- data/doc/V1/RoleAttachments.html +1 -1
- data/doc/V1/RoleAttachments/Service.html +1 -1
- data/doc/V1/RoleGrants.html +1 -1
- data/doc/V1/RoleGrants/Service.html +1 -1
- data/doc/V1/Roles.html +1 -1
- data/doc/V1/Roles/Service.html +1 -1
- data/doc/V1/SecretStoreHealths.html +113 -0
- data/doc/V1/SecretStoreHealths/Service.html +119 -0
- data/doc/V1/SecretStores.html +113 -0
- data/doc/V1/SecretStores/Service.html +119 -0
- data/doc/V1/Tags.html +1 -1
- data/doc/created.rid +51 -39
- data/doc/css/rdoc.css +13 -5
- data/doc/examples/Gemfile.html +1 -3
- data/doc/index.html +51 -3
- 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 +2 -4
- data/doc/table_of_contents.html +686 -236
- data/examples/Gemfile +2 -2
- data/examples/listUsers.rb +8 -8
- data/lib/errors/errors.rb +55 -53
- data/lib/grpc/account_attachments_pb.rb +7 -9
- data/lib/grpc/account_attachments_services_pb.rb +12 -13
- data/lib/grpc/account_grants_pb.rb +8 -10
- data/lib/grpc/account_grants_services_pb.rb +11 -12
- data/lib/grpc/accounts_pb.rb +8 -10
- data/lib/grpc/accounts_services_pb.rb +15 -17
- data/lib/grpc/control_panel_pb.rb +38 -0
- data/lib/grpc/control_panel_services_pb.rb +37 -0
- data/lib/grpc/demo_provisioning_requests_pb.rb +93 -0
- data/lib/grpc/demo_provisioning_requests_services_pb.rb +49 -0
- data/lib/grpc/drivers_pb.rb +68 -8
- data/lib/grpc/nodes_pb.rb +8 -10
- data/lib/grpc/nodes_services_pb.rb +15 -17
- data/lib/grpc/options_pb.rb +23 -5
- data/lib/grpc/plumbing.rb +4904 -4387
- data/lib/grpc/resources_pb.rb +8 -9
- data/lib/grpc/resources_services_pb.rb +12 -13
- data/lib/grpc/role_attachments_pb.rb +7 -9
- data/lib/grpc/role_attachments_services_pb.rb +11 -12
- data/lib/grpc/role_grants_pb.rb +7 -9
- data/lib/grpc/role_grants_services_pb.rb +11 -12
- data/lib/grpc/roles_pb.rb +8 -10
- data/lib/grpc/roles_services_pb.rb +12 -13
- data/lib/grpc/secret_store_types_pb.rb +60 -0
- data/lib/grpc/secret_stores_pb.rb +84 -0
- data/lib/grpc/secret_stores_services_pb.rb +44 -0
- data/lib/grpc/spec_pb.rb +7 -7
- data/lib/grpc/tags_pb.rb +6 -6
- data/lib/models/porcelain.rb +671 -5354
- data/lib/strongdm.rb +98 -95
- data/lib/svc.rb +1414 -1221
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- data/strongdm.gemspec +10 -10
- metadata +39 -5
- data/lib/grpc/protoc-gen-swagger/options/annotations_pb.rb +0 -15
data/lib/grpc/resources_pb.rb
CHANGED
@@ -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
|
18
|
+
require "google/protobuf"
|
19
19
|
|
20
|
-
require
|
21
|
-
require
|
22
|
-
require
|
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
|
19
|
-
require
|
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 =
|
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
|
18
|
+
require "google/protobuf"
|
19
19
|
|
20
|
-
require
|
21
|
-
require
|
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
|
19
|
-
require
|
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 =
|
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
|
data/lib/grpc/role_grants_pb.rb
CHANGED
@@ -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
|
18
|
+
require "google/protobuf"
|
19
19
|
|
20
|
-
require
|
21
|
-
require
|
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
|
19
|
-
require
|
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 =
|
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
|
data/lib/grpc/roles_pb.rb
CHANGED
@@ -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
|
18
|
+
require "google/protobuf"
|
19
19
|
|
20
|
-
require
|
21
|
-
require
|
22
|
-
require
|
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
|
19
|
-
require
|
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 =
|
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
|