@eudiplo/cli 9.1.0-main.e4e29b5 → 9.1.0-main.e69fe20
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/completion/action.js +3 -1
- package/dist/commands/completion/action.js.map +1 -1
- package/dist/commands/config/portability/migrations.spec.js +4 -2
- package/dist/commands/config/portability/migrations.spec.js.map +1 -1
- 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/commands/config/validate/action.d.ts.map +1 -1
- package/dist/commands/config/validate/action.js +2 -1
- package/dist/commands/config/validate/action.js.map +1 -1
- package/dist/commands/config/validate/registry.json +10 -0
- package/dist/commands/init/action.d.ts.map +1 -1
- package/dist/commands/init/action.js +1 -11
- package/dist/commands/init/action.js.map +1 -1
- package/dist/commands/instance/action.d.ts +2 -0
- package/dist/commands/instance/action.d.ts.map +1 -1
- package/dist/commands/instance/action.js +68 -12
- package/dist/commands/instance/action.js.map +1 -1
- package/dist/commands/instance/index.d.ts.map +1 -1
- package/dist/commands/instance/index.js +21 -3
- package/dist/commands/instance/index.js.map +1 -1
- package/dist/commands/open/action.d.ts.map +1 -1
- package/dist/commands/open/action.js +13 -2
- package/dist/commands/open/action.js.map +1 -1
- package/dist/commands/status/action.d.ts.map +1 -1
- package/dist/commands/status/action.js +2 -1
- package/dist/commands/status/action.js.map +1 -1
- package/dist/index.js +5435 -773
- package/dist/services/api-auth.d.ts.map +1 -1
- package/dist/services/api-auth.js +3 -2
- package/dist/services/api-auth.js.map +1 -1
- package/dist/services/browser.d.ts.map +1 -1
- package/dist/services/browser.js +3 -2
- package/dist/services/browser.js.map +1 -1
- package/dist/services/cli-config.d.ts +41 -1
- package/dist/services/cli-config.d.ts.map +1 -1
- package/dist/services/cli-config.js +217 -29
- package/dist/services/cli-config.js.map +1 -1
- package/dist/services/diagnostics.d.ts.map +1 -1
- package/dist/services/diagnostics.js +9 -8
- package/dist/services/diagnostics.js.map +1 -1
- package/dist/services/instance-selection.d.ts.map +1 -1
- package/dist/services/instance-selection.js +2 -5
- package/dist/services/instance-selection.js.map +1 -1
- package/dist/services/url.d.ts +21 -0
- package/dist/services/url.d.ts.map +1 -0
- package/dist/services/url.js +61 -0
- package/dist/services/url.js.map +1 -0
- package/package.json +4 -3
- package/templates/demo-config/clients/presentation-test.json +1 -1
- package/templates/demo-config/clients/test.json +6 -2
- package/templates/demo-config/key-chains/attestation.json +2 -1
- package/templates/demo-config/key-chains/status-list.json +5 -4
- package/templates/docker-compose.yml +2 -2
- package/templates/schemas/ClientConfigFile.schema.json +134 -1
- package/templates/schemas/CreateClientDto.schema.json +5 -1
- package/templates/schemas/CreateFederationTrustAnchorDto.schema.json +82 -0
- package/templates/schemas/CreateRegistrarConfigDto.schema.json +29 -0
- package/templates/schemas/CreateTenantDto.schema.json +5 -1
- package/templates/schemas/FederationTrustAnchorConfigFile.schema.json +60 -0
- package/templates/schemas/ImportTenantDto.schema.json +12 -0
- package/templates/schemas/IssuanceConfig.schema.json +120 -2
- package/templates/schemas/IssuanceConfigFile.schema.json +1434 -1
- package/templates/schemas/KeyChainConfigFile.schema.json +505 -119
- package/templates/schemas/KeyChainCreateDto.schema.json +11 -1
- package/templates/schemas/KeyChainImportDto.schema.json +9 -0
- package/templates/schemas/KmsConfigDto.schema.json +186 -0
- package/templates/schemas/KmsConfigFile.schema.json +1026 -1
- package/templates/schemas/RegistrarConfigFile.schema.json +101 -1
- package/templates/schemas/RotationPolicyCreateDto.schema.json +1 -1
- package/templates/schemas/TenantConfigFile.schema.json +224 -68
- package/templates/schemas/UpdateClientDto.schema.json +5 -1
- package/templates/schemas/UpdateFederationTrustAnchorDto.schema.json +70 -0
- package/templates/schemas/UpdateStatusListConfigDto.schema.json +5 -5
- package/templates/schemas/UpdateTenantDto.schema.json +20 -0
- package/templates/schemas.manifest.json +3 -0
|
@@ -64,10 +64,19 @@
|
|
|
64
64
|
"attestation",
|
|
65
65
|
"trustList",
|
|
66
66
|
"statusList",
|
|
67
|
+
"federation",
|
|
67
68
|
"encrypt"
|
|
68
69
|
],
|
|
69
70
|
"description": "Key usage category for the imported key chain."
|
|
70
71
|
},
|
|
72
|
+
"type": {
|
|
73
|
+
"description": "Key chain type. `standalone`: `key` is the signing key and `crt` its chain, leaf first. `internalChain`: `key` is a CA key and the last `crt` entry its CA certificate (created if `crt` is omitted); the import generates a new signing key with a certificate issued by it. Without `type`, `key` is a CA key only if `rotationPolicy.enabled` is true and `crt` is not a single self-signed certificate that is not a CA.",
|
|
74
|
+
"type": "string",
|
|
75
|
+
"enum": [
|
|
76
|
+
"standalone",
|
|
77
|
+
"internalChain"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
71
80
|
"crt": {
|
|
72
81
|
"description": "Optional certificate chain values in PEM or base64 DER.",
|
|
73
82
|
"type": "array",
|
|
@@ -64,6 +64,37 @@
|
|
|
64
64
|
"pattern": "^\\$\\{([A-Z0-9_]+)\\}$"
|
|
65
65
|
}
|
|
66
66
|
]
|
|
67
|
+
},
|
|
68
|
+
"algorithms": {
|
|
69
|
+
"description": "Signing algorithms new key chains of this provider may use: ES256 (P-256), ES384 (P-384), ES512 (P-521). Defaults to all three for db, vault and aws-kms. For pkcs11, http and csc, whose backends may not support every curve, it defaults to defaultAlgorithm (ES256 unless set). Existing keys keep signing with their own algorithm.",
|
|
70
|
+
"examples": [
|
|
71
|
+
[
|
|
72
|
+
"ES256",
|
|
73
|
+
"ES384"
|
|
74
|
+
]
|
|
75
|
+
],
|
|
76
|
+
"minItems": 1,
|
|
77
|
+
"type": "array",
|
|
78
|
+
"items": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"enum": [
|
|
81
|
+
"ES256",
|
|
82
|
+
"ES384",
|
|
83
|
+
"ES512"
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"defaultAlgorithm": {
|
|
88
|
+
"description": "Algorithm used when a key chain is created without one. Must be in algorithms. Defaults to ES256 if allowed, otherwise the first entry of algorithms.",
|
|
89
|
+
"examples": [
|
|
90
|
+
"ES256"
|
|
91
|
+
],
|
|
92
|
+
"type": "string",
|
|
93
|
+
"enum": [
|
|
94
|
+
"ES256",
|
|
95
|
+
"ES384",
|
|
96
|
+
"ES512"
|
|
97
|
+
]
|
|
67
98
|
}
|
|
68
99
|
},
|
|
69
100
|
"required": [
|
|
@@ -115,6 +146,37 @@
|
|
|
115
146
|
}
|
|
116
147
|
]
|
|
117
148
|
},
|
|
149
|
+
"algorithms": {
|
|
150
|
+
"description": "Signing algorithms new key chains of this provider may use: ES256 (P-256), ES384 (P-384), ES512 (P-521). Defaults to all three for db, vault and aws-kms. For pkcs11, http and csc, whose backends may not support every curve, it defaults to defaultAlgorithm (ES256 unless set). Existing keys keep signing with their own algorithm.",
|
|
151
|
+
"examples": [
|
|
152
|
+
[
|
|
153
|
+
"ES256",
|
|
154
|
+
"ES384"
|
|
155
|
+
]
|
|
156
|
+
],
|
|
157
|
+
"minItems": 1,
|
|
158
|
+
"type": "array",
|
|
159
|
+
"items": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"enum": [
|
|
162
|
+
"ES256",
|
|
163
|
+
"ES384",
|
|
164
|
+
"ES512"
|
|
165
|
+
]
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"defaultAlgorithm": {
|
|
169
|
+
"description": "Algorithm used when a key chain is created without one. Must be in algorithms. Defaults to ES256 if allowed, otherwise the first entry of algorithms.",
|
|
170
|
+
"examples": [
|
|
171
|
+
"ES256"
|
|
172
|
+
],
|
|
173
|
+
"type": "string",
|
|
174
|
+
"enum": [
|
|
175
|
+
"ES256",
|
|
176
|
+
"ES384",
|
|
177
|
+
"ES512"
|
|
178
|
+
]
|
|
179
|
+
},
|
|
118
180
|
"vaultUrl": {
|
|
119
181
|
"anyOf": [
|
|
120
182
|
{
|
|
@@ -199,6 +261,37 @@
|
|
|
199
261
|
}
|
|
200
262
|
]
|
|
201
263
|
},
|
|
264
|
+
"algorithms": {
|
|
265
|
+
"description": "Signing algorithms new key chains of this provider may use: ES256 (P-256), ES384 (P-384), ES512 (P-521). Defaults to all three for db, vault and aws-kms. For pkcs11, http and csc, whose backends may not support every curve, it defaults to defaultAlgorithm (ES256 unless set). Existing keys keep signing with their own algorithm.",
|
|
266
|
+
"examples": [
|
|
267
|
+
[
|
|
268
|
+
"ES256",
|
|
269
|
+
"ES384"
|
|
270
|
+
]
|
|
271
|
+
],
|
|
272
|
+
"minItems": 1,
|
|
273
|
+
"type": "array",
|
|
274
|
+
"items": {
|
|
275
|
+
"type": "string",
|
|
276
|
+
"enum": [
|
|
277
|
+
"ES256",
|
|
278
|
+
"ES384",
|
|
279
|
+
"ES512"
|
|
280
|
+
]
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"defaultAlgorithm": {
|
|
284
|
+
"description": "Algorithm used when a key chain is created without one. Must be in algorithms. Defaults to ES256 if allowed, otherwise the first entry of algorithms.",
|
|
285
|
+
"examples": [
|
|
286
|
+
"ES256"
|
|
287
|
+
],
|
|
288
|
+
"type": "string",
|
|
289
|
+
"enum": [
|
|
290
|
+
"ES256",
|
|
291
|
+
"ES384",
|
|
292
|
+
"ES512"
|
|
293
|
+
]
|
|
294
|
+
},
|
|
202
295
|
"region": {
|
|
203
296
|
"anyOf": [
|
|
204
297
|
{
|
|
@@ -298,6 +391,37 @@
|
|
|
298
391
|
}
|
|
299
392
|
]
|
|
300
393
|
},
|
|
394
|
+
"algorithms": {
|
|
395
|
+
"description": "Signing algorithms new key chains of this provider may use: ES256 (P-256), ES384 (P-384), ES512 (P-521). Defaults to all three for db, vault and aws-kms. For pkcs11, http and csc, whose backends may not support every curve, it defaults to defaultAlgorithm (ES256 unless set). Existing keys keep signing with their own algorithm.",
|
|
396
|
+
"examples": [
|
|
397
|
+
[
|
|
398
|
+
"ES256",
|
|
399
|
+
"ES384"
|
|
400
|
+
]
|
|
401
|
+
],
|
|
402
|
+
"minItems": 1,
|
|
403
|
+
"type": "array",
|
|
404
|
+
"items": {
|
|
405
|
+
"type": "string",
|
|
406
|
+
"enum": [
|
|
407
|
+
"ES256",
|
|
408
|
+
"ES384",
|
|
409
|
+
"ES512"
|
|
410
|
+
]
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"defaultAlgorithm": {
|
|
414
|
+
"description": "Algorithm used when a key chain is created without one. Must be in algorithms. Defaults to ES256 if allowed, otherwise the first entry of algorithms.",
|
|
415
|
+
"examples": [
|
|
416
|
+
"ES256"
|
|
417
|
+
],
|
|
418
|
+
"type": "string",
|
|
419
|
+
"enum": [
|
|
420
|
+
"ES256",
|
|
421
|
+
"ES384",
|
|
422
|
+
"ES512"
|
|
423
|
+
]
|
|
424
|
+
},
|
|
301
425
|
"library": {
|
|
302
426
|
"anyOf": [
|
|
303
427
|
{
|
|
@@ -400,6 +524,37 @@
|
|
|
400
524
|
}
|
|
401
525
|
]
|
|
402
526
|
},
|
|
527
|
+
"algorithms": {
|
|
528
|
+
"description": "Signing algorithms new key chains of this provider may use: ES256 (P-256), ES384 (P-384), ES512 (P-521). Defaults to all three for db, vault and aws-kms. For pkcs11, http and csc, whose backends may not support every curve, it defaults to defaultAlgorithm (ES256 unless set). Existing keys keep signing with their own algorithm.",
|
|
529
|
+
"examples": [
|
|
530
|
+
[
|
|
531
|
+
"ES256",
|
|
532
|
+
"ES384"
|
|
533
|
+
]
|
|
534
|
+
],
|
|
535
|
+
"minItems": 1,
|
|
536
|
+
"type": "array",
|
|
537
|
+
"items": {
|
|
538
|
+
"type": "string",
|
|
539
|
+
"enum": [
|
|
540
|
+
"ES256",
|
|
541
|
+
"ES384",
|
|
542
|
+
"ES512"
|
|
543
|
+
]
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
"defaultAlgorithm": {
|
|
547
|
+
"description": "Algorithm used when a key chain is created without one. Must be in algorithms. Defaults to ES256 if allowed, otherwise the first entry of algorithms.",
|
|
548
|
+
"examples": [
|
|
549
|
+
"ES256"
|
|
550
|
+
],
|
|
551
|
+
"type": "string",
|
|
552
|
+
"enum": [
|
|
553
|
+
"ES256",
|
|
554
|
+
"ES384",
|
|
555
|
+
"ES512"
|
|
556
|
+
]
|
|
557
|
+
},
|
|
403
558
|
"baseUrl": {
|
|
404
559
|
"anyOf": [
|
|
405
560
|
{
|
|
@@ -713,6 +868,37 @@
|
|
|
713
868
|
}
|
|
714
869
|
]
|
|
715
870
|
},
|
|
871
|
+
"algorithms": {
|
|
872
|
+
"description": "Signing algorithms new key chains of this provider may use: ES256 (P-256), ES384 (P-384), ES512 (P-521). Defaults to all three for db, vault and aws-kms. For pkcs11, http and csc, whose backends may not support every curve, it defaults to defaultAlgorithm (ES256 unless set). Existing keys keep signing with their own algorithm.",
|
|
873
|
+
"examples": [
|
|
874
|
+
[
|
|
875
|
+
"ES256",
|
|
876
|
+
"ES384"
|
|
877
|
+
]
|
|
878
|
+
],
|
|
879
|
+
"minItems": 1,
|
|
880
|
+
"type": "array",
|
|
881
|
+
"items": {
|
|
882
|
+
"type": "string",
|
|
883
|
+
"enum": [
|
|
884
|
+
"ES256",
|
|
885
|
+
"ES384",
|
|
886
|
+
"ES512"
|
|
887
|
+
]
|
|
888
|
+
}
|
|
889
|
+
},
|
|
890
|
+
"defaultAlgorithm": {
|
|
891
|
+
"description": "Algorithm used when a key chain is created without one. Must be in algorithms. Defaults to ES256 if allowed, otherwise the first entry of algorithms.",
|
|
892
|
+
"examples": [
|
|
893
|
+
"ES256"
|
|
894
|
+
],
|
|
895
|
+
"type": "string",
|
|
896
|
+
"enum": [
|
|
897
|
+
"ES256",
|
|
898
|
+
"ES384",
|
|
899
|
+
"ES512"
|
|
900
|
+
]
|
|
901
|
+
},
|
|
716
902
|
"baseUrl": {
|
|
717
903
|
"anyOf": [
|
|
718
904
|
{
|