@eudiplo/cli 9.1.0-main.b91e24e → 9.1.0-main.d81c0f4
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
- package/templates/schemas/UpdateStatusListConfigDto.schema.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diagnostics.js","sourceRoot":"","sources":["../../src/services/diagnostics.ts"],"names":[],"mappings":"AAMA,OAAO,WAAW,MAAM,oBAAoB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACnE,OAAO,EACH,kBAAkB,EAClB,kBAAkB,EAElB,iBAAiB,GACpB,MAAM,eAAe,CAAC;AACvB,OAAO,EACH,eAAe,EACf,kBAAkB,EAClB,kBAAkB,EAClB,uBAAuB,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEH,mBAAmB,EACnB,mBAAmB,GACtB,MAAM,iBAAiB,CAAC;AAoCzB,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
|
3
3
|
"metadata": {
|
|
4
4
|
"generation": 1
|
|
5
5
|
},
|
|
@@ -12,7 +12,12 @@
|
|
|
12
12
|
"issuance:offer",
|
|
13
13
|
"issuance:manage",
|
|
14
14
|
"presentation:request",
|
|
15
|
-
"presentation:manage"
|
|
15
|
+
"presentation:manage",
|
|
16
|
+
"registrar:manage",
|
|
17
|
+
"sessions:read",
|
|
18
|
+
"credentials:status",
|
|
19
|
+
"audit:read",
|
|
20
|
+
"keys:manage"
|
|
16
21
|
]
|
|
17
22
|
}
|
|
18
23
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"properties": {
|
|
10
10
|
"$schema": {
|
|
11
11
|
"type": "string",
|
|
12
|
-
"const": "https://eudiplo.dev/schemas/
|
|
12
|
+
"const": "https://eudiplo.dev/schemas/v2/ClientConfigFile.schema.json"
|
|
13
13
|
},
|
|
14
14
|
"metadata": {
|
|
15
15
|
"type": "object",
|
|
@@ -55,6 +55,139 @@
|
|
|
55
55
|
"spec"
|
|
56
56
|
],
|
|
57
57
|
"additionalProperties": false
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
61
|
+
"$id": "https://eudiplo.dev/schemas/v1/ClientConfigFile.schema.json",
|
|
62
|
+
"title": "ClientConfigFile",
|
|
63
|
+
"type": "object",
|
|
64
|
+
"properties": {
|
|
65
|
+
"$schema": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"const": "https://eudiplo.dev/schemas/v1/ClientConfigFile.schema.json"
|
|
68
|
+
},
|
|
69
|
+
"metadata": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"properties": {
|
|
72
|
+
"generation": {
|
|
73
|
+
"type": "integer",
|
|
74
|
+
"minimum": 1,
|
|
75
|
+
"description": "Monotonically increasing configuration generation."
|
|
76
|
+
},
|
|
77
|
+
"ownership": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"enum": [
|
|
80
|
+
"unmanaged",
|
|
81
|
+
"file-managed"
|
|
82
|
+
],
|
|
83
|
+
"description": "Requested ownership recorded when the document is applied."
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"additionalProperties": false
|
|
87
|
+
},
|
|
88
|
+
"spec": {
|
|
89
|
+
"allOf": [
|
|
90
|
+
{
|
|
91
|
+
"$ref": "#/$defs/CreateClientDto"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"type": "object",
|
|
95
|
+
"required": [
|
|
96
|
+
"clientId"
|
|
97
|
+
],
|
|
98
|
+
"properties": {
|
|
99
|
+
"clientId": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"minLength": 1
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"required": [
|
|
109
|
+
"$schema",
|
|
110
|
+
"spec"
|
|
111
|
+
],
|
|
112
|
+
"additionalProperties": false,
|
|
113
|
+
"$defs": {
|
|
114
|
+
"CreateClientDto": {
|
|
115
|
+
"type": "object",
|
|
116
|
+
"properties": {
|
|
117
|
+
"clientId": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"minLength": 1,
|
|
120
|
+
"pattern": "^[A-Za-z0-9._:-]+$",
|
|
121
|
+
"description": "Unique client identifier."
|
|
122
|
+
},
|
|
123
|
+
"secret": {
|
|
124
|
+
"description": "Optional client secret for confidential clients.",
|
|
125
|
+
"type": "string",
|
|
126
|
+
"minLength": 1
|
|
127
|
+
},
|
|
128
|
+
"description": {
|
|
129
|
+
"description": "Optional human-readable client description.",
|
|
130
|
+
"type": "string",
|
|
131
|
+
"minLength": 1
|
|
132
|
+
},
|
|
133
|
+
"roles": {
|
|
134
|
+
"minItems": 1,
|
|
135
|
+
"type": "array",
|
|
136
|
+
"items": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"enum": [
|
|
139
|
+
"presentation:manage",
|
|
140
|
+
"presentation:request",
|
|
141
|
+
"issuance:manage",
|
|
142
|
+
"issuance:offer",
|
|
143
|
+
"clients:manage",
|
|
144
|
+
"users:manage",
|
|
145
|
+
"tenants:manage",
|
|
146
|
+
"tenant:admin",
|
|
147
|
+
"registrar:manage"
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
"description": "Roles assigned to the client. At least one role is required."
|
|
151
|
+
},
|
|
152
|
+
"allowedPresentationConfigs": {
|
|
153
|
+
"description": "Optional allow-list of presentation config ids this client can use.",
|
|
154
|
+
"anyOf": [
|
|
155
|
+
{
|
|
156
|
+
"type": "array",
|
|
157
|
+
"items": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"minLength": 1
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"type": "null"
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
"allowedIssuanceConfigs": {
|
|
168
|
+
"description": "Optional allow-list of issuance config ids this client can use.",
|
|
169
|
+
"anyOf": [
|
|
170
|
+
{
|
|
171
|
+
"type": "array",
|
|
172
|
+
"items": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"minLength": 1
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"type": "null"
|
|
179
|
+
}
|
|
180
|
+
]
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"required": [
|
|
184
|
+
"clientId",
|
|
185
|
+
"roles"
|
|
186
|
+
],
|
|
187
|
+
"additionalProperties": false,
|
|
188
|
+
"title": "CreateClientDto"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
58
191
|
}
|
|
59
192
|
]
|
|
60
193
|
}
|
|
@@ -32,7 +32,11 @@
|
|
|
32
32
|
"users:manage",
|
|
33
33
|
"tenants:manage",
|
|
34
34
|
"tenant:admin",
|
|
35
|
-
"registrar:manage"
|
|
35
|
+
"registrar:manage",
|
|
36
|
+
"audit:read",
|
|
37
|
+
"sessions:read",
|
|
38
|
+
"credentials:status",
|
|
39
|
+
"keys:manage"
|
|
36
40
|
]
|
|
37
41
|
},
|
|
38
42
|
"description": "Roles assigned to the client. At least one role is required."
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"minLength": 1
|
|
20
20
|
},
|
|
21
21
|
"roles": {
|
|
22
|
-
"description": "
|
|
22
|
+
"description": "Roles of the tenant's admin client `<id>-admin`, which also gets clients:manage. They are all that client can grant, unless they include tenant:admin. Without roles, no admin client is created.",
|
|
23
23
|
"type": "array",
|
|
24
24
|
"items": {
|
|
25
25
|
"type": "string",
|
|
@@ -32,7 +32,11 @@
|
|
|
32
32
|
"clients:manage",
|
|
33
33
|
"users:manage",
|
|
34
34
|
"registrar:manage",
|
|
35
|
-
"tenant:admin"
|
|
35
|
+
"tenant:admin",
|
|
36
|
+
"audit:read",
|
|
37
|
+
"sessions:read",
|
|
38
|
+
"credentials:status",
|
|
39
|
+
"keys:manage"
|
|
36
40
|
]
|
|
37
41
|
}
|
|
38
42
|
},
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"
|
|
3
|
+
"$id": "./KeyChainConfigFile.schema.json",
|
|
4
|
+
"title": "KeyChainConfigFile",
|
|
5
|
+
"description": "Configuration file identified by its $schema URL.",
|
|
6
|
+
"oneOf": [
|
|
4
7
|
{
|
|
5
8
|
"type": "object",
|
|
6
9
|
"properties": {
|
|
7
10
|
"$schema": {
|
|
8
11
|
"type": "string",
|
|
9
|
-
"const": "https://eudiplo.dev/schemas/
|
|
12
|
+
"const": "https://eudiplo.dev/schemas/v2/KeyChainConfigFile.schema.json"
|
|
10
13
|
},
|
|
11
14
|
"metadata": {
|
|
12
15
|
"type": "object",
|
|
@@ -45,6 +48,14 @@
|
|
|
45
48
|
"encrypt"
|
|
46
49
|
]
|
|
47
50
|
},
|
|
51
|
+
"type": {
|
|
52
|
+
"description": "Key chain type. For a `private-jwk` key source without `activeJwk`, `standalone` makes `jwk` the signing key and `crt` its chain, leaf first; `internalChain` makes `jwk` a CA key and the last `crt` entry its CA certificate (created if `crt` is omitted), and the import generates a new signing key with a certificate issued by it. Without `type`, `jwk` is a CA key only if `rotationPolicy.enabled` is true and `crt` is not a single self-signed certificate that is not a CA. For `regenerate`, it is the type of the new key chain and must equal `keySource.keyChainType` if both are set. For the other key sources, it must match the key chain they describe.",
|
|
53
|
+
"type": "string",
|
|
54
|
+
"enum": [
|
|
55
|
+
"standalone",
|
|
56
|
+
"internalChain"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
48
59
|
"keySource": {
|
|
49
60
|
"oneOf": [
|
|
50
61
|
{
|
|
@@ -358,123 +369,9 @@
|
|
|
358
369
|
"additionalProperties": false
|
|
359
370
|
},
|
|
360
371
|
{
|
|
361
|
-
"
|
|
362
|
-
"
|
|
363
|
-
|
|
364
|
-
"description": "Optional key chain id. If omitted, one is generated.",
|
|
365
|
-
"type": "string"
|
|
366
|
-
},
|
|
367
|
-
"key": {
|
|
368
|
-
"description": "Private key material in JWK format.",
|
|
369
|
-
"type": "object",
|
|
370
|
-
"properties": {
|
|
371
|
-
"kty": {
|
|
372
|
-
"type": "string",
|
|
373
|
-
"description": "Key type (for example EC)."
|
|
374
|
-
},
|
|
375
|
-
"x": {
|
|
376
|
-
"type": "string",
|
|
377
|
-
"description": "Elliptic curve public x coordinate."
|
|
378
|
-
},
|
|
379
|
-
"y": {
|
|
380
|
-
"type": "string",
|
|
381
|
-
"description": "Elliptic curve public y coordinate."
|
|
382
|
-
},
|
|
383
|
-
"crv": {
|
|
384
|
-
"type": "string",
|
|
385
|
-
"description": "Elliptic curve name."
|
|
386
|
-
},
|
|
387
|
-
"d": {
|
|
388
|
-
"type": "string",
|
|
389
|
-
"description": "Private key value."
|
|
390
|
-
},
|
|
391
|
-
"alg": {
|
|
392
|
-
"description": "Optional algorithm hint.",
|
|
393
|
-
"type": "string"
|
|
394
|
-
},
|
|
395
|
-
"kid": {
|
|
396
|
-
"description": "Optional key identifier.",
|
|
397
|
-
"type": "string"
|
|
398
|
-
}
|
|
399
|
-
},
|
|
400
|
-
"required": [
|
|
401
|
-
"kty",
|
|
402
|
-
"x",
|
|
403
|
-
"y",
|
|
404
|
-
"crv",
|
|
405
|
-
"d"
|
|
406
|
-
],
|
|
407
|
-
"additionalProperties": false
|
|
408
|
-
},
|
|
409
|
-
"keyPem": {
|
|
410
|
-
"description": "PKCS#8 PEM-encoded EC private key material.",
|
|
411
|
-
"type": "string",
|
|
412
|
-
"minLength": 1
|
|
413
|
-
},
|
|
414
|
-
"description": {
|
|
415
|
-
"description": "Optional key chain description.",
|
|
416
|
-
"type": "string"
|
|
417
|
-
},
|
|
418
|
-
"usageType": {
|
|
419
|
-
"type": "string",
|
|
420
|
-
"enum": [
|
|
421
|
-
"access",
|
|
422
|
-
"attestation",
|
|
423
|
-
"trustList",
|
|
424
|
-
"statusList",
|
|
425
|
-
"encrypt"
|
|
426
|
-
],
|
|
427
|
-
"description": "Key usage category for the imported key chain."
|
|
428
|
-
},
|
|
429
|
-
"crt": {
|
|
430
|
-
"description": "Optional certificate chain values in PEM or base64 DER.",
|
|
431
|
-
"type": "array",
|
|
432
|
-
"items": {
|
|
433
|
-
"type": "string"
|
|
434
|
-
}
|
|
435
|
-
},
|
|
436
|
-
"kmsProvider": {
|
|
437
|
-
"description": "Optional KMS provider id.",
|
|
438
|
-
"type": "string"
|
|
439
|
-
},
|
|
440
|
-
"rotationPolicy": {
|
|
441
|
-
"description": "Optional rotation policy for imported key chains.",
|
|
442
|
-
"type": "object",
|
|
443
|
-
"properties": {
|
|
444
|
-
"enabled": {
|
|
445
|
-
"type": "boolean",
|
|
446
|
-
"description": "Enable automatic rotation for imported key chains."
|
|
447
|
-
},
|
|
448
|
-
"intervalDays": {
|
|
449
|
-
"description": "Rotation interval in days.",
|
|
450
|
-
"type": "number",
|
|
451
|
-
"minimum": 1,
|
|
452
|
-
"maximum": 3650
|
|
453
|
-
},
|
|
454
|
-
"certValidityDays": {
|
|
455
|
-
"description": "Certificate validity period in days.",
|
|
456
|
-
"type": "number",
|
|
457
|
-
"minimum": 1,
|
|
458
|
-
"maximum": 3650
|
|
459
|
-
}
|
|
460
|
-
},
|
|
461
|
-
"required": [
|
|
462
|
-
"enabled"
|
|
463
|
-
],
|
|
464
|
-
"additionalProperties": false
|
|
465
|
-
}
|
|
466
|
-
},
|
|
467
|
-
"required": [
|
|
468
|
-
"usageType"
|
|
469
|
-
],
|
|
470
|
-
"additionalProperties": false
|
|
471
|
-
}
|
|
472
|
-
],
|
|
473
|
-
"$id": "./KeyChainConfigFile.schema.json",
|
|
474
|
-
"title": "KeyChainConfigFile",
|
|
475
|
-
"description": "Configuration file identified by its $schema URL.",
|
|
476
|
-
"oneOf": [
|
|
477
|
-
{
|
|
372
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
373
|
+
"$id": "https://eudiplo.dev/schemas/v1/KeyChainConfigFile.schema.json",
|
|
374
|
+
"title": "KeyChainConfigFile",
|
|
478
375
|
"type": "object",
|
|
479
376
|
"properties": {
|
|
480
377
|
"$schema": {
|
|
@@ -829,6 +726,126 @@
|
|
|
829
726
|
"spec"
|
|
830
727
|
],
|
|
831
728
|
"additionalProperties": false
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"type": "object",
|
|
732
|
+
"properties": {
|
|
733
|
+
"id": {
|
|
734
|
+
"description": "Optional key chain id. If omitted, one is generated.",
|
|
735
|
+
"type": "string"
|
|
736
|
+
},
|
|
737
|
+
"key": {
|
|
738
|
+
"description": "Private key material in JWK format.",
|
|
739
|
+
"type": "object",
|
|
740
|
+
"properties": {
|
|
741
|
+
"kty": {
|
|
742
|
+
"type": "string",
|
|
743
|
+
"description": "Key type (for example EC)."
|
|
744
|
+
},
|
|
745
|
+
"x": {
|
|
746
|
+
"type": "string",
|
|
747
|
+
"description": "Elliptic curve public x coordinate."
|
|
748
|
+
},
|
|
749
|
+
"y": {
|
|
750
|
+
"type": "string",
|
|
751
|
+
"description": "Elliptic curve public y coordinate."
|
|
752
|
+
},
|
|
753
|
+
"crv": {
|
|
754
|
+
"type": "string",
|
|
755
|
+
"description": "Elliptic curve name."
|
|
756
|
+
},
|
|
757
|
+
"d": {
|
|
758
|
+
"type": "string",
|
|
759
|
+
"description": "Private key value."
|
|
760
|
+
},
|
|
761
|
+
"alg": {
|
|
762
|
+
"description": "Optional algorithm hint.",
|
|
763
|
+
"type": "string"
|
|
764
|
+
},
|
|
765
|
+
"kid": {
|
|
766
|
+
"description": "Optional key identifier.",
|
|
767
|
+
"type": "string"
|
|
768
|
+
}
|
|
769
|
+
},
|
|
770
|
+
"required": [
|
|
771
|
+
"kty",
|
|
772
|
+
"x",
|
|
773
|
+
"y",
|
|
774
|
+
"crv",
|
|
775
|
+
"d"
|
|
776
|
+
],
|
|
777
|
+
"additionalProperties": false
|
|
778
|
+
},
|
|
779
|
+
"keyPem": {
|
|
780
|
+
"description": "PKCS#8 PEM-encoded EC private key material.",
|
|
781
|
+
"type": "string",
|
|
782
|
+
"minLength": 1
|
|
783
|
+
},
|
|
784
|
+
"description": {
|
|
785
|
+
"description": "Optional key chain description.",
|
|
786
|
+
"type": "string"
|
|
787
|
+
},
|
|
788
|
+
"usageType": {
|
|
789
|
+
"type": "string",
|
|
790
|
+
"enum": [
|
|
791
|
+
"access",
|
|
792
|
+
"attestation",
|
|
793
|
+
"trustList",
|
|
794
|
+
"statusList",
|
|
795
|
+
"encrypt"
|
|
796
|
+
],
|
|
797
|
+
"description": "Key usage category for the imported key chain."
|
|
798
|
+
},
|
|
799
|
+
"type": {
|
|
800
|
+
"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.",
|
|
801
|
+
"type": "string",
|
|
802
|
+
"enum": [
|
|
803
|
+
"standalone",
|
|
804
|
+
"internalChain"
|
|
805
|
+
]
|
|
806
|
+
},
|
|
807
|
+
"crt": {
|
|
808
|
+
"description": "Optional certificate chain values in PEM or base64 DER.",
|
|
809
|
+
"type": "array",
|
|
810
|
+
"items": {
|
|
811
|
+
"type": "string"
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
"kmsProvider": {
|
|
815
|
+
"description": "Optional KMS provider id.",
|
|
816
|
+
"type": "string"
|
|
817
|
+
},
|
|
818
|
+
"rotationPolicy": {
|
|
819
|
+
"description": "Optional rotation policy for imported key chains.",
|
|
820
|
+
"type": "object",
|
|
821
|
+
"properties": {
|
|
822
|
+
"enabled": {
|
|
823
|
+
"type": "boolean",
|
|
824
|
+
"description": "Enable automatic rotation for imported key chains."
|
|
825
|
+
},
|
|
826
|
+
"intervalDays": {
|
|
827
|
+
"description": "Rotation interval in days.",
|
|
828
|
+
"type": "number",
|
|
829
|
+
"minimum": 1,
|
|
830
|
+
"maximum": 3650
|
|
831
|
+
},
|
|
832
|
+
"certValidityDays": {
|
|
833
|
+
"description": "Certificate validity period in days.",
|
|
834
|
+
"type": "number",
|
|
835
|
+
"minimum": 1,
|
|
836
|
+
"maximum": 3650
|
|
837
|
+
}
|
|
838
|
+
},
|
|
839
|
+
"required": [
|
|
840
|
+
"enabled"
|
|
841
|
+
],
|
|
842
|
+
"additionalProperties": false
|
|
843
|
+
}
|
|
844
|
+
},
|
|
845
|
+
"required": [
|
|
846
|
+
"usageType"
|
|
847
|
+
],
|
|
848
|
+
"additionalProperties": false
|
|
832
849
|
}
|
|
833
850
|
]
|
|
834
851
|
}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"description": "Enable or disable automatic key rotation."
|
|
39
39
|
},
|
|
40
40
|
"intervalDays": {
|
|
41
|
-
"description": "Rotation interval in days.",
|
|
41
|
+
"description": "Rotation interval in days. Required when `enabled` is true.",
|
|
42
42
|
"type": "number",
|
|
43
43
|
"minimum": 1,
|
|
44
44
|
"maximum": 3650
|
|
@@ -68,6 +68,14 @@
|
|
|
68
68
|
],
|
|
69
69
|
"description": "Key usage category for the imported key chain."
|
|
70
70
|
},
|
|
71
|
+
"type": {
|
|
72
|
+
"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.",
|
|
73
|
+
"type": "string",
|
|
74
|
+
"enum": [
|
|
75
|
+
"standalone",
|
|
76
|
+
"internalChain"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
71
79
|
"crt": {
|
|
72
80
|
"description": "Optional certificate chain values in PEM or base64 DER.",
|
|
73
81
|
"type": "array",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"description": "Enable or disable automatic key rotation."
|
|
8
8
|
},
|
|
9
9
|
"intervalDays": {
|
|
10
|
-
"description": "Rotation interval in days.",
|
|
10
|
+
"description": "Rotation interval in days. Required when `enabled` is true.",
|
|
11
11
|
"type": "number",
|
|
12
12
|
"minimum": 1,
|
|
13
13
|
"maximum": 3650
|