strongdm 13.11.0__zip → 14.0.0__zip
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {strongdm-13.11.0 → strongdm-14.0.0}/PKG-INFO +2 -2
- {strongdm-13.11.0 → strongdm-14.0.0}/setup.py +2 -2
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/accounts_pb2.py +12 -8
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/approval_workflow_approvers_pb2.py +6 -6
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/approval_workflow_approvers_pb2_grpc.py +4 -4
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/approval_workflow_steps_pb2.py +30 -23
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/approval_workflow_steps_pb2_grpc.py +4 -4
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/approval_workflows_pb2.py +4 -4
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/client.py +15 -1
- strongdm-14.0.0/strongdm/managed_secrets_pb2.py +460 -0
- strongdm-14.0.0/strongdm/managed_secrets_pb2_grpc.py +398 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/models.py +2650 -423
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/plumbing.py +4486 -2790
- strongdm-14.0.0/strongdm/secret_engine_policy_pb2.py +78 -0
- strongdm-14.0.0/strongdm/secret_engine_types_pb2.py +147 -0
- strongdm-14.0.0/strongdm/secret_engines_pb2.py +325 -0
- strongdm-14.0.0/strongdm/secret_engines_pb2_grpc.py +355 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/svc.py +698 -12
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm.egg-info/PKG-INFO +2 -2
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm.egg-info/SOURCES.txt +6 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/LICENSE +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/README.md +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/setup.cfg +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/__init__.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/access_request_events_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/access_request_events_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/access_requests_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/access_requests_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/access_requests_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/access_requests_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/account_attachments_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/account_attachments_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/account_attachments_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/account_attachments_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/account_grants_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/account_grants_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/account_grants_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/account_grants_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/account_permissions_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/account_permissions_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/account_resources_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/account_resources_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/account_resources_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/account_resources_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/accounts_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/accounts_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/accounts_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/activities_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/activities_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/approval_workflow_approvers_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/approval_workflow_approvers_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/approval_workflow_steps_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/approval_workflow_steps_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/approval_workflows_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/approval_workflows_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/approval_workflows_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/constants.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/control_panel_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/control_panel_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/drivers_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/drivers_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/errors.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/health_checks_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/health_checks_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/identity_aliases_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/identity_aliases_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/identity_aliases_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/identity_aliases_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/identity_sets_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/identity_sets_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/identity_sets_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/identity_sets_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/nodes_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/nodes_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/nodes_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/nodes_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/options_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/options_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/organization_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/organization_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/peering_group_nodes_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/peering_group_nodes_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/peering_group_peers_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/peering_group_peers_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/peering_group_resources_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/peering_group_resources_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/peering_groups_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/peering_groups_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/policies_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/policies_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/policies_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/policies_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/proxy_cluster_keys_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/proxy_cluster_keys_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/queries_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/queries_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/remote_identities_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/remote_identities_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/remote_identities_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/remote_identities_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/remote_identity_groups_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/remote_identity_groups_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/remote_identity_groups_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/remote_identity_groups_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/replays_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/replays_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/resources_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/resources_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/resources_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/resources_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/role_resources_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/role_resources_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/role_resources_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/role_resources_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/roles_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/roles_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/roles_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/roles_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/secret_engine_policy_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/secret_engine_types_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/secret_store_healths_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/secret_store_healths_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/secret_store_types_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/secret_store_types_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/secret_stores_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/secret_stores_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/secret_stores_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/secret_stores_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/spec_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/spec_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/tags_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/tags_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/workflow_approvers_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/workflow_approvers_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/workflow_approvers_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/workflow_approvers_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/workflow_assignments_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/workflow_assignments_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/workflow_assignments_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/workflow_assignments_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/workflow_roles_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/workflow_roles_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/workflow_roles_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/workflow_roles_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/workflows_history_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/workflows_history_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/workflows_pb2.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm/workflows_pb2_grpc.py +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm.egg-info/dependency_links.txt +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm.egg-info/requires.txt +0 -0
- {strongdm-13.11.0 → strongdm-14.0.0}/strongdm.egg-info/top_level.txt +0 -0
@@ -0,0 +1,355 @@
|
|
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 gRPC Python protocol compiler plugin. DO NOT EDIT!
|
16
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
17
|
+
import grpc
|
18
|
+
|
19
|
+
from . import secret_engines_pb2 as secret__engines__pb2
|
20
|
+
from . import secret_stores_pb2 as secret__stores__pb2
|
21
|
+
|
22
|
+
|
23
|
+
class SecretEnginesStub(object):
|
24
|
+
"""Missing associated documentation comment in .proto file."""
|
25
|
+
|
26
|
+
def __init__(self, channel):
|
27
|
+
"""Constructor.
|
28
|
+
|
29
|
+
Args:
|
30
|
+
channel: A grpc.Channel.
|
31
|
+
"""
|
32
|
+
self.List = channel.unary_unary(
|
33
|
+
'/v1.SecretEngines/List',
|
34
|
+
request_serializer=secret__engines__pb2.SecretEngineListRequest.SerializeToString,
|
35
|
+
response_deserializer=secret__engines__pb2.SecretEngineListResponse.FromString,
|
36
|
+
)
|
37
|
+
self.Get = channel.unary_unary(
|
38
|
+
'/v1.SecretEngines/Get',
|
39
|
+
request_serializer=secret__engines__pb2.SecretEngineGetRequest.SerializeToString,
|
40
|
+
response_deserializer=secret__engines__pb2.SecretEngineGetResponse.FromString,
|
41
|
+
)
|
42
|
+
self.Create = channel.unary_unary(
|
43
|
+
'/v1.SecretEngines/Create',
|
44
|
+
request_serializer=secret__engines__pb2.SecretEngineCreateRequest.SerializeToString,
|
45
|
+
response_deserializer=secret__engines__pb2.SecretEngineCreateResponse.FromString,
|
46
|
+
)
|
47
|
+
self.Update = channel.unary_unary(
|
48
|
+
'/v1.SecretEngines/Update',
|
49
|
+
request_serializer=secret__engines__pb2.SecretEngineUpdateRequest.SerializeToString,
|
50
|
+
response_deserializer=secret__engines__pb2.SecretEngineUpdateResponse.FromString,
|
51
|
+
)
|
52
|
+
self.Delete = channel.unary_unary(
|
53
|
+
'/v1.SecretEngines/Delete',
|
54
|
+
request_serializer=secret__engines__pb2.SecretEngineDeleteRequest.SerializeToString,
|
55
|
+
response_deserializer=secret__engines__pb2.SecretEngineDeleteResponse.FromString,
|
56
|
+
)
|
57
|
+
self.ListSecretStores = channel.unary_unary(
|
58
|
+
'/v1.SecretEngines/ListSecretStores',
|
59
|
+
request_serializer=secret__stores__pb2.SecretStoreListRequest.SerializeToString,
|
60
|
+
response_deserializer=secret__stores__pb2.SecretStoreListResponse.FromString,
|
61
|
+
)
|
62
|
+
self.GenerateKeys = channel.unary_unary(
|
63
|
+
'/v1.SecretEngines/GenerateKeys',
|
64
|
+
request_serializer=secret__engines__pb2.GenerateKeysRequest.SerializeToString,
|
65
|
+
response_deserializer=secret__engines__pb2.GenerateKeysResponse.FromString,
|
66
|
+
)
|
67
|
+
self.Healthcheck = channel.unary_unary(
|
68
|
+
'/v1.SecretEngines/Healthcheck',
|
69
|
+
request_serializer=secret__engines__pb2.HealthcheckRequest.SerializeToString,
|
70
|
+
response_deserializer=secret__engines__pb2.HealthcheckResponse.FromString,
|
71
|
+
)
|
72
|
+
self.Rotate = channel.unary_unary(
|
73
|
+
'/v1.SecretEngines/Rotate',
|
74
|
+
request_serializer=secret__engines__pb2.SecretEngineRotateRequest.SerializeToString,
|
75
|
+
response_deserializer=secret__engines__pb2.SecretEngineRotateResponse.FromString,
|
76
|
+
)
|
77
|
+
|
78
|
+
|
79
|
+
class SecretEnginesServicer(object):
|
80
|
+
"""Missing associated documentation comment in .proto file."""
|
81
|
+
|
82
|
+
def List(self, request, context):
|
83
|
+
"""List returns a list of Secret Engines
|
84
|
+
"""
|
85
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
86
|
+
context.set_details('Method not implemented!')
|
87
|
+
raise NotImplementedError('Method not implemented!')
|
88
|
+
|
89
|
+
def Get(self, request, context):
|
90
|
+
"""Get returns a secret engine details
|
91
|
+
"""
|
92
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
93
|
+
context.set_details('Method not implemented!')
|
94
|
+
raise NotImplementedError('Method not implemented!')
|
95
|
+
|
96
|
+
def Create(self, request, context):
|
97
|
+
"""Create creates a secret engine
|
98
|
+
"""
|
99
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
100
|
+
context.set_details('Method not implemented!')
|
101
|
+
raise NotImplementedError('Method not implemented!')
|
102
|
+
|
103
|
+
def Update(self, request, context):
|
104
|
+
"""Update updates a secret engine
|
105
|
+
"""
|
106
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
107
|
+
context.set_details('Method not implemented!')
|
108
|
+
raise NotImplementedError('Method not implemented!')
|
109
|
+
|
110
|
+
def Delete(self, request, context):
|
111
|
+
"""Delete deletes a secret engine
|
112
|
+
"""
|
113
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
114
|
+
context.set_details('Method not implemented!')
|
115
|
+
raise NotImplementedError('Method not implemented!')
|
116
|
+
|
117
|
+
def ListSecretStores(self, request, context):
|
118
|
+
"""ListSecretStores returns a list of Secret Stores that can be used as a backing store
|
119
|
+
for Secret Engine
|
120
|
+
"""
|
121
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
122
|
+
context.set_details('Method not implemented!')
|
123
|
+
raise NotImplementedError('Method not implemented!')
|
124
|
+
|
125
|
+
def GenerateKeys(self, request, context):
|
126
|
+
"""GenerateKeys generates a private key, stores it in a secret store and stores a public key in a secret engine
|
127
|
+
"""
|
128
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
129
|
+
context.set_details('Method not implemented!')
|
130
|
+
raise NotImplementedError('Method not implemented!')
|
131
|
+
|
132
|
+
def Healthcheck(self, request, context):
|
133
|
+
"""Healthcheck triggers a healthcheck for all nodes serving a secret engine
|
134
|
+
"""
|
135
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
136
|
+
context.set_details('Method not implemented!')
|
137
|
+
raise NotImplementedError('Method not implemented!')
|
138
|
+
|
139
|
+
def Rotate(self, request, context):
|
140
|
+
"""Rotate rotates secret engine's credentials
|
141
|
+
"""
|
142
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
143
|
+
context.set_details('Method not implemented!')
|
144
|
+
raise NotImplementedError('Method not implemented!')
|
145
|
+
|
146
|
+
|
147
|
+
def add_SecretEnginesServicer_to_server(servicer, server):
|
148
|
+
rpc_method_handlers = {
|
149
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
150
|
+
servicer.List,
|
151
|
+
request_deserializer=secret__engines__pb2.SecretEngineListRequest.FromString,
|
152
|
+
response_serializer=secret__engines__pb2.SecretEngineListResponse.SerializeToString,
|
153
|
+
),
|
154
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
155
|
+
servicer.Get,
|
156
|
+
request_deserializer=secret__engines__pb2.SecretEngineGetRequest.FromString,
|
157
|
+
response_serializer=secret__engines__pb2.SecretEngineGetResponse.SerializeToString,
|
158
|
+
),
|
159
|
+
'Create': grpc.unary_unary_rpc_method_handler(
|
160
|
+
servicer.Create,
|
161
|
+
request_deserializer=secret__engines__pb2.SecretEngineCreateRequest.FromString,
|
162
|
+
response_serializer=secret__engines__pb2.SecretEngineCreateResponse.SerializeToString,
|
163
|
+
),
|
164
|
+
'Update': grpc.unary_unary_rpc_method_handler(
|
165
|
+
servicer.Update,
|
166
|
+
request_deserializer=secret__engines__pb2.SecretEngineUpdateRequest.FromString,
|
167
|
+
response_serializer=secret__engines__pb2.SecretEngineUpdateResponse.SerializeToString,
|
168
|
+
),
|
169
|
+
'Delete': grpc.unary_unary_rpc_method_handler(
|
170
|
+
servicer.Delete,
|
171
|
+
request_deserializer=secret__engines__pb2.SecretEngineDeleteRequest.FromString,
|
172
|
+
response_serializer=secret__engines__pb2.SecretEngineDeleteResponse.SerializeToString,
|
173
|
+
),
|
174
|
+
'ListSecretStores': grpc.unary_unary_rpc_method_handler(
|
175
|
+
servicer.ListSecretStores,
|
176
|
+
request_deserializer=secret__stores__pb2.SecretStoreListRequest.FromString,
|
177
|
+
response_serializer=secret__stores__pb2.SecretStoreListResponse.SerializeToString,
|
178
|
+
),
|
179
|
+
'GenerateKeys': grpc.unary_unary_rpc_method_handler(
|
180
|
+
servicer.GenerateKeys,
|
181
|
+
request_deserializer=secret__engines__pb2.GenerateKeysRequest.FromString,
|
182
|
+
response_serializer=secret__engines__pb2.GenerateKeysResponse.SerializeToString,
|
183
|
+
),
|
184
|
+
'Healthcheck': grpc.unary_unary_rpc_method_handler(
|
185
|
+
servicer.Healthcheck,
|
186
|
+
request_deserializer=secret__engines__pb2.HealthcheckRequest.FromString,
|
187
|
+
response_serializer=secret__engines__pb2.HealthcheckResponse.SerializeToString,
|
188
|
+
),
|
189
|
+
'Rotate': grpc.unary_unary_rpc_method_handler(
|
190
|
+
servicer.Rotate,
|
191
|
+
request_deserializer=secret__engines__pb2.SecretEngineRotateRequest.FromString,
|
192
|
+
response_serializer=secret__engines__pb2.SecretEngineRotateResponse.SerializeToString,
|
193
|
+
),
|
194
|
+
}
|
195
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
196
|
+
'v1.SecretEngines', rpc_method_handlers)
|
197
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
198
|
+
|
199
|
+
|
200
|
+
# This class is part of an EXPERIMENTAL API.
|
201
|
+
class SecretEngines(object):
|
202
|
+
"""Missing associated documentation comment in .proto file."""
|
203
|
+
|
204
|
+
@staticmethod
|
205
|
+
def List(request,
|
206
|
+
target,
|
207
|
+
options=(),
|
208
|
+
channel_credentials=None,
|
209
|
+
call_credentials=None,
|
210
|
+
insecure=False,
|
211
|
+
compression=None,
|
212
|
+
wait_for_ready=None,
|
213
|
+
timeout=None,
|
214
|
+
metadata=None):
|
215
|
+
return grpc.experimental.unary_unary(request, target, '/v1.SecretEngines/List',
|
216
|
+
secret__engines__pb2.SecretEngineListRequest.SerializeToString,
|
217
|
+
secret__engines__pb2.SecretEngineListResponse.FromString,
|
218
|
+
options, channel_credentials,
|
219
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
220
|
+
|
221
|
+
@staticmethod
|
222
|
+
def Get(request,
|
223
|
+
target,
|
224
|
+
options=(),
|
225
|
+
channel_credentials=None,
|
226
|
+
call_credentials=None,
|
227
|
+
insecure=False,
|
228
|
+
compression=None,
|
229
|
+
wait_for_ready=None,
|
230
|
+
timeout=None,
|
231
|
+
metadata=None):
|
232
|
+
return grpc.experimental.unary_unary(request, target, '/v1.SecretEngines/Get',
|
233
|
+
secret__engines__pb2.SecretEngineGetRequest.SerializeToString,
|
234
|
+
secret__engines__pb2.SecretEngineGetResponse.FromString,
|
235
|
+
options, channel_credentials,
|
236
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
237
|
+
|
238
|
+
@staticmethod
|
239
|
+
def Create(request,
|
240
|
+
target,
|
241
|
+
options=(),
|
242
|
+
channel_credentials=None,
|
243
|
+
call_credentials=None,
|
244
|
+
insecure=False,
|
245
|
+
compression=None,
|
246
|
+
wait_for_ready=None,
|
247
|
+
timeout=None,
|
248
|
+
metadata=None):
|
249
|
+
return grpc.experimental.unary_unary(request, target, '/v1.SecretEngines/Create',
|
250
|
+
secret__engines__pb2.SecretEngineCreateRequest.SerializeToString,
|
251
|
+
secret__engines__pb2.SecretEngineCreateResponse.FromString,
|
252
|
+
options, channel_credentials,
|
253
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
254
|
+
|
255
|
+
@staticmethod
|
256
|
+
def Update(request,
|
257
|
+
target,
|
258
|
+
options=(),
|
259
|
+
channel_credentials=None,
|
260
|
+
call_credentials=None,
|
261
|
+
insecure=False,
|
262
|
+
compression=None,
|
263
|
+
wait_for_ready=None,
|
264
|
+
timeout=None,
|
265
|
+
metadata=None):
|
266
|
+
return grpc.experimental.unary_unary(request, target, '/v1.SecretEngines/Update',
|
267
|
+
secret__engines__pb2.SecretEngineUpdateRequest.SerializeToString,
|
268
|
+
secret__engines__pb2.SecretEngineUpdateResponse.FromString,
|
269
|
+
options, channel_credentials,
|
270
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
271
|
+
|
272
|
+
@staticmethod
|
273
|
+
def Delete(request,
|
274
|
+
target,
|
275
|
+
options=(),
|
276
|
+
channel_credentials=None,
|
277
|
+
call_credentials=None,
|
278
|
+
insecure=False,
|
279
|
+
compression=None,
|
280
|
+
wait_for_ready=None,
|
281
|
+
timeout=None,
|
282
|
+
metadata=None):
|
283
|
+
return grpc.experimental.unary_unary(request, target, '/v1.SecretEngines/Delete',
|
284
|
+
secret__engines__pb2.SecretEngineDeleteRequest.SerializeToString,
|
285
|
+
secret__engines__pb2.SecretEngineDeleteResponse.FromString,
|
286
|
+
options, channel_credentials,
|
287
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
288
|
+
|
289
|
+
@staticmethod
|
290
|
+
def ListSecretStores(request,
|
291
|
+
target,
|
292
|
+
options=(),
|
293
|
+
channel_credentials=None,
|
294
|
+
call_credentials=None,
|
295
|
+
insecure=False,
|
296
|
+
compression=None,
|
297
|
+
wait_for_ready=None,
|
298
|
+
timeout=None,
|
299
|
+
metadata=None):
|
300
|
+
return grpc.experimental.unary_unary(request, target, '/v1.SecretEngines/ListSecretStores',
|
301
|
+
secret__stores__pb2.SecretStoreListRequest.SerializeToString,
|
302
|
+
secret__stores__pb2.SecretStoreListResponse.FromString,
|
303
|
+
options, channel_credentials,
|
304
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
305
|
+
|
306
|
+
@staticmethod
|
307
|
+
def GenerateKeys(request,
|
308
|
+
target,
|
309
|
+
options=(),
|
310
|
+
channel_credentials=None,
|
311
|
+
call_credentials=None,
|
312
|
+
insecure=False,
|
313
|
+
compression=None,
|
314
|
+
wait_for_ready=None,
|
315
|
+
timeout=None,
|
316
|
+
metadata=None):
|
317
|
+
return grpc.experimental.unary_unary(request, target, '/v1.SecretEngines/GenerateKeys',
|
318
|
+
secret__engines__pb2.GenerateKeysRequest.SerializeToString,
|
319
|
+
secret__engines__pb2.GenerateKeysResponse.FromString,
|
320
|
+
options, channel_credentials,
|
321
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
322
|
+
|
323
|
+
@staticmethod
|
324
|
+
def Healthcheck(request,
|
325
|
+
target,
|
326
|
+
options=(),
|
327
|
+
channel_credentials=None,
|
328
|
+
call_credentials=None,
|
329
|
+
insecure=False,
|
330
|
+
compression=None,
|
331
|
+
wait_for_ready=None,
|
332
|
+
timeout=None,
|
333
|
+
metadata=None):
|
334
|
+
return grpc.experimental.unary_unary(request, target, '/v1.SecretEngines/Healthcheck',
|
335
|
+
secret__engines__pb2.HealthcheckRequest.SerializeToString,
|
336
|
+
secret__engines__pb2.HealthcheckResponse.FromString,
|
337
|
+
options, channel_credentials,
|
338
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
339
|
+
|
340
|
+
@staticmethod
|
341
|
+
def Rotate(request,
|
342
|
+
target,
|
343
|
+
options=(),
|
344
|
+
channel_credentials=None,
|
345
|
+
call_credentials=None,
|
346
|
+
insecure=False,
|
347
|
+
compression=None,
|
348
|
+
wait_for_ready=None,
|
349
|
+
timeout=None,
|
350
|
+
metadata=None):
|
351
|
+
return grpc.experimental.unary_unary(request, target, '/v1.SecretEngines/Rotate',
|
352
|
+
secret__engines__pb2.SecretEngineRotateRequest.SerializeToString,
|
353
|
+
secret__engines__pb2.SecretEngineRotateResponse.FromString,
|
354
|
+
options, channel_credentials,
|
355
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|