@eudiplo/cli 9.1.0-main.c6ae22c → 9.1.0-main.cd87b41
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 +3 -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/validate/registry.json +21 -0
- package/dist/index.js +14084 -4437
- 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/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 +77 -2
- package/templates/schemas/IssuanceConfigFile.schema.json +739 -1
- package/templates/schemas/KeyChainConfigFile.schema.json +370 -1
- package/templates/schemas/KeyChainCreateDto.schema.json +1 -0
- package/templates/schemas/KeyChainDefaultsConfigFile.schema.json +65 -0
- package/templates/schemas/KeyChainImportDto.schema.json +1 -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
|
+
}
|
|
@@ -528,8 +528,9 @@
|
|
|
528
528
|
]
|
|
529
529
|
},
|
|
530
530
|
"entityId": {
|
|
531
|
-
"description": "
|
|
532
|
-
"type": "string"
|
|
531
|
+
"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.",
|
|
532
|
+
"type": "string",
|
|
533
|
+
"pattern": "^(https?:\\/\\/[^\\s?#]+)?$"
|
|
533
534
|
},
|
|
534
535
|
"enforceSigningPolicy": {
|
|
535
536
|
"description": "Enforce strict signing policy checks.",
|
|
@@ -564,6 +565,80 @@
|
|
|
564
565
|
"additionalProperties": false
|
|
565
566
|
},
|
|
566
567
|
"description": "Federation trust anchors."
|
|
568
|
+
},
|
|
569
|
+
"entityTypes": {
|
|
570
|
+
"description": "Roles the entity configuration publishes metadata for. Defaults to openid_credential_issuer.",
|
|
571
|
+
"minItems": 1,
|
|
572
|
+
"type": "array",
|
|
573
|
+
"items": {
|
|
574
|
+
"type": "string",
|
|
575
|
+
"enum": [
|
|
576
|
+
"openid_credential_issuer",
|
|
577
|
+
"openid_credential_verifier"
|
|
578
|
+
]
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
"authorityHints": {
|
|
582
|
+
"description": "authority_hints of the entity configuration: the superiors that issue a subordinate statement about this entity. Defaults to the trust anchor entity ids.",
|
|
583
|
+
"type": "array",
|
|
584
|
+
"items": {
|
|
585
|
+
"type": "string",
|
|
586
|
+
"format": "uri"
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
"entityKeyChainId": {
|
|
590
|
+
"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.",
|
|
591
|
+
"type": "string",
|
|
592
|
+
"minLength": 1
|
|
593
|
+
},
|
|
594
|
+
"entityConfigurationLifetimeSeconds": {
|
|
595
|
+
"description": "Lifetime (exp - iat) of the entity configuration in seconds. Defaults to 86400.",
|
|
596
|
+
"type": "integer",
|
|
597
|
+
"minimum": 60,
|
|
598
|
+
"maximum": 31536000
|
|
599
|
+
},
|
|
600
|
+
"trustMarks": {
|
|
601
|
+
"description": "Trust mark JWTs issued to this entity, published in the entity configuration.",
|
|
602
|
+
"type": "array",
|
|
603
|
+
"items": {
|
|
604
|
+
"type": "string",
|
|
605
|
+
"minLength": 1
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
"entityMetadata": {
|
|
609
|
+
"description": "Informational federation_entity metadata of the entity configuration.",
|
|
610
|
+
"type": "object",
|
|
611
|
+
"properties": {
|
|
612
|
+
"organization_name": {
|
|
613
|
+
"type": "string",
|
|
614
|
+
"minLength": 1
|
|
615
|
+
},
|
|
616
|
+
"contacts": {
|
|
617
|
+
"minItems": 1,
|
|
618
|
+
"type": "array",
|
|
619
|
+
"items": {
|
|
620
|
+
"type": "string",
|
|
621
|
+
"minLength": 1
|
|
622
|
+
}
|
|
623
|
+
},
|
|
624
|
+
"logo_uri": {
|
|
625
|
+
"type": "string",
|
|
626
|
+
"format": "uri"
|
|
627
|
+
},
|
|
628
|
+
"policy_uri": {
|
|
629
|
+
"type": "string",
|
|
630
|
+
"format": "uri"
|
|
631
|
+
},
|
|
632
|
+
"homepage_uri": {
|
|
633
|
+
"type": "string",
|
|
634
|
+
"format": "uri"
|
|
635
|
+
}
|
|
636
|
+
},
|
|
637
|
+
"additionalProperties": false
|
|
638
|
+
},
|
|
639
|
+
"includeTrustChain": {
|
|
640
|
+
"description": "Add the trust chain of this entity as trust_chain header to federation SD-JWT VCs and OID4VP request objects.",
|
|
641
|
+
"type": "boolean"
|
|
567
642
|
}
|
|
568
643
|
},
|
|
569
644
|
"required": [
|