@opentdf/sdk 0.3.1 → 0.3.2-beta.1
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.
- package/dist/cjs/src/access/access-fetch.js +155 -0
- package/dist/cjs/src/access/access-rpc.js +131 -0
- package/dist/cjs/src/access.js +81 -107
- package/dist/cjs/src/auth/oidc.js +2 -2
- package/dist/cjs/src/nanotdf/Client.js +17 -13
- package/dist/cjs/src/nanotdf/models/Header.js +2 -2
- package/dist/cjs/src/nanotdf-crypto/keyAgreement.js +2 -2
- package/dist/cjs/src/opentdf.js +42 -8
- package/dist/cjs/src/platform/authorization/authorization_pb.js +138 -0
- package/dist/cjs/src/platform/buf/validate/validate_pb.js +410 -0
- package/dist/cjs/src/platform/common/common_pb.js +79 -0
- package/dist/cjs/src/platform/entityresolution/entity_resolution_pb.js +49 -0
- package/dist/cjs/src/platform/google/api/annotations_pb.js +30 -0
- package/dist/cjs/src/platform/google/api/http_pb.js +37 -0
- package/dist/cjs/src/platform/kas/kas_pb.js +96 -0
- package/dist/cjs/src/platform/policy/actions/actions_pb.js +70 -0
- package/dist/cjs/src/platform/policy/attributes/attributes_pb.js +240 -0
- package/dist/cjs/src/platform/policy/kasregistry/key_access_server_registry_pb.js +236 -0
- package/dist/cjs/src/platform/policy/keymanagement/key_management_pb.js +70 -0
- package/dist/cjs/src/platform/policy/namespaces/namespaces_pb.js +121 -0
- package/dist/cjs/src/platform/policy/objects_pb.js +395 -0
- package/dist/cjs/src/platform/policy/registeredresources/registered_resources_pb.js +132 -0
- package/dist/cjs/src/platform/policy/resourcemapping/resource_mapping_pb.js +139 -0
- package/dist/cjs/src/platform/policy/selectors_pb.js +67 -0
- package/dist/cjs/src/platform/policy/subjectmapping/subject_mapping_pb.js +146 -0
- package/dist/cjs/src/platform/policy/unsafe/unsafe_pb.js +124 -0
- package/dist/cjs/src/platform/protoc-gen-openapiv2/options/annotations_pb.js +68 -0
- package/dist/cjs/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.js +307 -0
- package/dist/cjs/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +33 -0
- package/dist/cjs/src/platform.js +124 -0
- package/dist/cjs/src/policy/api.js +21 -38
- package/dist/cjs/src/policy/attributes.js +4 -1
- package/dist/cjs/src/policy/granter.js +9 -9
- package/dist/cjs/src/utils.js +31 -1
- package/dist/cjs/src/version.js +2 -2
- package/dist/cjs/tdf3/src/client/index.js +23 -18
- package/dist/cjs/tdf3/src/tdf.js +5 -5
- package/dist/types/src/access/access-fetch.d.ts +21 -0
- package/dist/types/src/access/access-fetch.d.ts.map +1 -0
- package/dist/types/src/access/access-rpc.d.ts +22 -0
- package/dist/types/src/access/access-rpc.d.ts.map +1 -0
- package/dist/types/src/access.d.ts +19 -11
- package/dist/types/src/access.d.ts.map +1 -1
- package/dist/types/src/nanotdf/Client.d.ts +3 -1
- package/dist/types/src/nanotdf/Client.d.ts.map +1 -1
- package/dist/types/src/opentdf.d.ts +5 -1
- package/dist/types/src/opentdf.d.ts.map +1 -1
- package/dist/types/src/platform/authorization/authorization_pb.d.ts +609 -0
- package/dist/types/src/platform/authorization/authorization_pb.d.ts.map +1 -0
- package/dist/types/src/platform/buf/validate/validate_pb.d.ts +4466 -0
- package/dist/types/src/platform/buf/validate/validate_pb.d.ts.map +1 -0
- package/dist/types/src/platform/common/common_pb.d.ts +112 -0
- package/dist/types/src/platform/common/common_pb.d.ts.map +1 -0
- package/dist/types/src/platform/entityresolution/entity_resolution_pb.d.ts +199 -0
- package/dist/types/src/platform/entityresolution/entity_resolution_pb.d.ts.map +1 -0
- package/dist/types/src/platform/google/api/annotations_pb.d.ts +14 -0
- package/dist/types/src/platform/google/api/annotations_pb.d.ts.map +1 -0
- package/dist/types/src/platform/google/api/http_pb.d.ts +441 -0
- package/dist/types/src/platform/google/api/http_pb.d.ts.map +1 -0
- package/dist/types/src/platform/kas/kas_pb.d.ts +404 -0
- package/dist/types/src/platform/kas/kas_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/actions/actions_pb.d.ts +265 -0
- package/dist/types/src/platform/policy/actions/actions_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts +1022 -0
- package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts +1306 -0
- package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts +269 -0
- package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts +448 -0
- package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/objects_pb.d.ts +1112 -0
- package/dist/types/src/platform/policy/objects_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/registeredresources/registered_resources_pb.d.ts +539 -0
- package/dist/types/src/platform/policy/registeredresources/registered_resources_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts +558 -0
- package/dist/types/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/selectors_pb.d.ts +221 -0
- package/dist/types/src/platform/policy/selectors_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts +582 -0
- package/dist/types/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts +513 -0
- package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts.map +1 -0
- package/dist/types/src/platform/protoc-gen-openapiv2/options/annotations_pb.d.ts +62 -0
- package/dist/types/src/platform/protoc-gen-openapiv2/options/annotations_pb.d.ts.map +1 -0
- package/dist/types/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +1441 -0
- package/dist/types/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.d.ts.map +1 -0
- package/dist/types/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts +59 -0
- package/dist/types/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts.map +1 -0
- package/dist/types/src/platform.d.ts +49 -0
- package/dist/types/src/platform.d.ts.map +1 -0
- package/dist/types/src/policy/api.d.ts +1 -1
- package/dist/types/src/policy/api.d.ts.map +1 -1
- package/dist/types/src/policy/attributes.d.ts +10 -87
- package/dist/types/src/policy/attributes.d.ts.map +1 -1
- package/dist/types/src/policy/granter.d.ts.map +1 -1
- package/dist/types/src/utils.d.ts +10 -0
- package/dist/types/src/utils.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/dist/types/tdf3/src/client/index.d.ts +8 -3
- package/dist/types/tdf3/src/client/index.d.ts.map +1 -1
- package/dist/types/tdf3/src/tdf.d.ts.map +1 -1
- package/dist/web/src/access/access-fetch.js +150 -0
- package/dist/web/src/access/access-rpc.js +125 -0
- package/dist/web/src/access.js +82 -110
- package/dist/web/src/auth/oidc.js +2 -2
- package/dist/web/src/nanotdf/Client.js +18 -14
- package/dist/web/src/nanotdf/models/Header.js +2 -2
- package/dist/web/src/nanotdf-crypto/keyAgreement.js +2 -2
- package/dist/web/src/opentdf.js +43 -9
- package/dist/web/src/platform/authorization/authorization_pb.js +135 -0
- package/dist/web/src/platform/buf/validate/validate_pb.js +407 -0
- package/dist/web/src/platform/common/common_pb.js +76 -0
- package/dist/web/src/platform/entityresolution/entity_resolution_pb.js +46 -0
- package/dist/web/src/platform/google/api/annotations_pb.js +27 -0
- package/dist/web/src/platform/google/api/http_pb.js +34 -0
- package/dist/web/src/platform/kas/kas_pb.js +93 -0
- package/dist/web/src/platform/policy/actions/actions_pb.js +67 -0
- package/dist/web/src/platform/policy/attributes/attributes_pb.js +237 -0
- package/dist/web/src/platform/policy/kasregistry/key_access_server_registry_pb.js +233 -0
- package/dist/web/src/platform/policy/keymanagement/key_management_pb.js +67 -0
- package/dist/web/src/platform/policy/namespaces/namespaces_pb.js +118 -0
- package/dist/web/src/platform/policy/objects_pb.js +392 -0
- package/dist/web/src/platform/policy/registeredresources/registered_resources_pb.js +129 -0
- package/dist/web/src/platform/policy/resourcemapping/resource_mapping_pb.js +136 -0
- package/dist/web/src/platform/policy/selectors_pb.js +64 -0
- package/dist/web/src/platform/policy/subjectmapping/subject_mapping_pb.js +143 -0
- package/dist/web/src/platform/policy/unsafe/unsafe_pb.js +121 -0
- package/dist/web/src/platform/protoc-gen-openapiv2/options/annotations_pb.js +65 -0
- package/dist/web/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.js +304 -0
- package/dist/web/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +30 -0
- package/dist/web/src/platform.js +87 -0
- package/dist/web/src/policy/api.js +23 -40
- package/dist/web/src/policy/attributes.js +3 -2
- package/dist/web/src/policy/granter.js +9 -9
- package/dist/web/src/utils.js +29 -1
- package/dist/web/src/version.js +2 -2
- package/dist/web/tdf3/src/client/index.js +25 -20
- package/dist/web/tdf3/src/tdf.js +5 -5
- package/package.json +17 -1
- package/src/access/access-fetch.ts +202 -0
- package/src/access/access-rpc.ts +175 -0
- package/src/access.ts +113 -138
- package/src/auth/oidc.ts +1 -1
- package/src/nanotdf/Client.ts +28 -18
- package/src/nanotdf/models/Header.ts +1 -1
- package/src/nanotdf-crypto/keyAgreement.ts +1 -1
- package/src/opentdf.ts +66 -10
- package/src/platform/authorization/authorization_pb.ts +689 -0
- package/src/platform/buf/validate/validate_pb.ts +4626 -0
- package/src/platform/common/common_pb.ts +135 -0
- package/src/platform/entityresolution/entity_resolution_pb.ts +233 -0
- package/src/platform/google/api/annotations_pb.ts +39 -0
- package/src/platform/google/api/http_pb.ts +474 -0
- package/src/platform/kas/kas_pb.ts +484 -0
- package/src/platform/policy/actions/actions_pb.ts +312 -0
- package/src/platform/policy/attributes/attributes_pb.ts +1181 -0
- package/src/platform/policy/kasregistry/key_access_server_registry_pb.ts +1482 -0
- package/src/platform/policy/keymanagement/key_management_pb.ts +316 -0
- package/src/platform/policy/namespaces/namespaces_pb.ts +528 -0
- package/src/platform/policy/objects_pb.ts +1319 -0
- package/src/platform/policy/registeredresources/registered_resources_pb.ts +623 -0
- package/src/platform/policy/resourcemapping/resource_mapping_pb.ts +658 -0
- package/src/platform/policy/selectors_pb.ts +277 -0
- package/src/platform/policy/subjectmapping/subject_mapping_pb.ts +687 -0
- package/src/platform/policy/unsafe/unsafe_pb.ts +593 -0
- package/src/platform/protoc-gen-openapiv2/options/annotations_pb.ts +83 -0
- package/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.ts +1615 -0
- package/src/platform/wellknownconfiguration/wellknown_configuration_pb.ts +78 -0
- package/src/platform.ts +122 -0
- package/src/policy/api.ts +29 -42
- package/src/policy/attributes.ts +12 -108
- package/src/policy/granter.ts +7 -8
- package/src/utils.ts +30 -0
- package/src/version.ts +1 -1
- package/tdf3/src/client/index.ts +40 -19
- package/tdf3/src/tdf.ts +5 -6
- package/src/platform/authorization/authorization_connect.d.ts +0 -44
- package/src/platform/authorization/authorization_connect.js +0 -44
- package/src/platform/authorization/authorization_pb.d.ts +0 -707
- package/src/platform/authorization/authorization_pb.js +0 -372
- package/src/platform/common/common_pb.d.ts +0 -129
- package/src/platform/common/common_pb.js +0 -58
- package/src/platform/entityresolution/entity_resolution_connect.d.ts +0 -35
- package/src/platform/entityresolution/entity_resolution_connect.js +0 -35
- package/src/platform/entityresolution/entity_resolution_pb.d.ts +0 -242
- package/src/platform/entityresolution/entity_resolution_pb.js +0 -139
- package/src/platform/kas/kas_connect.d.ts +0 -59
- package/src/platform/kas/kas_connect.js +0 -59
- package/src/platform/kas/kas_pb.d.ts +0 -200
- package/src/platform/kas/kas_pb.js +0 -84
- package/src/platform/policy/attributes/attributes_connect.d.ts +0 -168
- package/src/platform/policy/attributes/attributes_connect.js +0 -168
- package/src/platform/policy/attributes/attributes_pb.d.ts +0 -929
- package/src/platform/policy/attributes/attributes_pb.js +0 -363
- package/src/platform/policy/kasregistry/key_access_server_registry_connect.d.ts +0 -62
- package/src/platform/policy/kasregistry/key_access_server_registry_connect.js +0 -62
- package/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts +0 -283
- package/src/platform/policy/kasregistry/key_access_server_registry_pb.js +0 -113
- package/src/platform/policy/namespaces/namespaces_connect.d.ts +0 -62
- package/src/platform/policy/namespaces/namespaces_connect.js +0 -62
- package/src/platform/policy/namespaces/namespaces_pb.d.ts +0 -270
- package/src/platform/policy/namespaces/namespaces_pb.js +0 -110
- package/src/platform/policy/objects_pb.d.ts +0 -725
- package/src/platform/policy/objects_pb.js +0 -288
- package/src/platform/policy/resourcemapping/resource_mapping_connect.d.ts +0 -259
- package/src/platform/policy/resourcemapping/resource_mapping_connect.js +0 -259
- package/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts +0 -314
- package/src/platform/policy/resourcemapping/resource_mapping_pb.js +0 -142
- package/src/platform/policy/selectors_pb.d.ts +0 -269
- package/src/platform/policy/selectors_pb.js +0 -110
- package/src/platform/policy/subjectmapping/subject_mapping_connect.d.ts +0 -118
- package/src/platform/policy/subjectmapping/subject_mapping_connect.js +0 -118
- package/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts +0 -672
- package/src/platform/policy/subjectmapping/subject_mapping_pb.js +0 -260
- package/src/platform/wellknownconfiguration/wellknown_configuration_connect.d.ts +0 -26
- package/src/platform/wellknownconfiguration/wellknown_configuration_connect.js +0 -26
- package/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts +0 -75
- package/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +0 -35
|
@@ -1,725 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.9.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file policy/objects.proto (package policy, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
|
-
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
-
import type { Metadata } from "../common/common_pb";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* buflint ENUM_VALUE_PREFIX: to make sure that C++ scoping rules aren't violated when users add new enum values to an enum in a given package
|
|
12
|
-
*
|
|
13
|
-
* @generated from enum policy.AttributeRuleTypeEnum
|
|
14
|
-
*/
|
|
15
|
-
export declare enum AttributeRuleTypeEnum {
|
|
16
|
-
/**
|
|
17
|
-
* @generated from enum value: ATTRIBUTE_RULE_TYPE_ENUM_UNSPECIFIED = 0;
|
|
18
|
-
*/
|
|
19
|
-
UNSPECIFIED = 0,
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* @generated from enum value: ATTRIBUTE_RULE_TYPE_ENUM_ALL_OF = 1;
|
|
23
|
-
*/
|
|
24
|
-
ALL_OF = 1,
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @generated from enum value: ATTRIBUTE_RULE_TYPE_ENUM_ANY_OF = 2;
|
|
28
|
-
*/
|
|
29
|
-
ANY_OF = 2,
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* @generated from enum value: ATTRIBUTE_RULE_TYPE_ENUM_HIERARCHY = 3;
|
|
33
|
-
*/
|
|
34
|
-
HIERARCHY = 3,
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* buflint ENUM_VALUE_PREFIX: to make sure that C++ scoping rules aren't violated when users add new enum values to an enum in a given package
|
|
39
|
-
*
|
|
40
|
-
* @generated from enum policy.SubjectMappingOperatorEnum
|
|
41
|
-
*/
|
|
42
|
-
export declare enum SubjectMappingOperatorEnum {
|
|
43
|
-
/**
|
|
44
|
-
* @generated from enum value: SUBJECT_MAPPING_OPERATOR_ENUM_UNSPECIFIED = 0;
|
|
45
|
-
*/
|
|
46
|
-
UNSPECIFIED = 0,
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @generated from enum value: SUBJECT_MAPPING_OPERATOR_ENUM_IN = 1;
|
|
50
|
-
*/
|
|
51
|
-
IN = 1,
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* @generated from enum value: SUBJECT_MAPPING_OPERATOR_ENUM_NOT_IN = 2;
|
|
55
|
-
*/
|
|
56
|
-
NOT_IN = 2,
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* buflint ENUM_VALUE_PREFIX: to make sure that C++ scoping rules aren't violated when users add new enum values to an enum in a given package
|
|
61
|
-
*
|
|
62
|
-
* @generated from enum policy.ConditionBooleanTypeEnum
|
|
63
|
-
*/
|
|
64
|
-
export declare enum ConditionBooleanTypeEnum {
|
|
65
|
-
/**
|
|
66
|
-
* @generated from enum value: CONDITION_BOOLEAN_TYPE_ENUM_UNSPECIFIED = 0;
|
|
67
|
-
*/
|
|
68
|
-
UNSPECIFIED = 0,
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* @generated from enum value: CONDITION_BOOLEAN_TYPE_ENUM_AND = 1;
|
|
72
|
-
*/
|
|
73
|
-
AND = 1,
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @generated from enum value: CONDITION_BOOLEAN_TYPE_ENUM_OR = 2;
|
|
77
|
-
*/
|
|
78
|
-
OR = 2,
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* @generated from message policy.Namespace
|
|
83
|
-
*/
|
|
84
|
-
export declare class Namespace extends Message<Namespace> {
|
|
85
|
-
/**
|
|
86
|
-
* generated uuid in database
|
|
87
|
-
*
|
|
88
|
-
* @generated from field: string id = 1;
|
|
89
|
-
*/
|
|
90
|
-
id: string;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* used to partition Attribute Definitions, support by namespace AuthN and enable federation
|
|
94
|
-
*
|
|
95
|
-
* @generated from field: string name = 2;
|
|
96
|
-
*/
|
|
97
|
-
name: string;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* @generated from field: string fqn = 3;
|
|
101
|
-
*/
|
|
102
|
-
fqn: string;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* active by default until explicitly deactivated
|
|
106
|
-
*
|
|
107
|
-
* @generated from field: google.protobuf.BoolValue active = 4;
|
|
108
|
-
*/
|
|
109
|
-
active?: boolean;
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* @generated from field: common.Metadata metadata = 5;
|
|
113
|
-
*/
|
|
114
|
-
metadata?: Metadata;
|
|
115
|
-
|
|
116
|
-
constructor(data?: PartialMessage<Namespace>);
|
|
117
|
-
|
|
118
|
-
static readonly runtime: typeof proto3;
|
|
119
|
-
static readonly typeName = "policy.Namespace";
|
|
120
|
-
static readonly fields: FieldList;
|
|
121
|
-
|
|
122
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Namespace;
|
|
123
|
-
|
|
124
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Namespace;
|
|
125
|
-
|
|
126
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Namespace;
|
|
127
|
-
|
|
128
|
-
static equals(a: Namespace | PlainMessage<Namespace> | undefined, b: Namespace | PlainMessage<Namespace> | undefined): boolean;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* @generated from message policy.Attribute
|
|
133
|
-
*/
|
|
134
|
-
export declare class Attribute extends Message<Attribute> {
|
|
135
|
-
/**
|
|
136
|
-
* @generated from field: string id = 1;
|
|
137
|
-
*/
|
|
138
|
-
id: string;
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* namespace of the attribute
|
|
142
|
-
*
|
|
143
|
-
* @generated from field: policy.Namespace namespace = 2;
|
|
144
|
-
*/
|
|
145
|
-
namespace?: Namespace;
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* attribute name
|
|
149
|
-
*
|
|
150
|
-
* @generated from field: string name = 3;
|
|
151
|
-
*/
|
|
152
|
-
name: string;
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* attribute rule enum
|
|
156
|
-
*
|
|
157
|
-
* @generated from field: policy.AttributeRuleTypeEnum rule = 4;
|
|
158
|
-
*/
|
|
159
|
-
rule: AttributeRuleTypeEnum;
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* @generated from field: repeated policy.Value values = 5;
|
|
163
|
-
*/
|
|
164
|
-
values: Value[];
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* @generated from field: repeated policy.KeyAccessServer grants = 6;
|
|
168
|
-
*/
|
|
169
|
-
grants: KeyAccessServer[];
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* @generated from field: string fqn = 7;
|
|
173
|
-
*/
|
|
174
|
-
fqn: string;
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* active by default until explicitly deactivated
|
|
178
|
-
*
|
|
179
|
-
* @generated from field: google.protobuf.BoolValue active = 8;
|
|
180
|
-
*/
|
|
181
|
-
active?: boolean;
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* Common metadata
|
|
185
|
-
*
|
|
186
|
-
* @generated from field: common.Metadata metadata = 100;
|
|
187
|
-
*/
|
|
188
|
-
metadata?: Metadata;
|
|
189
|
-
|
|
190
|
-
constructor(data?: PartialMessage<Attribute>);
|
|
191
|
-
|
|
192
|
-
static readonly runtime: typeof proto3;
|
|
193
|
-
static readonly typeName = "policy.Attribute";
|
|
194
|
-
static readonly fields: FieldList;
|
|
195
|
-
|
|
196
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Attribute;
|
|
197
|
-
|
|
198
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Attribute;
|
|
199
|
-
|
|
200
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Attribute;
|
|
201
|
-
|
|
202
|
-
static equals(a: Attribute | PlainMessage<Attribute> | undefined, b: Attribute | PlainMessage<Attribute> | undefined): boolean;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* @generated from message policy.Value
|
|
207
|
-
*/
|
|
208
|
-
export declare class Value extends Message<Value> {
|
|
209
|
-
/**
|
|
210
|
-
* generated uuid in database
|
|
211
|
-
*
|
|
212
|
-
* @generated from field: string id = 1;
|
|
213
|
-
*/
|
|
214
|
-
id: string;
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* @generated from field: policy.Attribute attribute = 2;
|
|
218
|
-
*/
|
|
219
|
-
attribute?: Attribute;
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* @generated from field: string value = 3;
|
|
223
|
-
*/
|
|
224
|
-
value: string;
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* list of attribute values that this value is related to (attribute group)
|
|
228
|
-
*
|
|
229
|
-
* @generated from field: repeated policy.Value members = 4;
|
|
230
|
-
*/
|
|
231
|
-
members: Value[];
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* list of key access servers
|
|
235
|
-
*
|
|
236
|
-
* @generated from field: repeated policy.KeyAccessServer grants = 5;
|
|
237
|
-
*/
|
|
238
|
-
grants: KeyAccessServer[];
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* @generated from field: string fqn = 6;
|
|
242
|
-
*/
|
|
243
|
-
fqn: string;
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* active by default until explicitly deactivated
|
|
247
|
-
*
|
|
248
|
-
* @generated from field: google.protobuf.BoolValue active = 7;
|
|
249
|
-
*/
|
|
250
|
-
active?: boolean;
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* subject mapping
|
|
254
|
-
*
|
|
255
|
-
* @generated from field: repeated policy.SubjectMapping subject_mappings = 8;
|
|
256
|
-
*/
|
|
257
|
-
subjectMappings: SubjectMapping[];
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* Common metadata
|
|
261
|
-
*
|
|
262
|
-
* @generated from field: common.Metadata metadata = 100;
|
|
263
|
-
*/
|
|
264
|
-
metadata?: Metadata;
|
|
265
|
-
|
|
266
|
-
constructor(data?: PartialMessage<Value>);
|
|
267
|
-
|
|
268
|
-
static readonly runtime: typeof proto3;
|
|
269
|
-
static readonly typeName = "policy.Value";
|
|
270
|
-
static readonly fields: FieldList;
|
|
271
|
-
|
|
272
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Value;
|
|
273
|
-
|
|
274
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Value;
|
|
275
|
-
|
|
276
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Value;
|
|
277
|
-
|
|
278
|
-
static equals(a: Value | PlainMessage<Value> | undefined, b: Value | PlainMessage<Value> | undefined): boolean;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* An action an entity can take
|
|
283
|
-
*
|
|
284
|
-
* @generated from message policy.Action
|
|
285
|
-
*/
|
|
286
|
-
export declare class Action extends Message<Action> {
|
|
287
|
-
/**
|
|
288
|
-
* @generated from oneof policy.Action.value
|
|
289
|
-
*/
|
|
290
|
-
value: {
|
|
291
|
-
/**
|
|
292
|
-
* @generated from field: policy.Action.StandardAction standard = 1;
|
|
293
|
-
*/
|
|
294
|
-
value: Action_StandardAction;
|
|
295
|
-
case: "standard";
|
|
296
|
-
} | {
|
|
297
|
-
/**
|
|
298
|
-
* @generated from field: string custom = 2;
|
|
299
|
-
*/
|
|
300
|
-
value: string;
|
|
301
|
-
case: "custom";
|
|
302
|
-
} | { case: undefined; value?: undefined };
|
|
303
|
-
|
|
304
|
-
constructor(data?: PartialMessage<Action>);
|
|
305
|
-
|
|
306
|
-
static readonly runtime: typeof proto3;
|
|
307
|
-
static readonly typeName = "policy.Action";
|
|
308
|
-
static readonly fields: FieldList;
|
|
309
|
-
|
|
310
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Action;
|
|
311
|
-
|
|
312
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Action;
|
|
313
|
-
|
|
314
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Action;
|
|
315
|
-
|
|
316
|
-
static equals(a: Action | PlainMessage<Action> | undefined, b: Action | PlainMessage<Action> | undefined): boolean;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* Standard actions supported by the platform
|
|
321
|
-
*
|
|
322
|
-
* @generated from enum policy.Action.StandardAction
|
|
323
|
-
*/
|
|
324
|
-
export declare enum Action_StandardAction {
|
|
325
|
-
/**
|
|
326
|
-
* @generated from enum value: STANDARD_ACTION_UNSPECIFIED = 0;
|
|
327
|
-
*/
|
|
328
|
-
UNSPECIFIED = 0,
|
|
329
|
-
|
|
330
|
-
/**
|
|
331
|
-
* @generated from enum value: STANDARD_ACTION_DECRYPT = 1;
|
|
332
|
-
*/
|
|
333
|
-
DECRYPT = 1,
|
|
334
|
-
|
|
335
|
-
/**
|
|
336
|
-
* @generated from enum value: STANDARD_ACTION_TRANSMIT = 2;
|
|
337
|
-
*/
|
|
338
|
-
TRANSMIT = 2,
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
*
|
|
343
|
-
* Subject Mapping: A Policy assigning Subject Set(s) to a permitted attribute value + action(s) combination
|
|
344
|
-
*
|
|
345
|
-
* Example: Subjects in sets 1 and 2 are entitled attribute value http://wwww.example.org/attr/example/value/one
|
|
346
|
-
* with permitted actions TRANSMIT and DECRYPT
|
|
347
|
-
* {
|
|
348
|
-
* "id": "someid",
|
|
349
|
-
* "attribute_value": {example_one_attribute_value...},
|
|
350
|
-
* "subject_condition_set": {"subject_sets":[{subject_set_1},{subject_set_2}]...},
|
|
351
|
-
* "actions": [{"standard": "STANDARD_ACTION_DECRYPT"}", {"standard": "STANDARD_ACTION_TRANSMIT"}]
|
|
352
|
-
* }
|
|
353
|
-
*
|
|
354
|
-
* @generated from message policy.SubjectMapping
|
|
355
|
-
*/
|
|
356
|
-
export declare class SubjectMapping extends Message<SubjectMapping> {
|
|
357
|
-
/**
|
|
358
|
-
* @generated from field: string id = 1;
|
|
359
|
-
*/
|
|
360
|
-
id: string;
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* the Attribute Value mapped to; aka: "The Entity Entitlement Attribute"
|
|
364
|
-
*
|
|
365
|
-
* @generated from field: policy.Value attribute_value = 2;
|
|
366
|
-
*/
|
|
367
|
-
attributeValue?: Value;
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* the reusable SubjectConditionSet mapped to the given Attribute Value
|
|
371
|
-
*
|
|
372
|
-
* @generated from field: policy.SubjectConditionSet subject_condition_set = 3;
|
|
373
|
-
*/
|
|
374
|
-
subjectConditionSet?: SubjectConditionSet;
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* The actions permitted by subjects in this mapping
|
|
378
|
-
*
|
|
379
|
-
* @generated from field: repeated policy.Action actions = 4;
|
|
380
|
-
*/
|
|
381
|
-
actions: Action[];
|
|
382
|
-
|
|
383
|
-
/**
|
|
384
|
-
* @generated from field: common.Metadata metadata = 100;
|
|
385
|
-
*/
|
|
386
|
-
metadata?: Metadata;
|
|
387
|
-
|
|
388
|
-
constructor(data?: PartialMessage<SubjectMapping>);
|
|
389
|
-
|
|
390
|
-
static readonly runtime: typeof proto3;
|
|
391
|
-
static readonly typeName = "policy.SubjectMapping";
|
|
392
|
-
static readonly fields: FieldList;
|
|
393
|
-
|
|
394
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubjectMapping;
|
|
395
|
-
|
|
396
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubjectMapping;
|
|
397
|
-
|
|
398
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubjectMapping;
|
|
399
|
-
|
|
400
|
-
static equals(a: SubjectMapping | PlainMessage<SubjectMapping> | undefined, b: SubjectMapping | PlainMessage<SubjectMapping> | undefined): boolean;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
/**
|
|
404
|
-
* *
|
|
405
|
-
* A Condition defines a rule of <the value at the flattened 'selector value' location> <operator> <subject external values>
|
|
406
|
-
*
|
|
407
|
-
* Example: Subjects with a field selected by the flattened selector "'.division'" and a value of "Accounting" or "Marketing":
|
|
408
|
-
* {
|
|
409
|
-
* "subject_external_selector_value": "'.division'",
|
|
410
|
-
* "operator": "SUBJECT_MAPPING_OPERATOR_ENUM_IN",
|
|
411
|
-
* "subject_external_values" : ["Accounting", "Marketing"]
|
|
412
|
-
* }
|
|
413
|
-
*
|
|
414
|
-
* Example: Subjects that are not part of the Fantastic Four according to their alias field:
|
|
415
|
-
* {
|
|
416
|
-
* "subject_external_selector_value": "'.data[0].alias'",
|
|
417
|
-
* "operator": "SUBJECT_MAPPING_OPERATOR_ENUM_NOT_IN",
|
|
418
|
-
* "subject_external_values" : ["mister_fantastic", "the_thing", "human_torch", "invisible_woman"]
|
|
419
|
-
* }
|
|
420
|
-
*
|
|
421
|
-
* @generated from message policy.Condition
|
|
422
|
-
*/
|
|
423
|
-
export declare class Condition extends Message<Condition> {
|
|
424
|
-
/**
|
|
425
|
-
* a selector for a field value on a flattened Entity Representation (such as from idP/LDAP)
|
|
426
|
-
*
|
|
427
|
-
* @generated from field: string subject_external_selector_value = 1;
|
|
428
|
-
*/
|
|
429
|
-
subjectExternalSelectorValue: string;
|
|
430
|
-
|
|
431
|
-
/**
|
|
432
|
-
* the evaluation operator of relation
|
|
433
|
-
*
|
|
434
|
-
* @generated from field: policy.SubjectMappingOperatorEnum operator = 2;
|
|
435
|
-
*/
|
|
436
|
-
operator: SubjectMappingOperatorEnum;
|
|
437
|
-
|
|
438
|
-
/**
|
|
439
|
-
* list of comparison values for the result of applying the subject_external_selector_value on a flattened Entity Representation (Subject), evaluated by the operator
|
|
440
|
-
*
|
|
441
|
-
* @generated from field: repeated string subject_external_values = 3;
|
|
442
|
-
*/
|
|
443
|
-
subjectExternalValues: string[];
|
|
444
|
-
|
|
445
|
-
constructor(data?: PartialMessage<Condition>);
|
|
446
|
-
|
|
447
|
-
static readonly runtime: typeof proto3;
|
|
448
|
-
static readonly typeName = "policy.Condition";
|
|
449
|
-
static readonly fields: FieldList;
|
|
450
|
-
|
|
451
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Condition;
|
|
452
|
-
|
|
453
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Condition;
|
|
454
|
-
|
|
455
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Condition;
|
|
456
|
-
|
|
457
|
-
static equals(a: Condition | PlainMessage<Condition> | undefined, b: Condition | PlainMessage<Condition> | undefined): boolean;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
/**
|
|
461
|
-
* A collection of Conditions evaluated by the boolean_operator provided
|
|
462
|
-
*
|
|
463
|
-
* @generated from message policy.ConditionGroup
|
|
464
|
-
*/
|
|
465
|
-
export declare class ConditionGroup extends Message<ConditionGroup> {
|
|
466
|
-
/**
|
|
467
|
-
* @generated from field: repeated policy.Condition conditions = 1;
|
|
468
|
-
*/
|
|
469
|
-
conditions: Condition[];
|
|
470
|
-
|
|
471
|
-
/**
|
|
472
|
-
* the boolean evaluation type across the conditions
|
|
473
|
-
*
|
|
474
|
-
* @generated from field: policy.ConditionBooleanTypeEnum boolean_operator = 2;
|
|
475
|
-
*/
|
|
476
|
-
booleanOperator: ConditionBooleanTypeEnum;
|
|
477
|
-
|
|
478
|
-
constructor(data?: PartialMessage<ConditionGroup>);
|
|
479
|
-
|
|
480
|
-
static readonly runtime: typeof proto3;
|
|
481
|
-
static readonly typeName = "policy.ConditionGroup";
|
|
482
|
-
static readonly fields: FieldList;
|
|
483
|
-
|
|
484
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConditionGroup;
|
|
485
|
-
|
|
486
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConditionGroup;
|
|
487
|
-
|
|
488
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConditionGroup;
|
|
489
|
-
|
|
490
|
-
static equals(a: ConditionGroup | PlainMessage<ConditionGroup> | undefined, b: ConditionGroup | PlainMessage<ConditionGroup> | undefined): boolean;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
/**
|
|
494
|
-
* A collection of Condition Groups
|
|
495
|
-
*
|
|
496
|
-
* @generated from message policy.SubjectSet
|
|
497
|
-
*/
|
|
498
|
-
export declare class SubjectSet extends Message<SubjectSet> {
|
|
499
|
-
/**
|
|
500
|
-
* multiple Condition Groups are evaluated with AND logic
|
|
501
|
-
*
|
|
502
|
-
* @generated from field: repeated policy.ConditionGroup condition_groups = 1;
|
|
503
|
-
*/
|
|
504
|
-
conditionGroups: ConditionGroup[];
|
|
505
|
-
|
|
506
|
-
constructor(data?: PartialMessage<SubjectSet>);
|
|
507
|
-
|
|
508
|
-
static readonly runtime: typeof proto3;
|
|
509
|
-
static readonly typeName = "policy.SubjectSet";
|
|
510
|
-
static readonly fields: FieldList;
|
|
511
|
-
|
|
512
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubjectSet;
|
|
513
|
-
|
|
514
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubjectSet;
|
|
515
|
-
|
|
516
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubjectSet;
|
|
517
|
-
|
|
518
|
-
static equals(a: SubjectSet | PlainMessage<SubjectSet> | undefined, b: SubjectSet | PlainMessage<SubjectSet> | undefined): boolean;
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
/**
|
|
522
|
-
*
|
|
523
|
-
* A container for multiple Subject Sets, each containing Condition Groups, each containing Conditions. Multiple Subject Sets in a SubjectConditionSet
|
|
524
|
-
* are evaluated with AND logic. As each Subject Mapping has only one Attribute Value, the SubjectConditionSet is reusable across multiple
|
|
525
|
-
* Subject Mappings / Attribute Values and is an independent unit.
|
|
526
|
-
*
|
|
527
|
-
* @generated from message policy.SubjectConditionSet
|
|
528
|
-
*/
|
|
529
|
-
export declare class SubjectConditionSet extends Message<SubjectConditionSet> {
|
|
530
|
-
/**
|
|
531
|
-
* @generated from field: string id = 1;
|
|
532
|
-
*/
|
|
533
|
-
id: string;
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
* @generated from field: repeated policy.SubjectSet subject_sets = 3;
|
|
537
|
-
*/
|
|
538
|
-
subjectSets: SubjectSet[];
|
|
539
|
-
|
|
540
|
-
/**
|
|
541
|
-
* @generated from field: common.Metadata metadata = 100;
|
|
542
|
-
*/
|
|
543
|
-
metadata?: Metadata;
|
|
544
|
-
|
|
545
|
-
constructor(data?: PartialMessage<SubjectConditionSet>);
|
|
546
|
-
|
|
547
|
-
static readonly runtime: typeof proto3;
|
|
548
|
-
static readonly typeName = "policy.SubjectConditionSet";
|
|
549
|
-
static readonly fields: FieldList;
|
|
550
|
-
|
|
551
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubjectConditionSet;
|
|
552
|
-
|
|
553
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubjectConditionSet;
|
|
554
|
-
|
|
555
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubjectConditionSet;
|
|
556
|
-
|
|
557
|
-
static equals(a: SubjectConditionSet | PlainMessage<SubjectConditionSet> | undefined, b: SubjectConditionSet | PlainMessage<SubjectConditionSet> | undefined): boolean;
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
/**
|
|
561
|
-
*
|
|
562
|
-
*
|
|
563
|
-
* A property of a Subject/Entity as its selector expression -> value result pair. This would mirror external user attributes retrieved
|
|
564
|
-
* from an authoritative source such as an IDP (Identity Provider) or User Store. Examples include such ADFS/LDAP, OKTA, etc.
|
|
565
|
-
* For now, a valid property must contain both a selector expression & a resulting value.
|
|
566
|
-
*
|
|
567
|
-
* The external_selector_value is a specifier to select a value from a flattened external representation of an Entity (such as from idP/LDAP),
|
|
568
|
-
* and the external_value is the value selected by the external_selector_value on that Entity Representation (Subject Context). These mirror the Condition.
|
|
569
|
-
*
|
|
570
|
-
* @generated from message policy.SubjectProperty
|
|
571
|
-
*/
|
|
572
|
-
export declare class SubjectProperty extends Message<SubjectProperty> {
|
|
573
|
-
/**
|
|
574
|
-
* @generated from field: string external_selector_value = 1;
|
|
575
|
-
*/
|
|
576
|
-
externalSelectorValue: string;
|
|
577
|
-
|
|
578
|
-
/**
|
|
579
|
-
* @generated from field: string external_value = 2;
|
|
580
|
-
*/
|
|
581
|
-
externalValue: string;
|
|
582
|
-
|
|
583
|
-
constructor(data?: PartialMessage<SubjectProperty>);
|
|
584
|
-
|
|
585
|
-
static readonly runtime: typeof proto3;
|
|
586
|
-
static readonly typeName = "policy.SubjectProperty";
|
|
587
|
-
static readonly fields: FieldList;
|
|
588
|
-
|
|
589
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubjectProperty;
|
|
590
|
-
|
|
591
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubjectProperty;
|
|
592
|
-
|
|
593
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubjectProperty;
|
|
594
|
-
|
|
595
|
-
static equals(a: SubjectProperty | PlainMessage<SubjectProperty> | undefined, b: SubjectProperty | PlainMessage<SubjectProperty> | undefined): boolean;
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
/**
|
|
599
|
-
*
|
|
600
|
-
* Resource Mappings (aka Access Control Resource Encodings aka ACRE) are structures supporting the mapping of Resources and Attribute Values
|
|
601
|
-
*
|
|
602
|
-
* @generated from message policy.ResourceMapping
|
|
603
|
-
*/
|
|
604
|
-
export declare class ResourceMapping extends Message<ResourceMapping> {
|
|
605
|
-
/**
|
|
606
|
-
* @generated from field: string id = 1;
|
|
607
|
-
*/
|
|
608
|
-
id: string;
|
|
609
|
-
|
|
610
|
-
/**
|
|
611
|
-
* @generated from field: common.Metadata metadata = 2;
|
|
612
|
-
*/
|
|
613
|
-
metadata?: Metadata;
|
|
614
|
-
|
|
615
|
-
/**
|
|
616
|
-
* @generated from field: policy.Value attribute_value = 3;
|
|
617
|
-
*/
|
|
618
|
-
attributeValue?: Value;
|
|
619
|
-
|
|
620
|
-
/**
|
|
621
|
-
* @generated from field: repeated string terms = 4;
|
|
622
|
-
*/
|
|
623
|
-
terms: string[];
|
|
624
|
-
|
|
625
|
-
constructor(data?: PartialMessage<ResourceMapping>);
|
|
626
|
-
|
|
627
|
-
static readonly runtime: typeof proto3;
|
|
628
|
-
static readonly typeName = "policy.ResourceMapping";
|
|
629
|
-
static readonly fields: FieldList;
|
|
630
|
-
|
|
631
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResourceMapping;
|
|
632
|
-
|
|
633
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResourceMapping;
|
|
634
|
-
|
|
635
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResourceMapping;
|
|
636
|
-
|
|
637
|
-
static equals(a: ResourceMapping | PlainMessage<ResourceMapping> | undefined, b: ResourceMapping | PlainMessage<ResourceMapping> | undefined): boolean;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
*
|
|
642
|
-
* Key Access Server Registry
|
|
643
|
-
*
|
|
644
|
-
* @generated from message policy.KeyAccessServer
|
|
645
|
-
*/
|
|
646
|
-
export declare class KeyAccessServer extends Message<KeyAccessServer> {
|
|
647
|
-
/**
|
|
648
|
-
* @generated from field: string id = 1;
|
|
649
|
-
*/
|
|
650
|
-
id: string;
|
|
651
|
-
|
|
652
|
-
/**
|
|
653
|
-
* Address of a KAS instance
|
|
654
|
-
*
|
|
655
|
-
* @generated from field: string uri = 2;
|
|
656
|
-
*/
|
|
657
|
-
uri: string;
|
|
658
|
-
|
|
659
|
-
/**
|
|
660
|
-
* @generated from field: policy.PublicKey public_key = 3;
|
|
661
|
-
*/
|
|
662
|
-
publicKey?: PublicKey;
|
|
663
|
-
|
|
664
|
-
/**
|
|
665
|
-
* Common metadata
|
|
666
|
-
*
|
|
667
|
-
* @generated from field: common.Metadata metadata = 100;
|
|
668
|
-
*/
|
|
669
|
-
metadata?: Metadata;
|
|
670
|
-
|
|
671
|
-
constructor(data?: PartialMessage<KeyAccessServer>);
|
|
672
|
-
|
|
673
|
-
static readonly runtime: typeof proto3;
|
|
674
|
-
static readonly typeName = "policy.KeyAccessServer";
|
|
675
|
-
static readonly fields: FieldList;
|
|
676
|
-
|
|
677
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): KeyAccessServer;
|
|
678
|
-
|
|
679
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): KeyAccessServer;
|
|
680
|
-
|
|
681
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): KeyAccessServer;
|
|
682
|
-
|
|
683
|
-
static equals(a: KeyAccessServer | PlainMessage<KeyAccessServer> | undefined, b: KeyAccessServer | PlainMessage<KeyAccessServer> | undefined): boolean;
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
/**
|
|
687
|
-
* @generated from message policy.PublicKey
|
|
688
|
-
*/
|
|
689
|
-
export declare class PublicKey extends Message<PublicKey> {
|
|
690
|
-
/**
|
|
691
|
-
* @generated from oneof policy.PublicKey.public_key
|
|
692
|
-
*/
|
|
693
|
-
publicKey: {
|
|
694
|
-
/**
|
|
695
|
-
* kas public key url - optional since can also be retrieved via public key
|
|
696
|
-
*
|
|
697
|
-
* @generated from field: string remote = 1;
|
|
698
|
-
*/
|
|
699
|
-
value: string;
|
|
700
|
-
case: "remote";
|
|
701
|
-
} | {
|
|
702
|
-
/**
|
|
703
|
-
* public key - optional since can also be retrieved via url
|
|
704
|
-
*
|
|
705
|
-
* @generated from field: string local = 2;
|
|
706
|
-
*/
|
|
707
|
-
value: string;
|
|
708
|
-
case: "local";
|
|
709
|
-
} | { case: undefined; value?: undefined };
|
|
710
|
-
|
|
711
|
-
constructor(data?: PartialMessage<PublicKey>);
|
|
712
|
-
|
|
713
|
-
static readonly runtime: typeof proto3;
|
|
714
|
-
static readonly typeName = "policy.PublicKey";
|
|
715
|
-
static readonly fields: FieldList;
|
|
716
|
-
|
|
717
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublicKey;
|
|
718
|
-
|
|
719
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublicKey;
|
|
720
|
-
|
|
721
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublicKey;
|
|
722
|
-
|
|
723
|
-
static equals(a: PublicKey | PlainMessage<PublicKey> | undefined, b: PublicKey | PlainMessage<PublicKey> | undefined): boolean;
|
|
724
|
-
}
|
|
725
|
-
|