@eudiplo/cli 9.1.0-main.c6ae22c → 9.1.0-main.d547bae
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/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 +2 -7
- package/dist/commands/config/portability/upgrade.js.map +1 -1
- package/dist/commands/config/tenant/action.d.ts.map +1 -1
- package/dist/commands/config/tenant/action.js +2 -1
- package/dist/commands/config/tenant/action.js.map +1 -1
- package/dist/commands/config/validate/registry.json +21 -0
- package/dist/index.js +18162 -7229
- package/package.json +4 -4
- package/templates/demo-config/key-chains/status-list.json +3 -3
- package/templates/schemas/CreateFederationTrustAnchorDto.schema.json +82 -0
- package/templates/schemas/CreateTenantDto.schema.json +2 -2
- package/templates/schemas/CredentialConfigCreate.schema.json +236 -6
- package/templates/schemas/CredentialConfigFile.schema.json +797 -1
- package/templates/schemas/FederationTrustAnchorConfigFile.schema.json +60 -0
- package/templates/schemas/IssuanceConfig.schema.json +80 -10
- package/templates/schemas/IssuanceConfigFile.schema.json +1552 -1
- package/templates/schemas/KeyChainConfigFile.schema.json +740 -1
- package/templates/schemas/KeyChainCreateDto.schema.json +2 -0
- package/templates/schemas/KeyChainDefaultsConfigFile.schema.json +123 -0
- package/templates/schemas/KeyChainImportDto.schema.json +2 -0
- package/templates/schemas/TenantConfigFile.schema.json +395 -0
- package/templates/schemas/UpdateFederationTrustAnchorDto.schema.json +70 -0
- package/templates/schemas.manifest.json +4 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "./FederationTrustAnchorConfigFile.schema.json",
|
|
4
|
+
"title": "FederationTrustAnchorConfigFile",
|
|
5
|
+
"description": "Configuration file identified by its $schema URL.",
|
|
6
|
+
"oneOf": [
|
|
7
|
+
{
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"$schema": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"const": "https://eudiplo.dev/schemas/v1/FederationTrustAnchorConfigFile.schema.json"
|
|
13
|
+
},
|
|
14
|
+
"metadata": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"generation": {
|
|
18
|
+
"type": "integer",
|
|
19
|
+
"minimum": 1,
|
|
20
|
+
"description": "Monotonically increasing configuration generation."
|
|
21
|
+
},
|
|
22
|
+
"ownership": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"enum": [
|
|
25
|
+
"unmanaged",
|
|
26
|
+
"file-managed"
|
|
27
|
+
],
|
|
28
|
+
"description": "Requested ownership recorded when the document is applied."
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"additionalProperties": false
|
|
32
|
+
},
|
|
33
|
+
"spec": {
|
|
34
|
+
"allOf": [
|
|
35
|
+
{
|
|
36
|
+
"$ref": "./CreateFederationTrustAnchorDto.schema.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"type": "object",
|
|
40
|
+
"required": [
|
|
41
|
+
"id"
|
|
42
|
+
],
|
|
43
|
+
"properties": {
|
|
44
|
+
"id": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"minLength": 1
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"required": [
|
|
54
|
+
"$schema",
|
|
55
|
+
"spec"
|
|
56
|
+
],
|
|
57
|
+
"additionalProperties": false
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
@@ -68,11 +68,6 @@
|
|
|
68
68
|
}
|
|
69
69
|
]
|
|
70
70
|
},
|
|
71
|
-
"signingKeyId": {
|
|
72
|
-
"description": "Default signing key chain id for credential issuance.",
|
|
73
|
-
"type": "string",
|
|
74
|
-
"minLength": 1
|
|
75
|
-
},
|
|
76
71
|
"authorizationServers": {
|
|
77
72
|
"minItems": 1,
|
|
78
73
|
"type": "array",
|
|
@@ -165,7 +160,7 @@
|
|
|
165
160
|
"minimum": 60
|
|
166
161
|
},
|
|
167
162
|
"signingKeyId": {
|
|
168
|
-
"description": "
|
|
163
|
+
"description": "ID of a key chain with usage type \"accessToken\" that signs the issued access tokens. Without it, the tenant's access token key chain signs them.",
|
|
169
164
|
"type": "string",
|
|
170
165
|
"minLength": 1
|
|
171
166
|
},
|
|
@@ -307,7 +302,7 @@
|
|
|
307
302
|
"minimum": 60
|
|
308
303
|
},
|
|
309
304
|
"signingKeyId": {
|
|
310
|
-
"description": "
|
|
305
|
+
"description": "ID of a key chain with usage type \"accessToken\" that signs the issued access tokens. Without it, the tenant's access token key chain signs them.",
|
|
311
306
|
"type": "string",
|
|
312
307
|
"minLength": 1
|
|
313
308
|
},
|
|
@@ -415,7 +410,7 @@
|
|
|
415
410
|
"minimum": 60
|
|
416
411
|
},
|
|
417
412
|
"signingKeyId": {
|
|
418
|
-
"description": "
|
|
413
|
+
"description": "ID of a key chain with usage type \"accessToken\" that signs the issued access tokens. Without it, the tenant's access token key chain signs them.",
|
|
419
414
|
"type": "string",
|
|
420
415
|
"minLength": 1
|
|
421
416
|
},
|
|
@@ -528,8 +523,9 @@
|
|
|
528
523
|
]
|
|
529
524
|
},
|
|
530
525
|
"entityId": {
|
|
531
|
-
"description": "
|
|
532
|
-
"type": "string"
|
|
526
|
+
"description": "Entity Identifier of the tenant's federation entity, usually {PUBLIC_URL}/issuers/{tenantId}: an https URL with a host and without query or fragment (OpenID Federation 1.0 Section 1.2). http is accepted only when OUTBOUND_URL_ALLOW_HTTP is true.",
|
|
527
|
+
"type": "string",
|
|
528
|
+
"pattern": "^(https?:\\/\\/[^\\s?#]+)?$"
|
|
533
529
|
},
|
|
534
530
|
"enforceSigningPolicy": {
|
|
535
531
|
"description": "Enforce strict signing policy checks.",
|
|
@@ -564,6 +560,80 @@
|
|
|
564
560
|
"additionalProperties": false
|
|
565
561
|
},
|
|
566
562
|
"description": "Federation trust anchors."
|
|
563
|
+
},
|
|
564
|
+
"entityTypes": {
|
|
565
|
+
"description": "Roles the entity configuration publishes metadata for. Defaults to openid_credential_issuer.",
|
|
566
|
+
"minItems": 1,
|
|
567
|
+
"type": "array",
|
|
568
|
+
"items": {
|
|
569
|
+
"type": "string",
|
|
570
|
+
"enum": [
|
|
571
|
+
"openid_credential_issuer",
|
|
572
|
+
"openid_credential_verifier"
|
|
573
|
+
]
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
"authorityHints": {
|
|
577
|
+
"description": "authority_hints of the entity configuration: the superiors that issue a subordinate statement about this entity. Defaults to the trust anchor entity ids.",
|
|
578
|
+
"type": "array",
|
|
579
|
+
"items": {
|
|
580
|
+
"type": "string",
|
|
581
|
+
"format": "uri"
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
"entityKeyChainId": {
|
|
585
|
+
"description": "Key chain with usage type 'federation' that signs the entity configuration. Without it, a federation key chain of the tenant is used; set it when the tenant has several.",
|
|
586
|
+
"type": "string",
|
|
587
|
+
"minLength": 1
|
|
588
|
+
},
|
|
589
|
+
"entityConfigurationLifetimeSeconds": {
|
|
590
|
+
"description": "Lifetime (exp - iat) of the entity configuration in seconds. Defaults to 86400.",
|
|
591
|
+
"type": "integer",
|
|
592
|
+
"minimum": 60,
|
|
593
|
+
"maximum": 31536000
|
|
594
|
+
},
|
|
595
|
+
"trustMarks": {
|
|
596
|
+
"description": "Trust mark JWTs issued to this entity, published in the entity configuration.",
|
|
597
|
+
"type": "array",
|
|
598
|
+
"items": {
|
|
599
|
+
"type": "string",
|
|
600
|
+
"minLength": 1
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
"entityMetadata": {
|
|
604
|
+
"description": "Informational federation_entity metadata of the entity configuration.",
|
|
605
|
+
"type": "object",
|
|
606
|
+
"properties": {
|
|
607
|
+
"organization_name": {
|
|
608
|
+
"type": "string",
|
|
609
|
+
"minLength": 1
|
|
610
|
+
},
|
|
611
|
+
"contacts": {
|
|
612
|
+
"minItems": 1,
|
|
613
|
+
"type": "array",
|
|
614
|
+
"items": {
|
|
615
|
+
"type": "string",
|
|
616
|
+
"minLength": 1
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
"logo_uri": {
|
|
620
|
+
"type": "string",
|
|
621
|
+
"format": "uri"
|
|
622
|
+
},
|
|
623
|
+
"policy_uri": {
|
|
624
|
+
"type": "string",
|
|
625
|
+
"format": "uri"
|
|
626
|
+
},
|
|
627
|
+
"homepage_uri": {
|
|
628
|
+
"type": "string",
|
|
629
|
+
"format": "uri"
|
|
630
|
+
}
|
|
631
|
+
},
|
|
632
|
+
"additionalProperties": false
|
|
633
|
+
},
|
|
634
|
+
"includeTrustChain": {
|
|
635
|
+
"description": "Add the trust chain of this entity as trust_chain header to federation SD-JWT VCs and OID4VP request objects.",
|
|
636
|
+
"type": "boolean"
|
|
567
637
|
}
|
|
568
638
|
},
|
|
569
639
|
"required": [
|