@eudiplo/cli 9.1.0 → 10.0.0-main.3374f3e
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/index.d.ts.map +1 -1
- package/dist/commands/config/index.js +1 -1
- package/dist/commands/config/index.js.map +1 -1
- package/dist/commands/config/portability/action.d.ts.map +1 -1
- package/dist/commands/config/portability/action.js +206 -13
- package/dist/commands/config/portability/action.js.map +1 -1
- package/dist/commands/config/portability/folder-bundle.d.ts +60 -0
- package/dist/commands/config/portability/folder-bundle.d.ts.map +1 -0
- package/dist/commands/config/portability/folder-bundle.js +270 -0
- package/dist/commands/config/portability/folder-bundle.js.map +1 -0
- package/dist/commands/config/portability/folder-export.d.ts +22 -0
- package/dist/commands/config/portability/folder-export.d.ts.map +1 -0
- package/dist/commands/config/portability/folder-export.js +146 -0
- package/dist/commands/config/portability/folder-export.js.map +1 -0
- package/dist/commands/config/portability/index.d.ts.map +1 -1
- package/dist/commands/config/portability/index.js +8 -4
- package/dist/commands/config/portability/index.js.map +1 -1
- package/dist/commands/config/portability/migrations.spec.js +6 -2
- package/dist/commands/config/portability/migrations.spec.js.map +1 -1
- package/dist/commands/config/portability/upgrade.d.ts +2 -0
- package/dist/commands/config/portability/upgrade.d.ts.map +1 -1
- package/dist/commands/config/portability/upgrade.js +51 -18
- 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 +3 -2
- package/dist/commands/config/tenant/action.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.d.ts +3 -0
- package/dist/commands/config/validate/registry.d.ts.map +1 -1
- package/dist/commands/config/validate/registry.js +5 -0
- package/dist/commands/config/validate/registry.js.map +1 -1
- package/dist/commands/config/validate/registry.json +15 -5
- package/dist/commands/config/validate/report.d.ts +4 -0
- package/dist/commands/config/validate/report.d.ts.map +1 -1
- package/dist/commands/config/validate/report.js +7 -0
- package/dist/commands/config/validate/report.js.map +1 -1
- package/dist/commands/config/validate/types.d.ts +6 -0
- package/dist/commands/config/validate/types.d.ts.map +1 -1
- package/dist/commands/config/validate/validator.d.ts +10 -1
- package/dist/commands/config/validate/validator.d.ts.map +1 -1
- package/dist/commands/config/validate/validator.js +52 -18
- package/dist/commands/config/validate/validator.js.map +1 -1
- 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/commands/version/action.d.ts.map +1 -1
- package/dist/commands/version/action.js.map +1 -1
- package/dist/index.js +28247 -6898
- package/dist/runtime.js +1 -1
- package/dist/runtime.js.map +1 -1
- 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 +218 -30
- package/dist/services/cli-config.js.map +1 -1
- package/dist/services/compose-project.d.ts +6 -0
- package/dist/services/compose-project.d.ts.map +1 -1
- package/dist/services/compose-project.js +13 -2
- package/dist/services/compose-project.js.map +1 -1
- package/dist/services/deployment-drivers.d.ts.map +1 -1
- package/dist/services/deployment-drivers.js +3 -3
- package/dist/services/deployment-drivers.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 +7 -6
- package/templates/demo-config/clients/presentation-test.json +1 -1
- package/templates/demo-config/clients/test.json +7 -2
- package/templates/demo-config/info.json +1 -1
- package/templates/demo-config/issuance/credentials/citizen.json +1 -1
- package/templates/demo-config/issuance/credentials/pid-key.json +1 -1
- package/templates/demo-config/issuance/credentials/pid-mdoc.json +4 -10
- package/templates/demo-config/issuance/credentials/pid.json +1 -1
- package/templates/demo-config/issuance/issuance.json +1 -1
- package/templates/demo-config/key-chains/access.json +1 -1
- package/templates/demo-config/key-chains/attestation.json +3 -2
- package/templates/demo-config/key-chains/status-list.json +6 -5
- package/templates/demo-config/key-chains/trust-list.json +1 -1
- package/templates/demo-config/presentation/age-over-18.json +11 -1
- package/templates/demo-config/presentation/pid.json +2 -2
- package/templates/demo-config/trust-lists/trustlist-580831bc-ef11-43f4-a3be-a2b6bf1b29a3-config.json +4 -2
- 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/CreateTenantDto.schema.json +8 -4
- package/templates/schemas/CredentialConfigCreate.schema.json +264 -19
- package/templates/schemas/CredentialConfigFile.schema.json +3650 -1
- package/templates/schemas/DCQL.schema.json +168 -52
- package/templates/schemas/{RegistrarConfigFile.schema.json → FederationTrustAnchorConfigFile.schema.json} +20 -4
- package/templates/schemas/IssuanceConfig.schema.json +125 -20
- package/templates/schemas/IssuanceConfigFile.schema.json +3064 -1
- package/templates/schemas/KeyChainConfigFile.schema.json +875 -119
- package/templates/schemas/KeyChainCreateDto.schema.json +12 -1
- package/templates/schemas/KeyChainDefaultsConfigFile.schema.json +123 -0
- package/templates/schemas/KeyChainImportDto.schema.json +10 -0
- package/templates/schemas/KmsConfigDto.schema.json +186 -0
- package/templates/schemas/KmsConfigFile.schema.json +1026 -1
- package/templates/schemas/PresentationConfigCreateDto.schema.json +214 -163
- package/templates/schemas/PresentationConfigFile.schema.json +1623 -1
- package/templates/schemas/RotationPolicyCreateDto.schema.json +1 -1
- package/templates/schemas/TenantConfigFile.schema.json +334 -64
- package/templates/schemas/TrustListConfigFile.schema.json +263 -1
- package/templates/schemas/TrustListCreateDto.schema.json +556 -22
- 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.manifest.json +4 -2
- package/templates/schemas/CreateRegistrarConfigDto.schema.json +0 -61
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"entityId": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"minLength": 1,
|
|
8
|
+
"maxLength": 2048,
|
|
9
|
+
"description": "Entity identifier of the trust anchor, exactly as configured in `federation.trustAnchors` and DCQL `openid_federation` values."
|
|
10
|
+
},
|
|
11
|
+
"description": {
|
|
12
|
+
"anyOf": [
|
|
13
|
+
{
|
|
14
|
+
"type": "string",
|
|
15
|
+
"minLength": 1,
|
|
16
|
+
"maxLength": 1000
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"type": "null"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"description": "Optional description of the trust anchor."
|
|
23
|
+
},
|
|
24
|
+
"jwks": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"properties": {
|
|
27
|
+
"keys": {
|
|
28
|
+
"minItems": 1,
|
|
29
|
+
"maxItems": 20,
|
|
30
|
+
"type": "array",
|
|
31
|
+
"items": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"properties": {
|
|
34
|
+
"kty": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"enum": [
|
|
37
|
+
"EC",
|
|
38
|
+
"RSA",
|
|
39
|
+
"OKP"
|
|
40
|
+
],
|
|
41
|
+
"description": "Key type of the public federation key."
|
|
42
|
+
},
|
|
43
|
+
"kid": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"minLength": 1,
|
|
46
|
+
"maxLength": 256,
|
|
47
|
+
"description": "Key ID. Federation statements name their signing key with `kid`."
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"required": [
|
|
51
|
+
"kty",
|
|
52
|
+
"kid"
|
|
53
|
+
],
|
|
54
|
+
"additionalProperties": {},
|
|
55
|
+
"description": "Public federation key of the trust anchor as a JWK."
|
|
56
|
+
},
|
|
57
|
+
"description": "The trust anchor's federation keys."
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"required": [
|
|
61
|
+
"keys"
|
|
62
|
+
],
|
|
63
|
+
"additionalProperties": false,
|
|
64
|
+
"description": "JWK set with the federation keys of the trust anchor, obtained out of band (OpenID Federation 1.0 Section 10.2)."
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"additionalProperties": false,
|
|
68
|
+
"$id": "./UpdateFederationTrustAnchorDto.schema.json",
|
|
69
|
+
"title": "UpdateFederationTrustAnchorDto"
|
|
70
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"type": "object",
|
|
4
4
|
"properties": {
|
|
5
5
|
"capacity": {
|
|
6
|
-
"description": "Capacity override.
|
|
6
|
+
"description": "Capacity override. Omit or set null to follow STATUS_CAPACITY.",
|
|
7
7
|
"anyOf": [
|
|
8
8
|
{
|
|
9
9
|
"type": "integer",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
]
|
|
17
17
|
},
|
|
18
18
|
"bits": {
|
|
19
|
-
"description": "Bits-per-status override.
|
|
19
|
+
"description": "Bits-per-status override. Omit or set null to follow STATUS_BITS.",
|
|
20
20
|
"anyOf": [
|
|
21
21
|
{
|
|
22
22
|
"anyOf": [
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
]
|
|
45
45
|
},
|
|
46
46
|
"ttl": {
|
|
47
|
-
"description": "JWT TTL override in seconds.
|
|
47
|
+
"description": "JWT TTL override in seconds. Omit or set null to follow STATUS_TTL.",
|
|
48
48
|
"anyOf": [
|
|
49
49
|
{
|
|
50
50
|
"type": "integer",
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
]
|
|
58
58
|
},
|
|
59
59
|
"immediateUpdate": {
|
|
60
|
-
"description": "Immediate regeneration toggle.
|
|
60
|
+
"description": "Immediate regeneration toggle. Omit or set null to follow STATUS_IMMEDIATE_UPDATE.",
|
|
61
61
|
"type": [
|
|
62
62
|
"boolean",
|
|
63
63
|
"null"
|
|
64
64
|
]
|
|
65
65
|
},
|
|
66
66
|
"enableAggregation": {
|
|
67
|
-
"description": "Aggregation URI toggle.
|
|
67
|
+
"description": "Aggregation URI toggle. Omit or set null to follow STATUS_ENABLE_AGGREGATION.",
|
|
68
68
|
"type": [
|
|
69
69
|
"boolean",
|
|
70
70
|
"null"
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"ConfigDocumentMetadata.schema.json",
|
|
7
7
|
"CreateAttributeProviderDto.schema.json",
|
|
8
8
|
"CreateClientDto.schema.json",
|
|
9
|
-
"
|
|
9
|
+
"CreateFederationTrustAnchorDto.schema.json",
|
|
10
10
|
"CreateStatusListDto.schema.json",
|
|
11
11
|
"CreateTenantDto.schema.json",
|
|
12
12
|
"CreateWebhookEndpointDto.schema.json",
|
|
@@ -14,18 +14,19 @@
|
|
|
14
14
|
"CredentialConfigFile.schema.json",
|
|
15
15
|
"DCQL.schema.json",
|
|
16
16
|
"EmbeddedDisclosurePolicy.schema.json",
|
|
17
|
+
"FederationTrustAnchorConfigFile.schema.json",
|
|
17
18
|
"ImportTenantDto.schema.json",
|
|
18
19
|
"IssuanceConfig.schema.json",
|
|
19
20
|
"IssuanceConfigFile.schema.json",
|
|
20
21
|
"KeyChainConfigFile.schema.json",
|
|
21
22
|
"KeyChainCreateDto.schema.json",
|
|
23
|
+
"KeyChainDefaultsConfigFile.schema.json",
|
|
22
24
|
"KeyChainImportDto.schema.json",
|
|
23
25
|
"KeyChainUpdateDto.schema.json",
|
|
24
26
|
"KmsConfigDto.schema.json",
|
|
25
27
|
"KmsConfigFile.schema.json",
|
|
26
28
|
"PresentationConfigCreateDto.schema.json",
|
|
27
29
|
"PresentationConfigFile.schema.json",
|
|
28
|
-
"RegistrarConfigFile.schema.json",
|
|
29
30
|
"RotationPolicyCreateDto.schema.json",
|
|
30
31
|
"RotationPolicyUpdateDto.schema.json",
|
|
31
32
|
"SessionStorageConfig.schema.json",
|
|
@@ -38,6 +39,7 @@
|
|
|
38
39
|
"TrustListCreateDto.schema.json",
|
|
39
40
|
"UpdateAttributeProviderDto.schema.json",
|
|
40
41
|
"UpdateClientDto.schema.json",
|
|
42
|
+
"UpdateFederationTrustAnchorDto.schema.json",
|
|
41
43
|
"UpdateStatusListConfigDto.schema.json",
|
|
42
44
|
"UpdateStatusListDto.schema.json",
|
|
43
45
|
"UpdateTenantDto.schema.json",
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"properties": {
|
|
5
|
-
"registrarUrl": {
|
|
6
|
-
"type": "string",
|
|
7
|
-
"format": "uri",
|
|
8
|
-
"description": "Base URL of the registrar service."
|
|
9
|
-
},
|
|
10
|
-
"oidcUrl": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"format": "uri",
|
|
13
|
-
"description": "OIDC discovery or issuer URL used for authentication."
|
|
14
|
-
},
|
|
15
|
-
"clientId": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"minLength": 1,
|
|
18
|
-
"description": "OAuth client ID used against the registrar."
|
|
19
|
-
},
|
|
20
|
-
"clientSecret": {
|
|
21
|
-
"description": "Optional OAuth client secret for registrar authentication.",
|
|
22
|
-
"type": "string",
|
|
23
|
-
"minLength": 1
|
|
24
|
-
},
|
|
25
|
-
"username": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"minLength": 1,
|
|
28
|
-
"description": "Username used for registrar authentication."
|
|
29
|
-
},
|
|
30
|
-
"password": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"minLength": 1,
|
|
33
|
-
"description": "Password used for registrar authentication."
|
|
34
|
-
},
|
|
35
|
-
"registrationCertificateDefaults": {
|
|
36
|
-
"description": "Optional default registration certificate values.",
|
|
37
|
-
"anyOf": [
|
|
38
|
-
{
|
|
39
|
-
"type": "object",
|
|
40
|
-
"propertyNames": {
|
|
41
|
-
"type": "string"
|
|
42
|
-
},
|
|
43
|
-
"additionalProperties": {}
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"type": "null"
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"required": [
|
|
52
|
-
"registrarUrl",
|
|
53
|
-
"oidcUrl",
|
|
54
|
-
"clientId",
|
|
55
|
-
"username",
|
|
56
|
-
"password"
|
|
57
|
-
],
|
|
58
|
-
"additionalProperties": false,
|
|
59
|
-
"$id": "./CreateRegistrarConfigDto.schema.json",
|
|
60
|
-
"title": "CreateRegistrarConfigDto"
|
|
61
|
-
}
|