@eudiplo/cli 9.1.0-main.2a73124 → 9.1.0-main.49433e7
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/commands/config/portability/upgrade.d.ts.map +1 -1
- package/dist/commands/config/portability/upgrade.js +6 -2
- package/dist/commands/config/portability/upgrade.js.map +1 -1
- package/dist/index.js +534 -5
- package/dist/services/diagnostics.js +1 -1
- package/dist/services/diagnostics.js.map +1 -1
- package/package.json +1 -1
- package/templates/demo-config/clients/presentation-test.json +1 -1
- package/templates/demo-config/clients/test.json +7 -2
- package/templates/demo-config/key-chains/attestation.json +2 -1
- package/templates/demo-config/key-chains/status-list.json +2 -1
- package/templates/schemas/ClientConfigFile.schema.json +134 -1
- package/templates/schemas/CreateClientDto.schema.json +5 -1
- package/templates/schemas/CreateTenantDto.schema.json +6 -2
- package/templates/schemas/KeyChainConfigFile.schema.json +136 -119
- package/templates/schemas/KeyChainCreateDto.schema.json +1 -1
- package/templates/schemas/KeyChainImportDto.schema.json +8 -0
- package/templates/schemas/RotationPolicyCreateDto.schema.json +1 -1
- package/templates/schemas/TenantConfigFile.schema.json +4 -129
- package/templates/schemas/UpdateClientDto.schema.json +5 -1
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"
|
|
3
|
+
"$id": "./TenantConfigFile.schema.json",
|
|
4
|
+
"title": "TenantConfigFile",
|
|
5
|
+
"description": "Configuration file identified by its $schema URL.",
|
|
6
|
+
"oneOf": [
|
|
4
7
|
{
|
|
5
8
|
"type": "object",
|
|
6
9
|
"properties": {
|
|
@@ -214,133 +217,5 @@
|
|
|
214
217
|
"additionalProperties": false,
|
|
215
218
|
"description": "Payload used when importing tenant metadata from config files."
|
|
216
219
|
}
|
|
217
|
-
],
|
|
218
|
-
"$id": "./TenantConfigFile.schema.json",
|
|
219
|
-
"title": "TenantConfigFile",
|
|
220
|
-
"description": "Configuration file identified by its $schema URL.",
|
|
221
|
-
"oneOf": [
|
|
222
|
-
{
|
|
223
|
-
"type": "object",
|
|
224
|
-
"properties": {
|
|
225
|
-
"$schema": {
|
|
226
|
-
"type": "string",
|
|
227
|
-
"const": "https://eudiplo.dev/schemas/v1/TenantConfigFile.schema.json"
|
|
228
|
-
},
|
|
229
|
-
"metadata": {
|
|
230
|
-
"type": "object",
|
|
231
|
-
"properties": {
|
|
232
|
-
"generation": {
|
|
233
|
-
"type": "integer",
|
|
234
|
-
"minimum": 1,
|
|
235
|
-
"maximum": 9007199254740991
|
|
236
|
-
},
|
|
237
|
-
"ownership": {
|
|
238
|
-
"type": "string",
|
|
239
|
-
"enum": [
|
|
240
|
-
"unmanaged",
|
|
241
|
-
"file-managed"
|
|
242
|
-
]
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
"additionalProperties": false
|
|
246
|
-
},
|
|
247
|
-
"spec": {
|
|
248
|
-
"type": "object",
|
|
249
|
-
"properties": {
|
|
250
|
-
"name": {
|
|
251
|
-
"default": "EUDIPLO",
|
|
252
|
-
"description": "Display name of the tenant.",
|
|
253
|
-
"type": "string",
|
|
254
|
-
"minLength": 1
|
|
255
|
-
},
|
|
256
|
-
"description": {
|
|
257
|
-
"description": "Optional tenant description.",
|
|
258
|
-
"type": "string",
|
|
259
|
-
"minLength": 1
|
|
260
|
-
},
|
|
261
|
-
"sessionConfig": {
|
|
262
|
-
"description": "Optional tenant-specific session storage configuration.",
|
|
263
|
-
"type": "object",
|
|
264
|
-
"properties": {
|
|
265
|
-
"ttlSeconds": {
|
|
266
|
-
"description": "Session time-to-live in seconds.",
|
|
267
|
-
"type": "integer",
|
|
268
|
-
"minimum": 60,
|
|
269
|
-
"maximum": 9007199254740991
|
|
270
|
-
},
|
|
271
|
-
"cleanupMode": {
|
|
272
|
-
"description": "Whether to fully delete or anonymize expired sessions.",
|
|
273
|
-
"type": "string",
|
|
274
|
-
"enum": [
|
|
275
|
-
"full",
|
|
276
|
-
"anonymize"
|
|
277
|
-
]
|
|
278
|
-
}
|
|
279
|
-
},
|
|
280
|
-
"additionalProperties": false
|
|
281
|
-
},
|
|
282
|
-
"statusListConfig": {
|
|
283
|
-
"description": "Optional tenant-specific status list defaults.",
|
|
284
|
-
"type": "object",
|
|
285
|
-
"properties": {
|
|
286
|
-
"capacity": {
|
|
287
|
-
"description": "Default status list capacity.",
|
|
288
|
-
"type": "integer",
|
|
289
|
-
"minimum": 100,
|
|
290
|
-
"maximum": 9007199254740991
|
|
291
|
-
},
|
|
292
|
-
"bits": {
|
|
293
|
-
"description": "Bits-per-status setting (1, 2, 4, or 8).",
|
|
294
|
-
"anyOf": [
|
|
295
|
-
{
|
|
296
|
-
"type": "number",
|
|
297
|
-
"const": 1
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"type": "number",
|
|
301
|
-
"const": 2
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
"type": "number",
|
|
305
|
-
"const": 4
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
"type": "number",
|
|
309
|
-
"const": 8
|
|
310
|
-
}
|
|
311
|
-
]
|
|
312
|
-
},
|
|
313
|
-
"ttl": {
|
|
314
|
-
"description": "JWT TTL for status list tokens in seconds.",
|
|
315
|
-
"type": "integer",
|
|
316
|
-
"minimum": 60,
|
|
317
|
-
"maximum": 9007199254740991
|
|
318
|
-
},
|
|
319
|
-
"immediateUpdate": {
|
|
320
|
-
"description": "Regenerate status list JWTs immediately after status updates.",
|
|
321
|
-
"type": "boolean"
|
|
322
|
-
},
|
|
323
|
-
"enableAggregation": {
|
|
324
|
-
"description": "Include aggregation_uri in generated status list JWTs.",
|
|
325
|
-
"type": "boolean"
|
|
326
|
-
}
|
|
327
|
-
},
|
|
328
|
-
"additionalProperties": false
|
|
329
|
-
}
|
|
330
|
-
},
|
|
331
|
-
"required": [
|
|
332
|
-
"name"
|
|
333
|
-
],
|
|
334
|
-
"additionalProperties": false,
|
|
335
|
-
"description": "Payload used when importing tenant metadata from config files."
|
|
336
|
-
}
|
|
337
|
-
},
|
|
338
|
-
"required": [
|
|
339
|
-
"$schema",
|
|
340
|
-
"metadata",
|
|
341
|
-
"spec"
|
|
342
|
-
],
|
|
343
|
-
"additionalProperties": false
|
|
344
|
-
}
|
|
345
220
|
]
|
|
346
221
|
}
|