Skip to content

space.capability reference

space.capability is the permission list for one partition, the concrete form of the capability envelope. Space CLI creates it while resolving a deployment, signs it, and includes its digest in the release. The runner checks the file before it starts a service. Operators inspect this object through space deploy --plan; they do not edit it by hand.

Example

schema: space.capability
version: "1"
project_id: wildfire
partition_id: payload
rootfs_digest: sha256:<64-hex-digits>
verity_root_hash: sha256:<64-hex-digits>
allowed_apids: [288, 289]
routes: [ground]
storage_extents:
- device: payload-data
start_block: 0
block_count: 262144
network_policy: [payload-net]
runtime_handles: [gpu0]
epoch: 7
rollback_index: 4
public_key_ids: [mission-command]
delegate_key: |
-----BEGIN PUBLIC KEY-----
<public-key>
-----END PUBLIC KEY-----

Fields

FieldTypeRequiredDescription
schemastringyesMust be space.capability. Unknown fields are rejected.
versionstringyesSchema version. The current version is "1".
project_idstringyesProject that owns the services.
partition_idstringyesPartition receiving these permissions.
rootfs_digestSHA-256 digestyesExact root filesystem the runner may start.
verity_root_hashSHA-256 digestyesRoot hash dm-verity uses to verify filesystem blocks.
allowed_apidslist of integersno (default: [])CCSDS APID stream numbers the partition may use. Values range from 0 through 2047.
routeslist of stringsno (default: [])Destinations to which the partition may send messages.
storage_extentslistno (default: [])Exact block ranges the storage service may attach.
network_policylist of stringsno (default: [])Network bridges and rules assigned to the partition.
runtime_handleslist of stringsno (default: [])Target devices or accelerator queues assigned to the partition.
epochintegerno (default: 0)Permission generation. A newer generation replaces an older one.
rollback_indexintegerno (default: 0)Lowest accepted security version for this partition.
public_key_idslist of stringsno (default: [])Keys the partition may ask space-secret to use.
delegate_keyPEM public keyno (default: empty)Key that must prove possession before the runner accepts this permission list.

Storage extent

FieldTypeRequiredDescription
devicestringyesLogical storage device from the target profile.
start_blockintegeryesFirst 4 KiB block granted to the partition.
block_countintegeryesNumber of 4 KiB blocks. Must be positive.

Inspect the resolved permissions

Terminal window
space deploy payload:release --target sat-42 --plan

Check the partition name, image digest, message routes, storage range, device handles, and key IDs. The deploy command signs those exact values before it queues the release.