balena-cli 23.2.8-build-validate-installer-secureboot-b138ce3c6f2c34d53689a364b809e6dd2ae5b203-2 → 23.2.8-build-renovate-aws-actions-configure-aws-credentials-5-x-2dab3b820be76f5cb24e9cdea237a63a5745fd66-1

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/CHANGELOG.md CHANGED
@@ -6,8 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
7
  ## 23.2.8 - 2025-12-08
8
8
 
9
- * Add test for os configure --config using secureboot [Thodoris Greasidis]
10
- * os configure, device init: Validate that the config.json's installer.secureboot is a boolean when set [Thodoris Greasidis]
9
+ * Update aws-actions/configure-aws-credentials action to v5 [balena-renovate[bot]]
11
10
 
12
11
  ## 23.2.7 - 2025-12-08
13
12
 
@@ -47,7 +47,6 @@ function populateDeviceConfig(config, device, deviceApiKey) {
47
47
  config.uuid = device.uuid;
48
48
  }
49
49
  async function readAndValidateConfigJson(path) {
50
- var _a;
51
50
  const fs = await Promise.resolve().then(() => require('fs/promises'));
52
51
  const [rawConfig, { ExpectedError }] = await Promise.all([
53
52
  fs.readFile(path, 'utf8'),
@@ -64,10 +63,6 @@ async function readAndValidateConfigJson(path) {
64
63
  configJson.deviceType === '') {
65
64
  throw new ExpectedError('Missing or invalid deviceType in config.json');
66
65
  }
67
- const secureboot = (_a = configJson.installer) === null || _a === void 0 ? void 0 : _a.secureboot;
68
- if (secureboot != null && typeof secureboot !== 'boolean') {
69
- throw new ExpectedError(`Invalid installer.secureboot in config.json: value must be a boolean, found ${typeof secureboot}: '${secureboot}'`);
70
- }
71
66
  return configJson;
72
67
  }
73
68
  async function validateDevOptionAndWarn(dev, version, logger) {
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/utils/config.ts"],"names":[],"mappings":";;AA4DA,8DAuCC;AAED,oDA4BC;AAED,oDAgBC;AAED,8DA0BC;AAQD,4DAuBC;AA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3
- "version": "23.2.8-build-validate-installer-secureboot-b138ce3c6f2c34d53689a364b809e6dd2ae5b203-2",
3
+ "version": "23.2.8-build-renovate-aws-actions-configure-aws-credentials-5-x-2dab3b820be76f5cb24e9cdea237a63a5745fd66-1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "balena-cli",
9
- "version": "23.2.8-build-validate-installer-secureboot-b138ce3c6f2c34d53689a364b809e6dd2ae5b203-2",
9
+ "version": "23.2.8-build-renovate-aws-actions-configure-aws-credentials-5-x-2dab3b820be76f5cb24e9cdea237a63a5745fd66-1",
10
10
  "hasInstallScript": true,
11
11
  "license": "Apache-2.0",
12
12
  "dependencies": {
@@ -160,6 +160,56 @@
160
160
  "create.js"
161
161
  ]
162
162
  },
163
+ "block:create": {
164
+ "aliases": [],
165
+ "args": {
166
+ "name": {
167
+ "description": "block name",
168
+ "name": "name",
169
+ "required": true
170
+ }
171
+ },
172
+ "description": "Create an block.\n\nCreate a new balena block.\n\nYou can specify the organization the block should belong to using\nthe `--organization` option. The organization's handle, not its name,\nshould be provided. Organization handles can be listed with the\n`balena organization list` command.\n\nThe block's default device type is specified with the `--type` option.\nThe `balena device-type list` command can be used to list the available\ndevice types.\n\nInteractive dropdowns will be shown for selection if no device type or\norganization is specified and there are multiple options to choose from.\nIf there is a single option to choose from, it will be chosen automatically.\nThis interactive behavior can be disabled by explicitly specifying a device\ntype and organization.",
173
+ "examples": [
174
+ "$ balena block create MyBlock",
175
+ "$ balena block create MyBlock --organization mmyorg",
176
+ "$ balena block create MyBlock -o myorg --type raspberry-pi"
177
+ ],
178
+ "flags": {
179
+ "organization": {
180
+ "char": "o",
181
+ "description": "handle of the organization the block should belong to",
182
+ "name": "organization",
183
+ "hasDynamicHelp": false,
184
+ "multiple": false,
185
+ "type": "option"
186
+ },
187
+ "type": {
188
+ "char": "t",
189
+ "description": "block device type (Check available types with `balena device-type list`)",
190
+ "name": "type",
191
+ "hasDynamicHelp": false,
192
+ "multiple": false,
193
+ "type": "option"
194
+ }
195
+ },
196
+ "hasDynamicHelp": false,
197
+ "hiddenAliases": [],
198
+ "id": "block:create",
199
+ "pluginAlias": "balena-cli",
200
+ "pluginName": "balena-cli",
201
+ "pluginType": "core",
202
+ "strict": true,
203
+ "enableJsonFlag": false,
204
+ "authenticated": true,
205
+ "isESM": false,
206
+ "relativePath": [
207
+ "build",
208
+ "commands",
209
+ "block",
210
+ "create.js"
211
+ ]
212
+ },
163
213
  "build": {
164
214
  "aliases": [],
165
215
  "args": {
@@ -362,56 +412,6 @@
362
412
  "index.js"
363
413
  ]
364
414
  },
365
- "block:create": {
366
- "aliases": [],
367
- "args": {
368
- "name": {
369
- "description": "block name",
370
- "name": "name",
371
- "required": true
372
- }
373
- },
374
- "description": "Create an block.\n\nCreate a new balena block.\n\nYou can specify the organization the block should belong to using\nthe `--organization` option. The organization's handle, not its name,\nshould be provided. Organization handles can be listed with the\n`balena organization list` command.\n\nThe block's default device type is specified with the `--type` option.\nThe `balena device-type list` command can be used to list the available\ndevice types.\n\nInteractive dropdowns will be shown for selection if no device type or\norganization is specified and there are multiple options to choose from.\nIf there is a single option to choose from, it will be chosen automatically.\nThis interactive behavior can be disabled by explicitly specifying a device\ntype and organization.",
375
- "examples": [
376
- "$ balena block create MyBlock",
377
- "$ balena block create MyBlock --organization mmyorg",
378
- "$ balena block create MyBlock -o myorg --type raspberry-pi"
379
- ],
380
- "flags": {
381
- "organization": {
382
- "char": "o",
383
- "description": "handle of the organization the block should belong to",
384
- "name": "organization",
385
- "hasDynamicHelp": false,
386
- "multiple": false,
387
- "type": "option"
388
- },
389
- "type": {
390
- "char": "t",
391
- "description": "block device type (Check available types with `balena device-type list`)",
392
- "name": "type",
393
- "hasDynamicHelp": false,
394
- "multiple": false,
395
- "type": "option"
396
- }
397
- },
398
- "hasDynamicHelp": false,
399
- "hiddenAliases": [],
400
- "id": "block:create",
401
- "pluginAlias": "balena-cli",
402
- "pluginName": "balena-cli",
403
- "pluginType": "core",
404
- "strict": true,
405
- "enableJsonFlag": false,
406
- "authenticated": true,
407
- "isESM": false,
408
- "relativePath": [
409
- "build",
410
- "commands",
411
- "block",
412
- "create.js"
413
- ]
414
- },
415
415
  "config:generate": {
416
416
  "aliases": [],
417
417
  "args": {},
@@ -979,6 +979,45 @@
979
979
  "index.js"
980
980
  ]
981
981
  },
982
+ "device-type:list": {
983
+ "aliases": [],
984
+ "args": {},
985
+ "description": "List the device types supported by balena (like 'raspberrypi3' or 'intel-nuc').\n\nList the device types supported by balena (like 'raspberrypi3' or 'intel-nuc').\n\nBy default, only actively supported device types are listed.\nThe --all option can be used to list all device types, including those that are\nno longer supported by balena.",
986
+ "examples": [
987
+ "$ balena device-type list",
988
+ "$ balena device-type list --all"
989
+ ],
990
+ "flags": {
991
+ "json": {
992
+ "description": "Format output as json.",
993
+ "helpGroup": "GLOBAL",
994
+ "name": "json",
995
+ "allowNo": false,
996
+ "type": "boolean"
997
+ },
998
+ "all": {
999
+ "description": "include device types no longer supported by balena",
1000
+ "name": "all",
1001
+ "allowNo": false,
1002
+ "type": "boolean"
1003
+ }
1004
+ },
1005
+ "hasDynamicHelp": false,
1006
+ "hiddenAliases": [],
1007
+ "id": "device-type:list",
1008
+ "pluginAlias": "balena-cli",
1009
+ "pluginName": "balena-cli",
1010
+ "pluginType": "core",
1011
+ "strict": true,
1012
+ "enableJsonFlag": true,
1013
+ "isESM": false,
1014
+ "relativePath": [
1015
+ "build",
1016
+ "commands",
1017
+ "device-type",
1018
+ "list.js"
1019
+ ]
1020
+ },
982
1021
  "device:deactivate": {
983
1022
  "aliases": [],
984
1023
  "args": {
@@ -2199,45 +2238,6 @@
2199
2238
  "tunnel.js"
2200
2239
  ]
2201
2240
  },
2202
- "device-type:list": {
2203
- "aliases": [],
2204
- "args": {},
2205
- "description": "List the device types supported by balena (like 'raspberrypi3' or 'intel-nuc').\n\nList the device types supported by balena (like 'raspberrypi3' or 'intel-nuc').\n\nBy default, only actively supported device types are listed.\nThe --all option can be used to list all device types, including those that are\nno longer supported by balena.",
2206
- "examples": [
2207
- "$ balena device-type list",
2208
- "$ balena device-type list --all"
2209
- ],
2210
- "flags": {
2211
- "json": {
2212
- "description": "Format output as json.",
2213
- "helpGroup": "GLOBAL",
2214
- "name": "json",
2215
- "allowNo": false,
2216
- "type": "boolean"
2217
- },
2218
- "all": {
2219
- "description": "include device types no longer supported by balena",
2220
- "name": "all",
2221
- "allowNo": false,
2222
- "type": "boolean"
2223
- }
2224
- },
2225
- "hasDynamicHelp": false,
2226
- "hiddenAliases": [],
2227
- "id": "device-type:list",
2228
- "pluginAlias": "balena-cli",
2229
- "pluginName": "balena-cli",
2230
- "pluginType": "core",
2231
- "strict": true,
2232
- "enableJsonFlag": true,
2233
- "isESM": false,
2234
- "relativePath": [
2235
- "build",
2236
- "commands",
2237
- "device-type",
2238
- "list.js"
2239
- ]
2240
- },
2241
2241
  "env:list": {
2242
2242
  "aliases": [],
2243
2243
  "args": {},
@@ -3258,212 +3258,82 @@
3258
3258
  "list.js"
3259
3259
  ]
3260
3260
  },
3261
- "preload": {
3261
+ "os:configure": {
3262
3262
  "aliases": [],
3263
3263
  "args": {
3264
3264
  "image": {
3265
- "description": "the image file path",
3265
+ "description": "path to a balenaOS image file, e.g. \"rpi3.img\"",
3266
3266
  "name": "image",
3267
3267
  "required": true
3268
3268
  }
3269
3269
  },
3270
- "description": "Preload a release on a disk image (or Edison zip archive).\n\nPreload a release (service images/containers) from a balena fleet, and optionally\na balenaOS splash screen, in a previously downloaded '.img' balenaOS image file\nin the local disk (a zip file is only accepted for the Intel Edison device type).\nAfter preloading, the balenaOS image file can be flashed to a device's SD card.\nWhen the device boots, it will not need to download the release, as it was\npreloaded. This is usually combined with release pinning\n(https://www.balena.io/docs/learn/deploy/release-strategy/release-policy/)\nto avoid the device downloading a newer release straight away, if available.\nCheck also the Preloading and Preregistering section of the balena CLI's advanced\nmasterclass document:\nhttps://www.balena.io/docs/learn/more/masterclasses/advanced-cli/#5-preloading-and-preregistering\n\nFleets may be specified by fleet name or slug. Fleet slugs are\nthe recommended option, as they are unique and unambiguous. Slugs can be\nlisted with the `balena fleet list` command. Note that slugs may change if the\nfleet is renamed. Fleet names are not unique and may result in \"Fleet is\nambiguous\" errors at any time (even if it \"used to work in the past\"), for\nexample if the name clashes with a newly created public fleet, or with fleets\nfrom other balena accounts that you may be invited to join under any role.\nFor this reason, fleet names are especially discouraged in scripts (e.g. CI\nenvironments).\n\nNote that the this command requires Docker to be installed, as further detailed\nin the balena CLI's installation instructions:\nhttps://github.com/balena-io/balena-cli/blob/master/INSTALL.md\nThe `--dockerHost` and `--dockerPort` flags allow a remote Docker engine to\nbe used, however the image file must be accessible to the remote Docker engine\non the same path given on the command line. This is because Docker's bind mount\nfeature is used to \"share\" the image with a container that performs the preload.",
3270
+ "description": "Configure a previously downloaded balenaOS image.\n\nConfigure a previously downloaded balenaOS image for a specific device type\nor fleet.\n\nConfiguration settings such as WiFi authentication will be taken from the\nfollowing sources, in precedence order:\n1. Command-line options like `--config-wifi-ssid`\n2. A given `config.json` file specified with the `--config` option.\n3. User input through interactive prompts (text menus).\n\nThe --device-type option is used to override the fleet's default device type,\nin case of a fleet with mixed device types.\n\nThe '--dev' option is used to configure balenaOS to operate in development mode,\nallowing unauthenticated root ssh access and exposing network ports such as\nbalenaEngine's 2375 (unencrypted). This option causes `\"developmentMode\": true`\nto be inserted in the 'config.json' file in the image's boot partition. Development\nmode (as a configurable option) is applicable to balenaOS releases from early\n2022. Older releases have separate development and production balenaOS images\nthat cannot be reconfigured through 'config.json' or the '--dev' option. Do not\nconfuse the balenaOS \"development mode\" with a device's \"local mode\", the latter\nbeing a supervisor feature that allows the \"balena push\" command to push a user's\napplication directly to a device in the local network.\n\nThe '--secureBoot' option is used to configure a balenaOS installer image to opt-in\nsecure boot and disk encryption.\n\nThe --system-connection (-c) option is used to inject NetworkManager connection\nprofiles for additional network interfaces, such as cellular/GSM or additional\nWiFi or ethernet connections. This option may be passed multiple times in case there\nare multiple files to inject. See connection profile examples and reference at:\nhttps://www.balena.io/docs/reference/OS/network/2.x/\nhttps://developer.gnome.org/NetworkManager/stable/ref-settings.html\n\nFleets may be specified by fleet name or slug. Fleet slugs are\nthe recommended option, as they are unique and unambiguous. Slugs can be\nlisted with the `balena fleet list` command. Note that slugs may change if the\nfleet is renamed. Fleet names are not unique and may result in \"Fleet is\nambiguous\" errors at any time (even if it \"used to work in the past\"), for\nexample if the name clashes with a newly created public fleet, or with fleets\nfrom other balena accounts that you may be invited to join under any role.\nFor this reason, fleet names are especially discouraged in scripts (e.g. CI\nenvironments).",
3271
3271
  "examples": [
3272
- "$ balena preload balena.img --fleet MyFleet --commit e1f2592fc6ee949e68756d4f4a48e49bff8d72a0",
3273
- "$ balena preload balena.img --fleet myorg/myfleet --splash-image image.png",
3274
- "$ balena preload balena.img"
3272
+ "$ balena os configure ../path/rpi3.img --device 7cf02a6",
3273
+ "$ balena os configure ../path/rpi3.img --fleet myorg/myfleet",
3274
+ "$ balena os configure ../path/rpi3.img -f myorg/myfleet --device-type raspberrypi3",
3275
+ "$ balena os configure ../path/rpi3.img --config myWifiConfig.json"
3275
3276
  ],
3276
3277
  "flags": {
3277
3278
  "fleet": {
3278
3279
  "char": "f",
3279
3280
  "description": "fleet name or slug (preferred)",
3281
+ "exclusive": [
3282
+ "device",
3283
+ "config"
3284
+ ],
3280
3285
  "name": "fleet",
3281
3286
  "hasDynamicHelp": false,
3282
3287
  "multiple": false,
3283
3288
  "type": "option"
3284
3289
  },
3285
- "commit": {
3286
- "char": "c",
3287
- "description": "The commit hash of the release to preload. Use \"current\" to specify the current\nrelease (ignored if no appId is given). The current release is usually also the\nlatest, but can be pinned to a specific release. See:\nhttps://www.balena.io/docs/learn/deploy/release-strategy/release-policy/\nhttps://www.balena.io/docs/learn/more/masterclasses/fleet-management/#63-pin-using-the-api\nhttps://github.com/balena-io-examples/staged-releases",
3288
- "name": "commit",
3290
+ "device": {
3291
+ "char": "d",
3292
+ "description": "device UUID",
3293
+ "exclusive": [
3294
+ "fleet",
3295
+ "device-type",
3296
+ "config",
3297
+ "provisioning-key-name",
3298
+ "provisioning-key-expiry-date"
3299
+ ],
3300
+ "name": "device",
3289
3301
  "hasDynamicHelp": false,
3290
3302
  "multiple": false,
3291
3303
  "type": "option"
3292
3304
  },
3293
- "splash-image": {
3294
- "char": "s",
3295
- "description": "path to a png image to replace the splash screen",
3296
- "name": "splash-image",
3305
+ "config": {
3306
+ "description": "path to a pre-generated config.json file to be injected in the OS image",
3307
+ "exclusive": [
3308
+ "fleet",
3309
+ "device",
3310
+ "advanced",
3311
+ "config-app-update-poll-interval",
3312
+ "config-network",
3313
+ "config-wifi-key",
3314
+ "config-wifi-ssid",
3315
+ "dev",
3316
+ "secureBoot",
3317
+ "device-type",
3318
+ "initial-device-name",
3319
+ "provisioning-key-name",
3320
+ "provisioning-key-expiry-date"
3321
+ ],
3322
+ "name": "config",
3297
3323
  "hasDynamicHelp": false,
3298
3324
  "multiple": false,
3299
3325
  "type": "option"
3300
3326
  },
3301
- "dont-check-arch": {
3302
- "description": "disable architecture compatibility check between image and fleet",
3303
- "name": "dont-check-arch",
3327
+ "advanced": {
3328
+ "char": "v",
3329
+ "description": "ask advanced configuration questions (when in interactive mode)",
3330
+ "name": "advanced",
3304
3331
  "allowNo": false,
3305
3332
  "type": "boolean"
3306
3333
  },
3307
- "pin-device-to-release": {
3308
- "char": "p",
3309
- "description": "pin the preloaded device to the preloaded release on provision",
3310
- "name": "pin-device-to-release",
3311
- "allowNo": true,
3312
- "type": "boolean"
3313
- },
3314
- "additional-space": {
3315
- "description": "expand the image by this amount of bytes instead of automatically estimating the required amount",
3316
- "name": "additional-space",
3317
- "hasDynamicHelp": false,
3318
- "multiple": false,
3319
- "type": "option"
3320
- },
3321
- "add-certificate": {
3322
- "description": "Add the given certificate (in PEM format) to /etc/ssl/certs in the preloading container.\nThe file name must end with '.crt' and must not be already contained in the preloader's\n/etc/ssl/certs folder.\nCan be repeated to add multiple certificates.",
3323
- "name": "add-certificate",
3324
- "hasDynamicHelp": false,
3325
- "multiple": true,
3326
- "type": "option"
3327
- },
3328
- "docker": {
3329
- "char": "P",
3330
- "description": "Path to a local docker socket (e.g. /var/run/docker.sock)",
3331
- "name": "docker",
3332
- "hasDynamicHelp": false,
3333
- "multiple": false,
3334
- "type": "option"
3335
- },
3336
- "dockerHost": {
3337
- "char": "h",
3338
- "description": "Docker daemon hostname or IP address (dev machine or balena device) ",
3339
- "name": "dockerHost",
3340
- "hasDynamicHelp": false,
3341
- "multiple": false,
3342
- "type": "option"
3343
- },
3344
- "dockerPort": {
3345
- "description": "Docker daemon TCP port number (hint: 2375 for balena devices)",
3346
- "name": "dockerPort",
3347
- "hasDynamicHelp": false,
3348
- "multiple": false,
3349
- "type": "option"
3350
- },
3351
- "ca": {
3352
- "description": "Docker host TLS certificate authority file",
3353
- "name": "ca",
3354
- "hasDynamicHelp": false,
3355
- "multiple": false,
3356
- "type": "option"
3357
- },
3358
- "cert": {
3359
- "description": "Docker host TLS certificate file",
3360
- "name": "cert",
3361
- "hasDynamicHelp": false,
3362
- "multiple": false,
3363
- "type": "option"
3364
- },
3365
- "key": {
3366
- "description": "Docker host TLS key file",
3367
- "name": "key",
3368
- "hasDynamicHelp": false,
3369
- "multiple": false,
3370
- "type": "option"
3371
- }
3372
- },
3373
- "hasDynamicHelp": false,
3374
- "hiddenAliases": [],
3375
- "id": "preload",
3376
- "pluginAlias": "balena-cli",
3377
- "pluginName": "balena-cli",
3378
- "pluginType": "core",
3379
- "strict": true,
3380
- "enableJsonFlag": false,
3381
- "authenticated": true,
3382
- "primary": true,
3383
- "isESM": false,
3384
- "relativePath": [
3385
- "build",
3386
- "commands",
3387
- "preload",
3388
- "index.js"
3389
- ]
3390
- },
3391
- "os:configure": {
3392
- "aliases": [],
3393
- "args": {
3394
- "image": {
3395
- "description": "path to a balenaOS image file, e.g. \"rpi3.img\"",
3396
- "name": "image",
3397
- "required": true
3398
- }
3399
- },
3400
- "description": "Configure a previously downloaded balenaOS image.\n\nConfigure a previously downloaded balenaOS image for a specific device type\nor fleet.\n\nConfiguration settings such as WiFi authentication will be taken from the\nfollowing sources, in precedence order:\n1. Command-line options like `--config-wifi-ssid`\n2. A given `config.json` file specified with the `--config` option.\n3. User input through interactive prompts (text menus).\n\nThe --device-type option is used to override the fleet's default device type,\nin case of a fleet with mixed device types.\n\nThe '--dev' option is used to configure balenaOS to operate in development mode,\nallowing unauthenticated root ssh access and exposing network ports such as\nbalenaEngine's 2375 (unencrypted). This option causes `\"developmentMode\": true`\nto be inserted in the 'config.json' file in the image's boot partition. Development\nmode (as a configurable option) is applicable to balenaOS releases from early\n2022. Older releases have separate development and production balenaOS images\nthat cannot be reconfigured through 'config.json' or the '--dev' option. Do not\nconfuse the balenaOS \"development mode\" with a device's \"local mode\", the latter\nbeing a supervisor feature that allows the \"balena push\" command to push a user's\napplication directly to a device in the local network.\n\nThe '--secureBoot' option is used to configure a balenaOS installer image to opt-in\nsecure boot and disk encryption.\n\nThe --system-connection (-c) option is used to inject NetworkManager connection\nprofiles for additional network interfaces, such as cellular/GSM or additional\nWiFi or ethernet connections. This option may be passed multiple times in case there\nare multiple files to inject. See connection profile examples and reference at:\nhttps://www.balena.io/docs/reference/OS/network/2.x/\nhttps://developer.gnome.org/NetworkManager/stable/ref-settings.html\n\nFleets may be specified by fleet name or slug. Fleet slugs are\nthe recommended option, as they are unique and unambiguous. Slugs can be\nlisted with the `balena fleet list` command. Note that slugs may change if the\nfleet is renamed. Fleet names are not unique and may result in \"Fleet is\nambiguous\" errors at any time (even if it \"used to work in the past\"), for\nexample if the name clashes with a newly created public fleet, or with fleets\nfrom other balena accounts that you may be invited to join under any role.\nFor this reason, fleet names are especially discouraged in scripts (e.g. CI\nenvironments).",
3401
- "examples": [
3402
- "$ balena os configure ../path/rpi3.img --device 7cf02a6",
3403
- "$ balena os configure ../path/rpi3.img --fleet myorg/myfleet",
3404
- "$ balena os configure ../path/rpi3.img -f myorg/myfleet --device-type raspberrypi3",
3405
- "$ balena os configure ../path/rpi3.img --config myWifiConfig.json"
3406
- ],
3407
- "flags": {
3408
- "fleet": {
3409
- "char": "f",
3410
- "description": "fleet name or slug (preferred)",
3411
- "exclusive": [
3412
- "device",
3413
- "config"
3414
- ],
3415
- "name": "fleet",
3416
- "hasDynamicHelp": false,
3417
- "multiple": false,
3418
- "type": "option"
3419
- },
3420
- "device": {
3421
- "char": "d",
3422
- "description": "device UUID",
3423
- "exclusive": [
3424
- "fleet",
3425
- "device-type",
3426
- "config",
3427
- "provisioning-key-name",
3428
- "provisioning-key-expiry-date"
3429
- ],
3430
- "name": "device",
3431
- "hasDynamicHelp": false,
3432
- "multiple": false,
3433
- "type": "option"
3434
- },
3435
- "config": {
3436
- "description": "path to a pre-generated config.json file to be injected in the OS image",
3437
- "exclusive": [
3438
- "fleet",
3439
- "device",
3440
- "advanced",
3441
- "config-app-update-poll-interval",
3442
- "config-network",
3443
- "config-wifi-key",
3444
- "config-wifi-ssid",
3445
- "dev",
3446
- "secureBoot",
3447
- "device-type",
3448
- "initial-device-name",
3449
- "provisioning-key-name",
3450
- "provisioning-key-expiry-date"
3451
- ],
3452
- "name": "config",
3453
- "hasDynamicHelp": false,
3454
- "multiple": false,
3455
- "type": "option"
3456
- },
3457
- "advanced": {
3458
- "char": "v",
3459
- "description": "ask advanced configuration questions (when in interactive mode)",
3460
- "name": "advanced",
3461
- "allowNo": false,
3462
- "type": "boolean"
3463
- },
3464
- "config-app-update-poll-interval": {
3465
- "description": "supervisor cloud polling interval in minutes (e.g. for variable updates)",
3466
- "name": "config-app-update-poll-interval",
3334
+ "config-app-update-poll-interval": {
3335
+ "description": "supervisor cloud polling interval in minutes (e.g. for variable updates)",
3336
+ "name": "config-app-update-poll-interval",
3467
3337
  "hasDynamicHelp": false,
3468
3338
  "multiple": false,
3469
3339
  "type": "option"
@@ -3727,6 +3597,136 @@
3727
3597
  "versions.js"
3728
3598
  ]
3729
3599
  },
3600
+ "preload": {
3601
+ "aliases": [],
3602
+ "args": {
3603
+ "image": {
3604
+ "description": "the image file path",
3605
+ "name": "image",
3606
+ "required": true
3607
+ }
3608
+ },
3609
+ "description": "Preload a release on a disk image (or Edison zip archive).\n\nPreload a release (service images/containers) from a balena fleet, and optionally\na balenaOS splash screen, in a previously downloaded '.img' balenaOS image file\nin the local disk (a zip file is only accepted for the Intel Edison device type).\nAfter preloading, the balenaOS image file can be flashed to a device's SD card.\nWhen the device boots, it will not need to download the release, as it was\npreloaded. This is usually combined with release pinning\n(https://www.balena.io/docs/learn/deploy/release-strategy/release-policy/)\nto avoid the device downloading a newer release straight away, if available.\nCheck also the Preloading and Preregistering section of the balena CLI's advanced\nmasterclass document:\nhttps://www.balena.io/docs/learn/more/masterclasses/advanced-cli/#5-preloading-and-preregistering\n\nFleets may be specified by fleet name or slug. Fleet slugs are\nthe recommended option, as they are unique and unambiguous. Slugs can be\nlisted with the `balena fleet list` command. Note that slugs may change if the\nfleet is renamed. Fleet names are not unique and may result in \"Fleet is\nambiguous\" errors at any time (even if it \"used to work in the past\"), for\nexample if the name clashes with a newly created public fleet, or with fleets\nfrom other balena accounts that you may be invited to join under any role.\nFor this reason, fleet names are especially discouraged in scripts (e.g. CI\nenvironments).\n\nNote that the this command requires Docker to be installed, as further detailed\nin the balena CLI's installation instructions:\nhttps://github.com/balena-io/balena-cli/blob/master/INSTALL.md\nThe `--dockerHost` and `--dockerPort` flags allow a remote Docker engine to\nbe used, however the image file must be accessible to the remote Docker engine\non the same path given on the command line. This is because Docker's bind mount\nfeature is used to \"share\" the image with a container that performs the preload.",
3610
+ "examples": [
3611
+ "$ balena preload balena.img --fleet MyFleet --commit e1f2592fc6ee949e68756d4f4a48e49bff8d72a0",
3612
+ "$ balena preload balena.img --fleet myorg/myfleet --splash-image image.png",
3613
+ "$ balena preload balena.img"
3614
+ ],
3615
+ "flags": {
3616
+ "fleet": {
3617
+ "char": "f",
3618
+ "description": "fleet name or slug (preferred)",
3619
+ "name": "fleet",
3620
+ "hasDynamicHelp": false,
3621
+ "multiple": false,
3622
+ "type": "option"
3623
+ },
3624
+ "commit": {
3625
+ "char": "c",
3626
+ "description": "The commit hash of the release to preload. Use \"current\" to specify the current\nrelease (ignored if no appId is given). The current release is usually also the\nlatest, but can be pinned to a specific release. See:\nhttps://www.balena.io/docs/learn/deploy/release-strategy/release-policy/\nhttps://www.balena.io/docs/learn/more/masterclasses/fleet-management/#63-pin-using-the-api\nhttps://github.com/balena-io-examples/staged-releases",
3627
+ "name": "commit",
3628
+ "hasDynamicHelp": false,
3629
+ "multiple": false,
3630
+ "type": "option"
3631
+ },
3632
+ "splash-image": {
3633
+ "char": "s",
3634
+ "description": "path to a png image to replace the splash screen",
3635
+ "name": "splash-image",
3636
+ "hasDynamicHelp": false,
3637
+ "multiple": false,
3638
+ "type": "option"
3639
+ },
3640
+ "dont-check-arch": {
3641
+ "description": "disable architecture compatibility check between image and fleet",
3642
+ "name": "dont-check-arch",
3643
+ "allowNo": false,
3644
+ "type": "boolean"
3645
+ },
3646
+ "pin-device-to-release": {
3647
+ "char": "p",
3648
+ "description": "pin the preloaded device to the preloaded release on provision",
3649
+ "name": "pin-device-to-release",
3650
+ "allowNo": true,
3651
+ "type": "boolean"
3652
+ },
3653
+ "additional-space": {
3654
+ "description": "expand the image by this amount of bytes instead of automatically estimating the required amount",
3655
+ "name": "additional-space",
3656
+ "hasDynamicHelp": false,
3657
+ "multiple": false,
3658
+ "type": "option"
3659
+ },
3660
+ "add-certificate": {
3661
+ "description": "Add the given certificate (in PEM format) to /etc/ssl/certs in the preloading container.\nThe file name must end with '.crt' and must not be already contained in the preloader's\n/etc/ssl/certs folder.\nCan be repeated to add multiple certificates.",
3662
+ "name": "add-certificate",
3663
+ "hasDynamicHelp": false,
3664
+ "multiple": true,
3665
+ "type": "option"
3666
+ },
3667
+ "docker": {
3668
+ "char": "P",
3669
+ "description": "Path to a local docker socket (e.g. /var/run/docker.sock)",
3670
+ "name": "docker",
3671
+ "hasDynamicHelp": false,
3672
+ "multiple": false,
3673
+ "type": "option"
3674
+ },
3675
+ "dockerHost": {
3676
+ "char": "h",
3677
+ "description": "Docker daemon hostname or IP address (dev machine or balena device) ",
3678
+ "name": "dockerHost",
3679
+ "hasDynamicHelp": false,
3680
+ "multiple": false,
3681
+ "type": "option"
3682
+ },
3683
+ "dockerPort": {
3684
+ "description": "Docker daemon TCP port number (hint: 2375 for balena devices)",
3685
+ "name": "dockerPort",
3686
+ "hasDynamicHelp": false,
3687
+ "multiple": false,
3688
+ "type": "option"
3689
+ },
3690
+ "ca": {
3691
+ "description": "Docker host TLS certificate authority file",
3692
+ "name": "ca",
3693
+ "hasDynamicHelp": false,
3694
+ "multiple": false,
3695
+ "type": "option"
3696
+ },
3697
+ "cert": {
3698
+ "description": "Docker host TLS certificate file",
3699
+ "name": "cert",
3700
+ "hasDynamicHelp": false,
3701
+ "multiple": false,
3702
+ "type": "option"
3703
+ },
3704
+ "key": {
3705
+ "description": "Docker host TLS key file",
3706
+ "name": "key",
3707
+ "hasDynamicHelp": false,
3708
+ "multiple": false,
3709
+ "type": "option"
3710
+ }
3711
+ },
3712
+ "hasDynamicHelp": false,
3713
+ "hiddenAliases": [],
3714
+ "id": "preload",
3715
+ "pluginAlias": "balena-cli",
3716
+ "pluginName": "balena-cli",
3717
+ "pluginType": "core",
3718
+ "strict": true,
3719
+ "enableJsonFlag": false,
3720
+ "authenticated": true,
3721
+ "primary": true,
3722
+ "isESM": false,
3723
+ "relativePath": [
3724
+ "build",
3725
+ "commands",
3726
+ "preload",
3727
+ "index.js"
3728
+ ]
3729
+ },
3730
3730
  "push": {
3731
3731
  "aliases": [],
3732
3732
  "args": {
@@ -4313,6 +4313,67 @@
4313
4313
  "index.js"
4314
4314
  ]
4315
4315
  },
4316
+ "support": {
4317
+ "aliases": [],
4318
+ "args": {
4319
+ "action": {
4320
+ "description": "enable|disable support access",
4321
+ "name": "action",
4322
+ "options": [
4323
+ "enable",
4324
+ "disable"
4325
+ ]
4326
+ }
4327
+ },
4328
+ "description": "Grant or revoke support access for devices or fleets.\n\nGrant or revoke balena support agent access to devices or fleets\non balenaCloud. (This command does not apply to openBalena.)\nAccess will be automatically revoked once the specified duration has elapsed.\n\nDuration defaults to 24h, but can be specified using --duration flag in days\nor hours, e.g. '12h', '2d'.\n\nBoth --device and --fleet flags accept multiple values, specified as\na comma-separated list (with no spaces).\n\nFleets may be specified by fleet name or slug. Fleet slugs are\nthe recommended option, as they are unique and unambiguous. Slugs can be\nlisted with the `balena fleet list` command. Note that slugs may change if the\nfleet is renamed. Fleet names are not unique and may result in \"Fleet is\nambiguous\" errors at any time (even if it \"used to work in the past\"), for\nexample if the name clashes with a newly created public fleet, or with fleets\nfrom other balena accounts that you may be invited to join under any role.\nFor this reason, fleet names are especially discouraged in scripts (e.g. CI\nenvironments).",
4329
+ "examples": [
4330
+ "balena support enable --device ab346f,cd457a --duration 3d",
4331
+ "balena support enable --fleet myFleet --duration 12h",
4332
+ "balena support disable -f myorg/myfleet"
4333
+ ],
4334
+ "flags": {
4335
+ "device": {
4336
+ "char": "d",
4337
+ "description": "comma-separated list (no spaces) of device UUIDs",
4338
+ "name": "device",
4339
+ "hasDynamicHelp": false,
4340
+ "multiple": false,
4341
+ "type": "option"
4342
+ },
4343
+ "fleet": {
4344
+ "char": "f",
4345
+ "description": "comma-separated list (no spaces) of fleet names or slugs (preferred)",
4346
+ "name": "fleet",
4347
+ "hasDynamicHelp": false,
4348
+ "multiple": false,
4349
+ "type": "option"
4350
+ },
4351
+ "duration": {
4352
+ "char": "t",
4353
+ "description": "length of time to enable support for, in (h)ours or (d)ays, e.g. 12h, 2d",
4354
+ "name": "duration",
4355
+ "hasDynamicHelp": false,
4356
+ "multiple": false,
4357
+ "type": "option"
4358
+ }
4359
+ },
4360
+ "hasDynamicHelp": false,
4361
+ "hiddenAliases": [],
4362
+ "id": "support",
4363
+ "pluginAlias": "balena-cli",
4364
+ "pluginName": "balena-cli",
4365
+ "pluginType": "core",
4366
+ "strict": true,
4367
+ "enableJsonFlag": false,
4368
+ "authenticated": true,
4369
+ "isESM": false,
4370
+ "relativePath": [
4371
+ "build",
4372
+ "commands",
4373
+ "support",
4374
+ "index.js"
4375
+ ]
4376
+ },
4316
4377
  "ssh-key:add": {
4317
4378
  "aliases": [],
4318
4379
  "args": {
@@ -4448,67 +4509,6 @@
4448
4509
  "rm.js"
4449
4510
  ]
4450
4511
  },
4451
- "support": {
4452
- "aliases": [],
4453
- "args": {
4454
- "action": {
4455
- "description": "enable|disable support access",
4456
- "name": "action",
4457
- "options": [
4458
- "enable",
4459
- "disable"
4460
- ]
4461
- }
4462
- },
4463
- "description": "Grant or revoke support access for devices or fleets.\n\nGrant or revoke balena support agent access to devices or fleets\non balenaCloud. (This command does not apply to openBalena.)\nAccess will be automatically revoked once the specified duration has elapsed.\n\nDuration defaults to 24h, but can be specified using --duration flag in days\nor hours, e.g. '12h', '2d'.\n\nBoth --device and --fleet flags accept multiple values, specified as\na comma-separated list (with no spaces).\n\nFleets may be specified by fleet name or slug. Fleet slugs are\nthe recommended option, as they are unique and unambiguous. Slugs can be\nlisted with the `balena fleet list` command. Note that slugs may change if the\nfleet is renamed. Fleet names are not unique and may result in \"Fleet is\nambiguous\" errors at any time (even if it \"used to work in the past\"), for\nexample if the name clashes with a newly created public fleet, or with fleets\nfrom other balena accounts that you may be invited to join under any role.\nFor this reason, fleet names are especially discouraged in scripts (e.g. CI\nenvironments).",
4464
- "examples": [
4465
- "balena support enable --device ab346f,cd457a --duration 3d",
4466
- "balena support enable --fleet myFleet --duration 12h",
4467
- "balena support disable -f myorg/myfleet"
4468
- ],
4469
- "flags": {
4470
- "device": {
4471
- "char": "d",
4472
- "description": "comma-separated list (no spaces) of device UUIDs",
4473
- "name": "device",
4474
- "hasDynamicHelp": false,
4475
- "multiple": false,
4476
- "type": "option"
4477
- },
4478
- "fleet": {
4479
- "char": "f",
4480
- "description": "comma-separated list (no spaces) of fleet names or slugs (preferred)",
4481
- "name": "fleet",
4482
- "hasDynamicHelp": false,
4483
- "multiple": false,
4484
- "type": "option"
4485
- },
4486
- "duration": {
4487
- "char": "t",
4488
- "description": "length of time to enable support for, in (h)ours or (d)ays, e.g. 12h, 2d",
4489
- "name": "duration",
4490
- "hasDynamicHelp": false,
4491
- "multiple": false,
4492
- "type": "option"
4493
- }
4494
- },
4495
- "hasDynamicHelp": false,
4496
- "hiddenAliases": [],
4497
- "id": "support",
4498
- "pluginAlias": "balena-cli",
4499
- "pluginName": "balena-cli",
4500
- "pluginType": "core",
4501
- "strict": true,
4502
- "enableJsonFlag": false,
4503
- "authenticated": true,
4504
- "isESM": false,
4505
- "relativePath": [
4506
- "build",
4507
- "commands",
4508
- "support",
4509
- "index.js"
4510
- ]
4511
- },
4512
4512
  "tag:list": {
4513
4513
  "aliases": [],
4514
4514
  "args": {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "balena-cli",
3
- "version": "23.2.8-build-validate-installer-secureboot-b138ce3c6f2c34d53689a364b809e6dd2ae5b203-2",
3
+ "version": "23.2.8-build-renovate-aws-actions-configure-aws-credentials-5-x-2dab3b820be76f5cb24e9cdea237a63a5745fd66-1",
4
4
  "description": "The official balena Command Line Interface",
5
5
  "main": "./build/app.js",
6
6
  "homepage": "https://github.com/balena-io/balena-cli",
@@ -262,6 +262,6 @@
262
262
  "balena-request": "14.0.6"
263
263
  },
264
264
  "versionist": {
265
- "publishedAt": "2025-12-08T18:19:12.318Z"
265
+ "publishedAt": "2025-12-08T19:54:24.803Z"
266
266
  }
267
267
  }
@@ -166,12 +166,6 @@ export async function readAndValidateConfigJson(path: string) {
166
166
  ) {
167
167
  throw new ExpectedError('Missing or invalid deviceType in config.json');
168
168
  }
169
- const secureboot = configJson.installer?.secureboot;
170
- if (secureboot != null && typeof secureboot !== 'boolean') {
171
- throw new ExpectedError(
172
- `Invalid installer.secureboot in config.json: value must be a boolean, found ${typeof secureboot}: '${secureboot}'`,
173
- );
174
- }
175
169
  return configJson;
176
170
  }
177
171