@eudiplo/cli 9.1.0-main.f14d62f → 9.1.0-main.f567faa

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/index.js CHANGED
@@ -21839,7 +21839,7 @@ function resourceId(input) {
21839
21839
  }
21840
21840
  function bareFileVersion(kind, spec) {
21841
21841
  if (kind === "KeyChain") {
21842
- if (spec.usageType === "accessToken")
21842
+ if (spec.usageType === "authorizationServer")
21843
21843
  return 4;
21844
21844
  if (spec.usageType === "federation")
21845
21845
  return 3;
@@ -21848,7 +21848,7 @@ function bareFileVersion(kind, spec) {
21848
21848
  if (kind === "RegistrarConfig")
21849
21849
  return "relyingPartyContact" in spec ? 2 : 1;
21850
21850
  if (kind === "KeyChainDefaults")
21851
- return "accessToken" in spec ? 2 : 1;
21851
+ return "authorizationServer" in spec ? 2 : 1;
21852
21852
  if (kind === "Tenant") {
21853
21853
  if ("defaultKeyChains" in spec)
21854
21854
  return 3;
@@ -21948,7 +21948,7 @@ var issuanceConfigV5ToV6 = {
21948
21948
  severity: "warning",
21949
21949
  code: "ISSUANCE_SIGNING_KEY_ID_REMOVED",
21950
21950
  path: "/spec/signingKeyId",
21951
- message: `signingKeyId ${JSON.stringify(signingKeyId)} was removed. The built-in authorization server now signs access tokens with the tenant's access token key chain (usage type "accessToken"); to choose one, set token.signingKeyId of its entry.`
21951
+ message: `signingKeyId ${JSON.stringify(signingKeyId)} was removed. The built-in authorization server now signs access tokens with the tenant's authorization server key chain (usage type "authorizationServer"); to choose one, set token.signingKeyId of its entry.`
21952
21952
  });
21953
21953
  }
21954
21954
  const servers = Array.isArray(rest.authorizationServers) ? rest.authorizationServers : [];
@@ -21958,9 +21958,9 @@ var issuanceConfigV5ToV6 = {
21958
21958
  return;
21959
21959
  issues.push({
21960
21960
  severity: "warning",
21961
- code: "ACCESS_TOKEN_KEY_CHAIN_REQUIRED",
21961
+ code: "AUTHORIZATION_SERVER_KEY_CHAIN_REQUIRED",
21962
21962
  path: `/spec/authorizationServers/${index}/token/signingKeyId`,
21963
- message: `token.signingKeyId ${JSON.stringify(keyChainId)} must name a key chain with usage type "accessToken" from now on, else the import is refused. Remove it to use the tenant's access token key chain, or point it to such a key chain.`
21963
+ message: `token.signingKeyId ${JSON.stringify(keyChainId)} must name a key chain with usage type "authorizationServer" from now on, else the import is refused. Remove it to use the tenant's authorization server key chain, or point it to such a key chain.`
21964
21964
  });
21965
21965
  });
21966
21966
  return { spec: "signingKeyId" in spec ? rest : spec, issues };
@@ -22132,21 +22132,21 @@ var CONFIG_MIGRATIONS = [
22132
22132
  migrate: (spec) => ({ spec })
22133
22133
  },
22134
22134
  {
22135
- id: "key-chain-v4-access-token-usage",
22135
+ id: "key-chain-v4-authorization-server-usage",
22136
22136
  kind: "KeyChain",
22137
22137
  from: 3,
22138
22138
  to: 4,
22139
- // v4 only adds the usage type `accessToken`: a v3 spec is a valid v4
22139
+ // v4 only adds the usage type `authorizationServer`: a v3 spec is a valid v4
22140
22140
  // spec.
22141
22141
  migrate: (spec) => ({ spec })
22142
22142
  },
22143
22143
  {
22144
- id: "key-chain-defaults-v2-access-token",
22144
+ id: "key-chain-defaults-v2-authorization-server",
22145
22145
  kind: "KeyChainDefaults",
22146
22146
  from: 1,
22147
22147
  to: 2,
22148
- // v2 only adds the optional accessToken entry: a v1 spec is a valid
22149
- // v2 spec, whose tenant keeps using its oldest access token key
22148
+ // v2 only adds the optional authorizationServer entry: a v1 spec is a valid
22149
+ // v2 spec, whose tenant keeps using its oldest authorization server key
22150
22150
  // chain.
22151
22151
  migrate: (spec) => ({ spec })
22152
22152
  },
@@ -29435,8 +29435,8 @@ var CONFIG_SCHEMAS = [
29435
29435
  "type": "string",
29436
29436
  "minLength": 1
29437
29437
  },
29438
- "accessToken": {
29439
- "description": "ID of the access token key chain (usage type accessToken) that signs the access tokens of authorization servers without token.signingKeyId and is published in their JWKS. Without it, EUDIPLO uses the tenant's oldest access token key chain and creates one with ID access-token when the tenant has none.",
29438
+ "authorizationServer": {
29439
+ "description": "ID of the authorization server key chain (usage type authorizationServer) that signs the access tokens of authorization servers without token.signingKeyId and is published in their JWKS. Without it, EUDIPLO uses the tenant's oldest authorization server key chain and creates one with ID authorization-server when the tenant has none.",
29440
29440
  "type": "string",
29441
29441
  "minLength": 1
29442
29442
  }
@@ -35393,7 +35393,7 @@ var CONFIG_SCHEMAS = [
35393
35393
  "type": "string",
35394
35394
  "enum": [
35395
35395
  "access",
35396
- "accessToken",
35396
+ "authorizationServer",
35397
35397
  "attestation",
35398
35398
  "trustList",
35399
35399
  "statusList",
@@ -36860,7 +36860,7 @@ var CONFIG_SCHEMAS = [
36860
36860
  "minimum": 60
36861
36861
  },
36862
36862
  "signingKeyId": {
36863
- "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.`,
36863
+ "description": `ID of a key chain with usage type "authorizationServer" that signs the issued access tokens. Without it, the tenant's authorization server key chain signs them.`,
36864
36864
  "type": "string",
36865
36865
  "minLength": 1
36866
36866
  },
@@ -37002,7 +37002,7 @@ var CONFIG_SCHEMAS = [
37002
37002
  "minimum": 60
37003
37003
  },
37004
37004
  "signingKeyId": {
37005
- "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.`,
37005
+ "description": `ID of a key chain with usage type "authorizationServer" that signs the issued access tokens. Without it, the tenant's authorization server key chain signs them.`,
37006
37006
  "type": "string",
37007
37007
  "minLength": 1
37008
37008
  },
@@ -37110,7 +37110,7 @@ var CONFIG_SCHEMAS = [
37110
37110
  "minimum": 60
37111
37111
  },
37112
37112
  "signingKeyId": {
37113
- "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.`,
37113
+ "description": `ID of a key chain with usage type "authorizationServer" that signs the issued access tokens. Without it, the tenant's authorization server key chain signs them.`,
37114
37114
  "type": "string",
37115
37115
  "minLength": 1
37116
37116
  },
@@ -40243,7 +40243,7 @@ function createDeploymentCommands(context, setExitCode) {
40243
40243
  // package.json
40244
40244
  var package_default = {
40245
40245
  name: "@eudiplo/cli",
40246
- version: "9.1.0-main.f14d62f",
40246
+ version: "9.1.0-main.f567faa",
40247
40247
  description: "Deployment-aware command line tools for EUDIPLO",
40248
40248
  private: false,
40249
40249
  type: "module",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eudiplo/cli",
3
- "version": "9.1.0-main.f14d62f",
3
+ "version": "9.1.0-main.f567faa",
4
4
  "description": "Deployment-aware command line tools for EUDIPLO",
5
5
  "private": false,
6
6
  "type": "module",
@@ -160,7 +160,7 @@
160
160
  "minimum": 60
161
161
  },
162
162
  "signingKeyId": {
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.",
163
+ "description": "ID of a key chain with usage type \"authorizationServer\" that signs the issued access tokens. Without it, the tenant's authorization server key chain signs them.",
164
164
  "type": "string",
165
165
  "minLength": 1
166
166
  },
@@ -302,7 +302,7 @@
302
302
  "minimum": 60
303
303
  },
304
304
  "signingKeyId": {
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.",
305
+ "description": "ID of a key chain with usage type \"authorizationServer\" that signs the issued access tokens. Without it, the tenant's authorization server key chain signs them.",
306
306
  "type": "string",
307
307
  "minLength": 1
308
308
  },
@@ -410,7 +410,7 @@
410
410
  "minimum": 60
411
411
  },
412
412
  "signingKeyId": {
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.",
413
+ "description": "ID of a key chain with usage type \"authorizationServer\" that signs the issued access tokens. Without it, the tenant's authorization server key chain signs them.",
414
414
  "type": "string",
415
415
  "minLength": 1
416
416
  },
@@ -42,7 +42,7 @@
42
42
  "type": "string",
43
43
  "enum": [
44
44
  "access",
45
- "accessToken",
45
+ "authorizationServer",
46
46
  "attestation",
47
47
  "trustList",
48
48
  "statusList",
@@ -1526,7 +1526,7 @@
1526
1526
  "type": "string",
1527
1527
  "enum": [
1528
1528
  "access",
1529
- "accessToken",
1529
+ "authorizationServer",
1530
1530
  "attestation",
1531
1531
  "trustList",
1532
1532
  "statusList",
@@ -6,7 +6,7 @@
6
6
  "type": "string",
7
7
  "enum": [
8
8
  "access",
9
- "accessToken",
9
+ "authorizationServer",
10
10
  "attestation",
11
11
  "trustList",
12
12
  "statusList",
@@ -37,8 +37,8 @@
37
37
  "type": "string",
38
38
  "minLength": 1
39
39
  },
40
- "accessToken": {
41
- "description": "ID of the access token key chain (usage type accessToken) that signs the access tokens of authorization servers without token.signingKeyId and is published in their JWKS. Without it, EUDIPLO uses the tenant's oldest access token key chain and creates one with ID access-token when the tenant has none.",
40
+ "authorizationServer": {
41
+ "description": "ID of the authorization server key chain (usage type authorizationServer) that signs the access tokens of authorization servers without token.signingKeyId and is published in their JWKS. Without it, EUDIPLO uses the tenant's oldest authorization server key chain and creates one with ID authorization-server when the tenant has none.",
42
42
  "type": "string",
43
43
  "minLength": 1
44
44
  }
@@ -110,8 +110,8 @@
110
110
  "type": "string",
111
111
  "minLength": 1
112
112
  },
113
- "accessToken": {
114
- "description": "ID of the access token key chain (usage type accessToken) that signs the access tokens of authorization servers without token.signingKeyId and is published in their JWKS. Without it, EUDIPLO uses the tenant's oldest access token key chain and creates one with ID access-token when the tenant has none.",
113
+ "authorizationServer": {
114
+ "description": "ID of the authorization server key chain (usage type authorizationServer) that signs the access tokens of authorization servers without token.signingKeyId and is published in their JWKS. Without it, EUDIPLO uses the tenant's oldest authorization server key chain and creates one with ID authorization-server when the tenant has none.",
115
115
  "type": "string",
116
116
  "minLength": 1
117
117
  }
@@ -61,7 +61,7 @@
61
61
  "type": "string",
62
62
  "enum": [
63
63
  "access",
64
- "accessToken",
64
+ "authorizationServer",
65
65
  "attestation",
66
66
  "trustList",
67
67
  "statusList",