otdf-python 0.1.9__py3-none-any.whl → 0.3.0__py3-none-any.whl
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.
- otdf_python/__init__.py +25 -0
- otdf_python/__main__.py +12 -0
- otdf_python/address_normalizer.py +84 -0
- otdf_python/aesgcm.py +55 -0
- otdf_python/assertion_config.py +84 -0
- otdf_python/asym_crypto.py +85 -0
- otdf_python/asym_decryption.py +53 -0
- otdf_python/asym_encryption.py +75 -0
- otdf_python/auth_headers.py +21 -0
- otdf_python/autoconfigure_utils.py +113 -0
- otdf_python/cli.py +570 -0
- otdf_python/collection_store.py +41 -0
- otdf_python/collection_store_impl.py +22 -0
- otdf_python/config.py +69 -0
- otdf_python/connect_client.py +0 -0
- otdf_python/constants.py +1 -0
- otdf_python/crypto_utils.py +78 -0
- otdf_python/dpop.py +81 -0
- otdf_python/ecc_mode.py +32 -0
- otdf_python/eckeypair.py +75 -0
- otdf_python/header.py +143 -0
- otdf_python/invalid_zip_exception.py +8 -0
- otdf_python/kas_client.py +603 -0
- otdf_python/kas_connect_rpc_client.py +207 -0
- otdf_python/kas_info.py +25 -0
- otdf_python/kas_key_cache.py +52 -0
- otdf_python/key_type.py +31 -0
- otdf_python/key_type_constants.py +43 -0
- otdf_python/manifest.py +215 -0
- otdf_python/nanotdf.py +553 -0
- otdf_python/nanotdf_ecdsa_struct.py +132 -0
- otdf_python/nanotdf_type.py +43 -0
- otdf_python/policy_binding_serializer.py +39 -0
- otdf_python/policy_info.py +78 -0
- otdf_python/policy_object.py +22 -0
- otdf_python/policy_stub.py +2 -0
- otdf_python/resource_locator.py +44 -0
- otdf_python/sdk.py +528 -0
- otdf_python/sdk_builder.py +448 -0
- otdf_python/sdk_exceptions.py +16 -0
- otdf_python/symmetric_and_payload_config.py +30 -0
- otdf_python/tdf.py +479 -0
- otdf_python/tdf_reader.py +153 -0
- otdf_python/tdf_writer.py +23 -0
- otdf_python/token_source.py +34 -0
- otdf_python/version.py +57 -0
- otdf_python/zip_reader.py +47 -0
- otdf_python/zip_writer.py +70 -0
- otdf_python-0.3.0.dist-info/METADATA +231 -0
- otdf_python-0.3.0.dist-info/RECORD +137 -0
- {otdf_python-0.1.9.dist-info → otdf_python-0.3.0.dist-info}/WHEEL +1 -2
- {otdf_python-0.1.9.dist-info → otdf_python-0.3.0.dist-info/licenses}/LICENSE +1 -1
- otdf_python_proto/__init__.py +37 -0
- otdf_python_proto/authorization/__init__.py +1 -0
- otdf_python_proto/authorization/authorization_pb2.py +80 -0
- otdf_python_proto/authorization/authorization_pb2.pyi +161 -0
- otdf_python_proto/authorization/authorization_pb2_connect.py +191 -0
- otdf_python_proto/authorization/v2/authorization_pb2.py +105 -0
- otdf_python_proto/authorization/v2/authorization_pb2.pyi +134 -0
- otdf_python_proto/authorization/v2/authorization_pb2_connect.py +233 -0
- otdf_python_proto/common/__init__.py +1 -0
- otdf_python_proto/common/common_pb2.py +52 -0
- otdf_python_proto/common/common_pb2.pyi +61 -0
- otdf_python_proto/entity/__init__.py +1 -0
- otdf_python_proto/entity/entity_pb2.py +47 -0
- otdf_python_proto/entity/entity_pb2.pyi +50 -0
- otdf_python_proto/entityresolution/__init__.py +1 -0
- otdf_python_proto/entityresolution/entity_resolution_pb2.py +57 -0
- otdf_python_proto/entityresolution/entity_resolution_pb2.pyi +55 -0
- otdf_python_proto/entityresolution/entity_resolution_pb2_connect.py +149 -0
- otdf_python_proto/entityresolution/v2/entity_resolution_pb2.py +55 -0
- otdf_python_proto/entityresolution/v2/entity_resolution_pb2.pyi +55 -0
- otdf_python_proto/entityresolution/v2/entity_resolution_pb2_connect.py +149 -0
- otdf_python_proto/kas/__init__.py +9 -0
- otdf_python_proto/kas/kas_pb2.py +103 -0
- otdf_python_proto/kas/kas_pb2.pyi +170 -0
- otdf_python_proto/kas/kas_pb2_connect.py +192 -0
- otdf_python_proto/legacy_grpc/__init__.py +1 -0
- otdf_python_proto/legacy_grpc/authorization/authorization_pb2_grpc.py +163 -0
- otdf_python_proto/legacy_grpc/authorization/v2/authorization_pb2_grpc.py +206 -0
- otdf_python_proto/legacy_grpc/common/common_pb2_grpc.py +4 -0
- otdf_python_proto/legacy_grpc/entity/entity_pb2_grpc.py +4 -0
- otdf_python_proto/legacy_grpc/entityresolution/entity_resolution_pb2_grpc.py +122 -0
- otdf_python_proto/legacy_grpc/entityresolution/v2/entity_resolution_pb2_grpc.py +120 -0
- otdf_python_proto/legacy_grpc/kas/kas_pb2_grpc.py +172 -0
- otdf_python_proto/legacy_grpc/logger/audit/test_pb2_grpc.py +4 -0
- otdf_python_proto/legacy_grpc/policy/actions/actions_pb2_grpc.py +249 -0
- otdf_python_proto/legacy_grpc/policy/attributes/attributes_pb2_grpc.py +873 -0
- otdf_python_proto/legacy_grpc/policy/kasregistry/key_access_server_registry_pb2_grpc.py +602 -0
- otdf_python_proto/legacy_grpc/policy/keymanagement/key_management_pb2_grpc.py +251 -0
- otdf_python_proto/legacy_grpc/policy/namespaces/namespaces_pb2_grpc.py +427 -0
- otdf_python_proto/legacy_grpc/policy/objects_pb2_grpc.py +4 -0
- otdf_python_proto/legacy_grpc/policy/registeredresources/registered_resources_pb2_grpc.py +524 -0
- otdf_python_proto/legacy_grpc/policy/resourcemapping/resource_mapping_pb2_grpc.py +516 -0
- otdf_python_proto/legacy_grpc/policy/selectors_pb2_grpc.py +4 -0
- otdf_python_proto/legacy_grpc/policy/subjectmapping/subject_mapping_pb2_grpc.py +551 -0
- otdf_python_proto/legacy_grpc/policy/unsafe/unsafe_pb2_grpc.py +485 -0
- otdf_python_proto/legacy_grpc/wellknownconfiguration/wellknown_configuration_pb2_grpc.py +77 -0
- otdf_python_proto/logger/__init__.py +1 -0
- otdf_python_proto/logger/audit/test_pb2.py +43 -0
- otdf_python_proto/logger/audit/test_pb2.pyi +45 -0
- otdf_python_proto/policy/__init__.py +1 -0
- otdf_python_proto/policy/actions/actions_pb2.py +75 -0
- otdf_python_proto/policy/actions/actions_pb2.pyi +87 -0
- otdf_python_proto/policy/actions/actions_pb2_connect.py +275 -0
- otdf_python_proto/policy/attributes/attributes_pb2.py +234 -0
- otdf_python_proto/policy/attributes/attributes_pb2.pyi +328 -0
- otdf_python_proto/policy/attributes/attributes_pb2_connect.py +863 -0
- otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.py +266 -0
- otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.pyi +450 -0
- otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2_connect.py +611 -0
- otdf_python_proto/policy/keymanagement/key_management_pb2.py +79 -0
- otdf_python_proto/policy/keymanagement/key_management_pb2.pyi +87 -0
- otdf_python_proto/policy/keymanagement/key_management_pb2_connect.py +275 -0
- otdf_python_proto/policy/namespaces/namespaces_pb2.py +117 -0
- otdf_python_proto/policy/namespaces/namespaces_pb2.pyi +147 -0
- otdf_python_proto/policy/namespaces/namespaces_pb2_connect.py +443 -0
- otdf_python_proto/policy/objects_pb2.py +150 -0
- otdf_python_proto/policy/objects_pb2.pyi +464 -0
- otdf_python_proto/policy/registeredresources/registered_resources_pb2.py +139 -0
- otdf_python_proto/policy/registeredresources/registered_resources_pb2.pyi +196 -0
- otdf_python_proto/policy/registeredresources/registered_resources_pb2_connect.py +527 -0
- otdf_python_proto/policy/resourcemapping/resource_mapping_pb2.py +139 -0
- otdf_python_proto/policy/resourcemapping/resource_mapping_pb2.pyi +194 -0
- otdf_python_proto/policy/resourcemapping/resource_mapping_pb2_connect.py +527 -0
- otdf_python_proto/policy/selectors_pb2.py +57 -0
- otdf_python_proto/policy/selectors_pb2.pyi +90 -0
- otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.py +127 -0
- otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.pyi +189 -0
- otdf_python_proto/policy/subjectmapping/subject_mapping_pb2_connect.py +569 -0
- otdf_python_proto/policy/unsafe/unsafe_pb2.py +113 -0
- otdf_python_proto/policy/unsafe/unsafe_pb2.pyi +145 -0
- otdf_python_proto/policy/unsafe/unsafe_pb2_connect.py +485 -0
- otdf_python_proto/wellknownconfiguration/__init__.py +1 -0
- otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2.py +51 -0
- otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2.pyi +32 -0
- otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2_connect.py +107 -0
- otdf_python/_gotdf_python.cpython-312-darwin.so +0 -0
- otdf_python/build.py +0 -190
- otdf_python/go.py +0 -1478
- otdf_python/gotdf_python.py +0 -383
- otdf_python-0.1.9.dist-info/METADATA +0 -149
- otdf_python-0.1.9.dist-info/RECORD +0 -10
- otdf_python-0.1.9.dist-info/top_level.txt +0 -1
|
@@ -0,0 +1,450 @@
|
|
|
1
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
2
|
+
from common import common_pb2 as _common_pb2
|
|
3
|
+
from google.api import annotations_pb2 as _annotations_pb2
|
|
4
|
+
from policy import objects_pb2 as _objects_pb2
|
|
5
|
+
from policy import selectors_pb2 as _selectors_pb2
|
|
6
|
+
from google.protobuf.internal import containers as _containers
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import message as _message
|
|
9
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
10
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
11
|
+
|
|
12
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
13
|
+
|
|
14
|
+
class GetKeyAccessServerRequest(_message.Message):
|
|
15
|
+
__slots__ = ("id", "kas_id", "name", "uri")
|
|
16
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
KAS_ID_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
URI_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
id: str
|
|
21
|
+
kas_id: str
|
|
22
|
+
name: str
|
|
23
|
+
uri: str
|
|
24
|
+
def __init__(self, id: _Optional[str] = ..., kas_id: _Optional[str] = ..., name: _Optional[str] = ..., uri: _Optional[str] = ...) -> None: ...
|
|
25
|
+
|
|
26
|
+
class GetKeyAccessServerResponse(_message.Message):
|
|
27
|
+
__slots__ = ("key_access_server",)
|
|
28
|
+
KEY_ACCESS_SERVER_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
+
key_access_server: _objects_pb2.KeyAccessServer
|
|
30
|
+
def __init__(self, key_access_server: _Optional[_Union[_objects_pb2.KeyAccessServer, _Mapping]] = ...) -> None: ...
|
|
31
|
+
|
|
32
|
+
class ListKeyAccessServersRequest(_message.Message):
|
|
33
|
+
__slots__ = ("pagination",)
|
|
34
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
pagination: _selectors_pb2.PageRequest
|
|
36
|
+
def __init__(self, pagination: _Optional[_Union[_selectors_pb2.PageRequest, _Mapping]] = ...) -> None: ...
|
|
37
|
+
|
|
38
|
+
class ListKeyAccessServersResponse(_message.Message):
|
|
39
|
+
__slots__ = ("key_access_servers", "pagination")
|
|
40
|
+
KEY_ACCESS_SERVERS_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
+
key_access_servers: _containers.RepeatedCompositeFieldContainer[_objects_pb2.KeyAccessServer]
|
|
43
|
+
pagination: _selectors_pb2.PageResponse
|
|
44
|
+
def __init__(self, key_access_servers: _Optional[_Iterable[_Union[_objects_pb2.KeyAccessServer, _Mapping]]] = ..., pagination: _Optional[_Union[_selectors_pb2.PageResponse, _Mapping]] = ...) -> None: ...
|
|
45
|
+
|
|
46
|
+
class CreateKeyAccessServerRequest(_message.Message):
|
|
47
|
+
__slots__ = ("uri", "public_key", "source_type", "name", "metadata")
|
|
48
|
+
URI_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
PUBLIC_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
SOURCE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
53
|
+
uri: str
|
|
54
|
+
public_key: _objects_pb2.PublicKey
|
|
55
|
+
source_type: _objects_pb2.SourceType
|
|
56
|
+
name: str
|
|
57
|
+
metadata: _common_pb2.MetadataMutable
|
|
58
|
+
def __init__(self, uri: _Optional[str] = ..., public_key: _Optional[_Union[_objects_pb2.PublicKey, _Mapping]] = ..., source_type: _Optional[_Union[_objects_pb2.SourceType, str]] = ..., name: _Optional[str] = ..., metadata: _Optional[_Union[_common_pb2.MetadataMutable, _Mapping]] = ...) -> None: ...
|
|
59
|
+
|
|
60
|
+
class CreateKeyAccessServerResponse(_message.Message):
|
|
61
|
+
__slots__ = ("key_access_server",)
|
|
62
|
+
KEY_ACCESS_SERVER_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
+
key_access_server: _objects_pb2.KeyAccessServer
|
|
64
|
+
def __init__(self, key_access_server: _Optional[_Union[_objects_pb2.KeyAccessServer, _Mapping]] = ...) -> None: ...
|
|
65
|
+
|
|
66
|
+
class UpdateKeyAccessServerRequest(_message.Message):
|
|
67
|
+
__slots__ = ("id", "uri", "public_key", "source_type", "name", "metadata", "metadata_update_behavior")
|
|
68
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
69
|
+
URI_FIELD_NUMBER: _ClassVar[int]
|
|
70
|
+
PUBLIC_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
71
|
+
SOURCE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
72
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
73
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
74
|
+
METADATA_UPDATE_BEHAVIOR_FIELD_NUMBER: _ClassVar[int]
|
|
75
|
+
id: str
|
|
76
|
+
uri: str
|
|
77
|
+
public_key: _objects_pb2.PublicKey
|
|
78
|
+
source_type: _objects_pb2.SourceType
|
|
79
|
+
name: str
|
|
80
|
+
metadata: _common_pb2.MetadataMutable
|
|
81
|
+
metadata_update_behavior: _common_pb2.MetadataUpdateEnum
|
|
82
|
+
def __init__(self, id: _Optional[str] = ..., uri: _Optional[str] = ..., public_key: _Optional[_Union[_objects_pb2.PublicKey, _Mapping]] = ..., source_type: _Optional[_Union[_objects_pb2.SourceType, str]] = ..., name: _Optional[str] = ..., metadata: _Optional[_Union[_common_pb2.MetadataMutable, _Mapping]] = ..., metadata_update_behavior: _Optional[_Union[_common_pb2.MetadataUpdateEnum, str]] = ...) -> None: ...
|
|
83
|
+
|
|
84
|
+
class UpdateKeyAccessServerResponse(_message.Message):
|
|
85
|
+
__slots__ = ("key_access_server",)
|
|
86
|
+
KEY_ACCESS_SERVER_FIELD_NUMBER: _ClassVar[int]
|
|
87
|
+
key_access_server: _objects_pb2.KeyAccessServer
|
|
88
|
+
def __init__(self, key_access_server: _Optional[_Union[_objects_pb2.KeyAccessServer, _Mapping]] = ...) -> None: ...
|
|
89
|
+
|
|
90
|
+
class DeleteKeyAccessServerRequest(_message.Message):
|
|
91
|
+
__slots__ = ("id",)
|
|
92
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
93
|
+
id: str
|
|
94
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
95
|
+
|
|
96
|
+
class DeleteKeyAccessServerResponse(_message.Message):
|
|
97
|
+
__slots__ = ("key_access_server",)
|
|
98
|
+
KEY_ACCESS_SERVER_FIELD_NUMBER: _ClassVar[int]
|
|
99
|
+
key_access_server: _objects_pb2.KeyAccessServer
|
|
100
|
+
def __init__(self, key_access_server: _Optional[_Union[_objects_pb2.KeyAccessServer, _Mapping]] = ...) -> None: ...
|
|
101
|
+
|
|
102
|
+
class GrantedPolicyObject(_message.Message):
|
|
103
|
+
__slots__ = ("id", "fqn")
|
|
104
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
105
|
+
FQN_FIELD_NUMBER: _ClassVar[int]
|
|
106
|
+
id: str
|
|
107
|
+
fqn: str
|
|
108
|
+
def __init__(self, id: _Optional[str] = ..., fqn: _Optional[str] = ...) -> None: ...
|
|
109
|
+
|
|
110
|
+
class KeyAccessServerGrants(_message.Message):
|
|
111
|
+
__slots__ = ("key_access_server", "namespace_grants", "attribute_grants", "value_grants")
|
|
112
|
+
KEY_ACCESS_SERVER_FIELD_NUMBER: _ClassVar[int]
|
|
113
|
+
NAMESPACE_GRANTS_FIELD_NUMBER: _ClassVar[int]
|
|
114
|
+
ATTRIBUTE_GRANTS_FIELD_NUMBER: _ClassVar[int]
|
|
115
|
+
VALUE_GRANTS_FIELD_NUMBER: _ClassVar[int]
|
|
116
|
+
key_access_server: _objects_pb2.KeyAccessServer
|
|
117
|
+
namespace_grants: _containers.RepeatedCompositeFieldContainer[GrantedPolicyObject]
|
|
118
|
+
attribute_grants: _containers.RepeatedCompositeFieldContainer[GrantedPolicyObject]
|
|
119
|
+
value_grants: _containers.RepeatedCompositeFieldContainer[GrantedPolicyObject]
|
|
120
|
+
def __init__(self, key_access_server: _Optional[_Union[_objects_pb2.KeyAccessServer, _Mapping]] = ..., namespace_grants: _Optional[_Iterable[_Union[GrantedPolicyObject, _Mapping]]] = ..., attribute_grants: _Optional[_Iterable[_Union[GrantedPolicyObject, _Mapping]]] = ..., value_grants: _Optional[_Iterable[_Union[GrantedPolicyObject, _Mapping]]] = ...) -> None: ...
|
|
121
|
+
|
|
122
|
+
class CreatePublicKeyRequest(_message.Message):
|
|
123
|
+
__slots__ = ("kas_id", "key", "metadata")
|
|
124
|
+
KAS_ID_FIELD_NUMBER: _ClassVar[int]
|
|
125
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
126
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
127
|
+
kas_id: str
|
|
128
|
+
key: _objects_pb2.KasPublicKey
|
|
129
|
+
metadata: _common_pb2.MetadataMutable
|
|
130
|
+
def __init__(self, kas_id: _Optional[str] = ..., key: _Optional[_Union[_objects_pb2.KasPublicKey, _Mapping]] = ..., metadata: _Optional[_Union[_common_pb2.MetadataMutable, _Mapping]] = ...) -> None: ...
|
|
131
|
+
|
|
132
|
+
class CreatePublicKeyResponse(_message.Message):
|
|
133
|
+
__slots__ = ("key",)
|
|
134
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
135
|
+
key: _objects_pb2.Key
|
|
136
|
+
def __init__(self, key: _Optional[_Union[_objects_pb2.Key, _Mapping]] = ...) -> None: ...
|
|
137
|
+
|
|
138
|
+
class GetPublicKeyRequest(_message.Message):
|
|
139
|
+
__slots__ = ("id",)
|
|
140
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
141
|
+
id: str
|
|
142
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
143
|
+
|
|
144
|
+
class GetPublicKeyResponse(_message.Message):
|
|
145
|
+
__slots__ = ("key",)
|
|
146
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
147
|
+
key: _objects_pb2.Key
|
|
148
|
+
def __init__(self, key: _Optional[_Union[_objects_pb2.Key, _Mapping]] = ...) -> None: ...
|
|
149
|
+
|
|
150
|
+
class ListPublicKeysRequest(_message.Message):
|
|
151
|
+
__slots__ = ("kas_id", "kas_name", "kas_uri", "pagination")
|
|
152
|
+
KAS_ID_FIELD_NUMBER: _ClassVar[int]
|
|
153
|
+
KAS_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
154
|
+
KAS_URI_FIELD_NUMBER: _ClassVar[int]
|
|
155
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
156
|
+
kas_id: str
|
|
157
|
+
kas_name: str
|
|
158
|
+
kas_uri: str
|
|
159
|
+
pagination: _selectors_pb2.PageRequest
|
|
160
|
+
def __init__(self, kas_id: _Optional[str] = ..., kas_name: _Optional[str] = ..., kas_uri: _Optional[str] = ..., pagination: _Optional[_Union[_selectors_pb2.PageRequest, _Mapping]] = ...) -> None: ...
|
|
161
|
+
|
|
162
|
+
class ListPublicKeysResponse(_message.Message):
|
|
163
|
+
__slots__ = ("keys", "pagination")
|
|
164
|
+
KEYS_FIELD_NUMBER: _ClassVar[int]
|
|
165
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
166
|
+
keys: _containers.RepeatedCompositeFieldContainer[_objects_pb2.Key]
|
|
167
|
+
pagination: _selectors_pb2.PageResponse
|
|
168
|
+
def __init__(self, keys: _Optional[_Iterable[_Union[_objects_pb2.Key, _Mapping]]] = ..., pagination: _Optional[_Union[_selectors_pb2.PageResponse, _Mapping]] = ...) -> None: ...
|
|
169
|
+
|
|
170
|
+
class ListPublicKeyMappingRequest(_message.Message):
|
|
171
|
+
__slots__ = ("kas_id", "kas_name", "kas_uri", "public_key_id", "pagination")
|
|
172
|
+
KAS_ID_FIELD_NUMBER: _ClassVar[int]
|
|
173
|
+
KAS_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
174
|
+
KAS_URI_FIELD_NUMBER: _ClassVar[int]
|
|
175
|
+
PUBLIC_KEY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
176
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
177
|
+
kas_id: str
|
|
178
|
+
kas_name: str
|
|
179
|
+
kas_uri: str
|
|
180
|
+
public_key_id: str
|
|
181
|
+
pagination: _selectors_pb2.PageRequest
|
|
182
|
+
def __init__(self, kas_id: _Optional[str] = ..., kas_name: _Optional[str] = ..., kas_uri: _Optional[str] = ..., public_key_id: _Optional[str] = ..., pagination: _Optional[_Union[_selectors_pb2.PageRequest, _Mapping]] = ...) -> None: ...
|
|
183
|
+
|
|
184
|
+
class ListPublicKeyMappingResponse(_message.Message):
|
|
185
|
+
__slots__ = ("public_key_mappings", "pagination")
|
|
186
|
+
class PublicKeyMapping(_message.Message):
|
|
187
|
+
__slots__ = ("kas_id", "kas_name", "kas_uri", "public_keys")
|
|
188
|
+
KAS_ID_FIELD_NUMBER: _ClassVar[int]
|
|
189
|
+
KAS_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
190
|
+
KAS_URI_FIELD_NUMBER: _ClassVar[int]
|
|
191
|
+
PUBLIC_KEYS_FIELD_NUMBER: _ClassVar[int]
|
|
192
|
+
kas_id: str
|
|
193
|
+
kas_name: str
|
|
194
|
+
kas_uri: str
|
|
195
|
+
public_keys: _containers.RepeatedCompositeFieldContainer[ListPublicKeyMappingResponse.PublicKey]
|
|
196
|
+
def __init__(self, kas_id: _Optional[str] = ..., kas_name: _Optional[str] = ..., kas_uri: _Optional[str] = ..., public_keys: _Optional[_Iterable[_Union[ListPublicKeyMappingResponse.PublicKey, _Mapping]]] = ...) -> None: ...
|
|
197
|
+
class PublicKey(_message.Message):
|
|
198
|
+
__slots__ = ("key", "values", "definitions", "namespaces")
|
|
199
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
200
|
+
VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
201
|
+
DEFINITIONS_FIELD_NUMBER: _ClassVar[int]
|
|
202
|
+
NAMESPACES_FIELD_NUMBER: _ClassVar[int]
|
|
203
|
+
key: _objects_pb2.Key
|
|
204
|
+
values: _containers.RepeatedCompositeFieldContainer[ListPublicKeyMappingResponse.Association]
|
|
205
|
+
definitions: _containers.RepeatedCompositeFieldContainer[ListPublicKeyMappingResponse.Association]
|
|
206
|
+
namespaces: _containers.RepeatedCompositeFieldContainer[ListPublicKeyMappingResponse.Association]
|
|
207
|
+
def __init__(self, key: _Optional[_Union[_objects_pb2.Key, _Mapping]] = ..., values: _Optional[_Iterable[_Union[ListPublicKeyMappingResponse.Association, _Mapping]]] = ..., definitions: _Optional[_Iterable[_Union[ListPublicKeyMappingResponse.Association, _Mapping]]] = ..., namespaces: _Optional[_Iterable[_Union[ListPublicKeyMappingResponse.Association, _Mapping]]] = ...) -> None: ...
|
|
208
|
+
class Association(_message.Message):
|
|
209
|
+
__slots__ = ("id", "fqn")
|
|
210
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
211
|
+
FQN_FIELD_NUMBER: _ClassVar[int]
|
|
212
|
+
id: str
|
|
213
|
+
fqn: str
|
|
214
|
+
def __init__(self, id: _Optional[str] = ..., fqn: _Optional[str] = ...) -> None: ...
|
|
215
|
+
PUBLIC_KEY_MAPPINGS_FIELD_NUMBER: _ClassVar[int]
|
|
216
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
217
|
+
public_key_mappings: _containers.RepeatedCompositeFieldContainer[ListPublicKeyMappingResponse.PublicKeyMapping]
|
|
218
|
+
pagination: _selectors_pb2.PageResponse
|
|
219
|
+
def __init__(self, public_key_mappings: _Optional[_Iterable[_Union[ListPublicKeyMappingResponse.PublicKeyMapping, _Mapping]]] = ..., pagination: _Optional[_Union[_selectors_pb2.PageResponse, _Mapping]] = ...) -> None: ...
|
|
220
|
+
|
|
221
|
+
class UpdatePublicKeyRequest(_message.Message):
|
|
222
|
+
__slots__ = ("id", "metadata", "metadata_update_behavior")
|
|
223
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
224
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
225
|
+
METADATA_UPDATE_BEHAVIOR_FIELD_NUMBER: _ClassVar[int]
|
|
226
|
+
id: str
|
|
227
|
+
metadata: _common_pb2.MetadataMutable
|
|
228
|
+
metadata_update_behavior: _common_pb2.MetadataUpdateEnum
|
|
229
|
+
def __init__(self, id: _Optional[str] = ..., metadata: _Optional[_Union[_common_pb2.MetadataMutable, _Mapping]] = ..., metadata_update_behavior: _Optional[_Union[_common_pb2.MetadataUpdateEnum, str]] = ...) -> None: ...
|
|
230
|
+
|
|
231
|
+
class UpdatePublicKeyResponse(_message.Message):
|
|
232
|
+
__slots__ = ("key",)
|
|
233
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
234
|
+
key: _objects_pb2.Key
|
|
235
|
+
def __init__(self, key: _Optional[_Union[_objects_pb2.Key, _Mapping]] = ...) -> None: ...
|
|
236
|
+
|
|
237
|
+
class DeactivatePublicKeyRequest(_message.Message):
|
|
238
|
+
__slots__ = ("id",)
|
|
239
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
240
|
+
id: str
|
|
241
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
242
|
+
|
|
243
|
+
class DeactivatePublicKeyResponse(_message.Message):
|
|
244
|
+
__slots__ = ("key",)
|
|
245
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
246
|
+
key: _objects_pb2.Key
|
|
247
|
+
def __init__(self, key: _Optional[_Union[_objects_pb2.Key, _Mapping]] = ...) -> None: ...
|
|
248
|
+
|
|
249
|
+
class ActivatePublicKeyRequest(_message.Message):
|
|
250
|
+
__slots__ = ("id",)
|
|
251
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
252
|
+
id: str
|
|
253
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
254
|
+
|
|
255
|
+
class ActivatePublicKeyResponse(_message.Message):
|
|
256
|
+
__slots__ = ("key",)
|
|
257
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
258
|
+
key: _objects_pb2.Key
|
|
259
|
+
def __init__(self, key: _Optional[_Union[_objects_pb2.Key, _Mapping]] = ...) -> None: ...
|
|
260
|
+
|
|
261
|
+
class ListKeyAccessServerGrantsRequest(_message.Message):
|
|
262
|
+
__slots__ = ("kas_id", "kas_uri", "kas_name", "pagination")
|
|
263
|
+
KAS_ID_FIELD_NUMBER: _ClassVar[int]
|
|
264
|
+
KAS_URI_FIELD_NUMBER: _ClassVar[int]
|
|
265
|
+
KAS_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
266
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
267
|
+
kas_id: str
|
|
268
|
+
kas_uri: str
|
|
269
|
+
kas_name: str
|
|
270
|
+
pagination: _selectors_pb2.PageRequest
|
|
271
|
+
def __init__(self, kas_id: _Optional[str] = ..., kas_uri: _Optional[str] = ..., kas_name: _Optional[str] = ..., pagination: _Optional[_Union[_selectors_pb2.PageRequest, _Mapping]] = ...) -> None: ...
|
|
272
|
+
|
|
273
|
+
class ListKeyAccessServerGrantsResponse(_message.Message):
|
|
274
|
+
__slots__ = ("grants", "pagination")
|
|
275
|
+
GRANTS_FIELD_NUMBER: _ClassVar[int]
|
|
276
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
277
|
+
grants: _containers.RepeatedCompositeFieldContainer[KeyAccessServerGrants]
|
|
278
|
+
pagination: _selectors_pb2.PageResponse
|
|
279
|
+
def __init__(self, grants: _Optional[_Iterable[_Union[KeyAccessServerGrants, _Mapping]]] = ..., pagination: _Optional[_Union[_selectors_pb2.PageResponse, _Mapping]] = ...) -> None: ...
|
|
280
|
+
|
|
281
|
+
class CreateKeyRequest(_message.Message):
|
|
282
|
+
__slots__ = ("kas_id", "key_id", "key_algorithm", "key_mode", "public_key_ctx", "private_key_ctx", "provider_config_id", "metadata")
|
|
283
|
+
KAS_ID_FIELD_NUMBER: _ClassVar[int]
|
|
284
|
+
KEY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
285
|
+
KEY_ALGORITHM_FIELD_NUMBER: _ClassVar[int]
|
|
286
|
+
KEY_MODE_FIELD_NUMBER: _ClassVar[int]
|
|
287
|
+
PUBLIC_KEY_CTX_FIELD_NUMBER: _ClassVar[int]
|
|
288
|
+
PRIVATE_KEY_CTX_FIELD_NUMBER: _ClassVar[int]
|
|
289
|
+
PROVIDER_CONFIG_ID_FIELD_NUMBER: _ClassVar[int]
|
|
290
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
291
|
+
kas_id: str
|
|
292
|
+
key_id: str
|
|
293
|
+
key_algorithm: _objects_pb2.Algorithm
|
|
294
|
+
key_mode: _objects_pb2.KeyMode
|
|
295
|
+
public_key_ctx: _objects_pb2.PublicKeyCtx
|
|
296
|
+
private_key_ctx: _objects_pb2.PrivateKeyCtx
|
|
297
|
+
provider_config_id: str
|
|
298
|
+
metadata: _common_pb2.MetadataMutable
|
|
299
|
+
def __init__(self, kas_id: _Optional[str] = ..., key_id: _Optional[str] = ..., key_algorithm: _Optional[_Union[_objects_pb2.Algorithm, str]] = ..., key_mode: _Optional[_Union[_objects_pb2.KeyMode, str]] = ..., public_key_ctx: _Optional[_Union[_objects_pb2.PublicKeyCtx, _Mapping]] = ..., private_key_ctx: _Optional[_Union[_objects_pb2.PrivateKeyCtx, _Mapping]] = ..., provider_config_id: _Optional[str] = ..., metadata: _Optional[_Union[_common_pb2.MetadataMutable, _Mapping]] = ...) -> None: ...
|
|
300
|
+
|
|
301
|
+
class CreateKeyResponse(_message.Message):
|
|
302
|
+
__slots__ = ("kas_key",)
|
|
303
|
+
KAS_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
304
|
+
kas_key: _objects_pb2.KasKey
|
|
305
|
+
def __init__(self, kas_key: _Optional[_Union[_objects_pb2.KasKey, _Mapping]] = ...) -> None: ...
|
|
306
|
+
|
|
307
|
+
class GetKeyRequest(_message.Message):
|
|
308
|
+
__slots__ = ("id", "key")
|
|
309
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
310
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
311
|
+
id: str
|
|
312
|
+
key: KasKeyIdentifier
|
|
313
|
+
def __init__(self, id: _Optional[str] = ..., key: _Optional[_Union[KasKeyIdentifier, _Mapping]] = ...) -> None: ...
|
|
314
|
+
|
|
315
|
+
class GetKeyResponse(_message.Message):
|
|
316
|
+
__slots__ = ("kas_key",)
|
|
317
|
+
KAS_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
318
|
+
kas_key: _objects_pb2.KasKey
|
|
319
|
+
def __init__(self, kas_key: _Optional[_Union[_objects_pb2.KasKey, _Mapping]] = ...) -> None: ...
|
|
320
|
+
|
|
321
|
+
class ListKeysRequest(_message.Message):
|
|
322
|
+
__slots__ = ("key_algorithm", "kas_id", "kas_name", "kas_uri", "pagination")
|
|
323
|
+
KEY_ALGORITHM_FIELD_NUMBER: _ClassVar[int]
|
|
324
|
+
KAS_ID_FIELD_NUMBER: _ClassVar[int]
|
|
325
|
+
KAS_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
326
|
+
KAS_URI_FIELD_NUMBER: _ClassVar[int]
|
|
327
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
328
|
+
key_algorithm: _objects_pb2.Algorithm
|
|
329
|
+
kas_id: str
|
|
330
|
+
kas_name: str
|
|
331
|
+
kas_uri: str
|
|
332
|
+
pagination: _selectors_pb2.PageRequest
|
|
333
|
+
def __init__(self, key_algorithm: _Optional[_Union[_objects_pb2.Algorithm, str]] = ..., kas_id: _Optional[str] = ..., kas_name: _Optional[str] = ..., kas_uri: _Optional[str] = ..., pagination: _Optional[_Union[_selectors_pb2.PageRequest, _Mapping]] = ...) -> None: ...
|
|
334
|
+
|
|
335
|
+
class ListKeysResponse(_message.Message):
|
|
336
|
+
__slots__ = ("kas_keys", "pagination")
|
|
337
|
+
KAS_KEYS_FIELD_NUMBER: _ClassVar[int]
|
|
338
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
339
|
+
kas_keys: _containers.RepeatedCompositeFieldContainer[_objects_pb2.KasKey]
|
|
340
|
+
pagination: _selectors_pb2.PageResponse
|
|
341
|
+
def __init__(self, kas_keys: _Optional[_Iterable[_Union[_objects_pb2.KasKey, _Mapping]]] = ..., pagination: _Optional[_Union[_selectors_pb2.PageResponse, _Mapping]] = ...) -> None: ...
|
|
342
|
+
|
|
343
|
+
class UpdateKeyRequest(_message.Message):
|
|
344
|
+
__slots__ = ("id", "metadata", "metadata_update_behavior")
|
|
345
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
346
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
347
|
+
METADATA_UPDATE_BEHAVIOR_FIELD_NUMBER: _ClassVar[int]
|
|
348
|
+
id: str
|
|
349
|
+
metadata: _common_pb2.MetadataMutable
|
|
350
|
+
metadata_update_behavior: _common_pb2.MetadataUpdateEnum
|
|
351
|
+
def __init__(self, id: _Optional[str] = ..., metadata: _Optional[_Union[_common_pb2.MetadataMutable, _Mapping]] = ..., metadata_update_behavior: _Optional[_Union[_common_pb2.MetadataUpdateEnum, str]] = ...) -> None: ...
|
|
352
|
+
|
|
353
|
+
class UpdateKeyResponse(_message.Message):
|
|
354
|
+
__slots__ = ("kas_key",)
|
|
355
|
+
KAS_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
356
|
+
kas_key: _objects_pb2.KasKey
|
|
357
|
+
def __init__(self, kas_key: _Optional[_Union[_objects_pb2.KasKey, _Mapping]] = ...) -> None: ...
|
|
358
|
+
|
|
359
|
+
class KasKeyIdentifier(_message.Message):
|
|
360
|
+
__slots__ = ("kas_id", "name", "uri", "kid")
|
|
361
|
+
KAS_ID_FIELD_NUMBER: _ClassVar[int]
|
|
362
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
363
|
+
URI_FIELD_NUMBER: _ClassVar[int]
|
|
364
|
+
KID_FIELD_NUMBER: _ClassVar[int]
|
|
365
|
+
kas_id: str
|
|
366
|
+
name: str
|
|
367
|
+
uri: str
|
|
368
|
+
kid: str
|
|
369
|
+
def __init__(self, kas_id: _Optional[str] = ..., name: _Optional[str] = ..., uri: _Optional[str] = ..., kid: _Optional[str] = ...) -> None: ...
|
|
370
|
+
|
|
371
|
+
class RotateKeyRequest(_message.Message):
|
|
372
|
+
__slots__ = ("id", "key", "new_key")
|
|
373
|
+
class NewKey(_message.Message):
|
|
374
|
+
__slots__ = ("key_id", "algorithm", "key_mode", "public_key_ctx", "private_key_ctx", "provider_config_id", "metadata")
|
|
375
|
+
KEY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
376
|
+
ALGORITHM_FIELD_NUMBER: _ClassVar[int]
|
|
377
|
+
KEY_MODE_FIELD_NUMBER: _ClassVar[int]
|
|
378
|
+
PUBLIC_KEY_CTX_FIELD_NUMBER: _ClassVar[int]
|
|
379
|
+
PRIVATE_KEY_CTX_FIELD_NUMBER: _ClassVar[int]
|
|
380
|
+
PROVIDER_CONFIG_ID_FIELD_NUMBER: _ClassVar[int]
|
|
381
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
382
|
+
key_id: str
|
|
383
|
+
algorithm: _objects_pb2.Algorithm
|
|
384
|
+
key_mode: _objects_pb2.KeyMode
|
|
385
|
+
public_key_ctx: _objects_pb2.PublicKeyCtx
|
|
386
|
+
private_key_ctx: _objects_pb2.PrivateKeyCtx
|
|
387
|
+
provider_config_id: str
|
|
388
|
+
metadata: _common_pb2.MetadataMutable
|
|
389
|
+
def __init__(self, key_id: _Optional[str] = ..., algorithm: _Optional[_Union[_objects_pb2.Algorithm, str]] = ..., key_mode: _Optional[_Union[_objects_pb2.KeyMode, str]] = ..., public_key_ctx: _Optional[_Union[_objects_pb2.PublicKeyCtx, _Mapping]] = ..., private_key_ctx: _Optional[_Union[_objects_pb2.PrivateKeyCtx, _Mapping]] = ..., provider_config_id: _Optional[str] = ..., metadata: _Optional[_Union[_common_pb2.MetadataMutable, _Mapping]] = ...) -> None: ...
|
|
390
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
391
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
392
|
+
NEW_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
393
|
+
id: str
|
|
394
|
+
key: KasKeyIdentifier
|
|
395
|
+
new_key: RotateKeyRequest.NewKey
|
|
396
|
+
def __init__(self, id: _Optional[str] = ..., key: _Optional[_Union[KasKeyIdentifier, _Mapping]] = ..., new_key: _Optional[_Union[RotateKeyRequest.NewKey, _Mapping]] = ...) -> None: ...
|
|
397
|
+
|
|
398
|
+
class ChangeMappings(_message.Message):
|
|
399
|
+
__slots__ = ("id", "fqn")
|
|
400
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
401
|
+
FQN_FIELD_NUMBER: _ClassVar[int]
|
|
402
|
+
id: str
|
|
403
|
+
fqn: str
|
|
404
|
+
def __init__(self, id: _Optional[str] = ..., fqn: _Optional[str] = ...) -> None: ...
|
|
405
|
+
|
|
406
|
+
class RotatedResources(_message.Message):
|
|
407
|
+
__slots__ = ("rotated_out_key", "attribute_definition_mappings", "attribute_value_mappings", "namespace_mappings")
|
|
408
|
+
ROTATED_OUT_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
409
|
+
ATTRIBUTE_DEFINITION_MAPPINGS_FIELD_NUMBER: _ClassVar[int]
|
|
410
|
+
ATTRIBUTE_VALUE_MAPPINGS_FIELD_NUMBER: _ClassVar[int]
|
|
411
|
+
NAMESPACE_MAPPINGS_FIELD_NUMBER: _ClassVar[int]
|
|
412
|
+
rotated_out_key: _objects_pb2.KasKey
|
|
413
|
+
attribute_definition_mappings: _containers.RepeatedCompositeFieldContainer[ChangeMappings]
|
|
414
|
+
attribute_value_mappings: _containers.RepeatedCompositeFieldContainer[ChangeMappings]
|
|
415
|
+
namespace_mappings: _containers.RepeatedCompositeFieldContainer[ChangeMappings]
|
|
416
|
+
def __init__(self, rotated_out_key: _Optional[_Union[_objects_pb2.KasKey, _Mapping]] = ..., attribute_definition_mappings: _Optional[_Iterable[_Union[ChangeMappings, _Mapping]]] = ..., attribute_value_mappings: _Optional[_Iterable[_Union[ChangeMappings, _Mapping]]] = ..., namespace_mappings: _Optional[_Iterable[_Union[ChangeMappings, _Mapping]]] = ...) -> None: ...
|
|
417
|
+
|
|
418
|
+
class RotateKeyResponse(_message.Message):
|
|
419
|
+
__slots__ = ("kas_key", "rotated_resources")
|
|
420
|
+
KAS_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
421
|
+
ROTATED_RESOURCES_FIELD_NUMBER: _ClassVar[int]
|
|
422
|
+
kas_key: _objects_pb2.KasKey
|
|
423
|
+
rotated_resources: RotatedResources
|
|
424
|
+
def __init__(self, kas_key: _Optional[_Union[_objects_pb2.KasKey, _Mapping]] = ..., rotated_resources: _Optional[_Union[RotatedResources, _Mapping]] = ...) -> None: ...
|
|
425
|
+
|
|
426
|
+
class SetBaseKeyRequest(_message.Message):
|
|
427
|
+
__slots__ = ("id", "key")
|
|
428
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
429
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
430
|
+
id: str
|
|
431
|
+
key: KasKeyIdentifier
|
|
432
|
+
def __init__(self, id: _Optional[str] = ..., key: _Optional[_Union[KasKeyIdentifier, _Mapping]] = ...) -> None: ...
|
|
433
|
+
|
|
434
|
+
class GetBaseKeyRequest(_message.Message):
|
|
435
|
+
__slots__ = ()
|
|
436
|
+
def __init__(self) -> None: ...
|
|
437
|
+
|
|
438
|
+
class GetBaseKeyResponse(_message.Message):
|
|
439
|
+
__slots__ = ("base_key",)
|
|
440
|
+
BASE_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
441
|
+
base_key: _objects_pb2.SimpleKasKey
|
|
442
|
+
def __init__(self, base_key: _Optional[_Union[_objects_pb2.SimpleKasKey, _Mapping]] = ...) -> None: ...
|
|
443
|
+
|
|
444
|
+
class SetBaseKeyResponse(_message.Message):
|
|
445
|
+
__slots__ = ("new_base_key", "previous_base_key")
|
|
446
|
+
NEW_BASE_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
447
|
+
PREVIOUS_BASE_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
448
|
+
new_base_key: _objects_pb2.SimpleKasKey
|
|
449
|
+
previous_base_key: _objects_pb2.SimpleKasKey
|
|
450
|
+
def __init__(self, new_base_key: _Optional[_Union[_objects_pb2.SimpleKasKey, _Mapping]] = ..., previous_base_key: _Optional[_Union[_objects_pb2.SimpleKasKey, _Mapping]] = ...) -> None: ...
|