> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Portable archives

## Signed portable application archives

A signed archive can carry a completed managed deploy build, including
compiled backend inputs, dependency archives, public assets, contracts and
provenance. Target credentials and resource bindings come from the target
installation.

The CLI has no archive export or install command today.

### Data product channels

A signed channel revision identifies exact archive bytes and their
predecessor. Use `bijection package channel` to seal, publish, and inspect
revisions. Consumers pin the publisher's independently verified key
fingerprint. A signed revision can declare required input names, resource
kinds, contract digests and target environment variables.

## Discover and resolve products

A catalog lists published channels and their available revisions. Its signer
chooses the publisher key trusted for each product and channel, adds discovery
tags, and declares the revision requirements for that catalog. Consumers pin
the catalog signer's independently verified key fingerprint. The catalog and
the channel publisher can use different keys.

Write a catalog like the example below. Replace each digest placeholder with
64 lowercase hexadecimal digits. Get `archive` from the signed channel
revision, and compute `manifestDigest` with `shasum -a 256` on that revision's
`revisions/<archive>/channel.json` file. `publisherKey` is the fingerprint
reported when sealing the channel.

```json theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
{
  "format": "bijection.product-catalog/v1",
  "name": "operations",
  "entries": [
    {
      "product": "warehouse-dashboard",
      "channel": "stable",
      "summary": "Inventory and fulfillment dashboard",
      "tags": ["logistics"],
      "source": "https://releases.example.com/warehouse-dashboard/stable",
      "publisherKey": "<channel-public-key-sha256>",
      "revisions": [
        {
          "revision": 1,
          "archive": "<archive-sha256>",
          "manifestDigest": "<signed-channel-json-sha256>",
          "requires": [
            { "product": "inventory", "channel": "stable", "minRevision": 2, "maxRevision": 3 }
          ]
        }
      ]
    },
    {
      "product": "inventory",
      "channel": "stable",
      "source": "https://releases.example.com/inventory/stable",
      "publisherKey": "<inventory-channel-public-key-sha256>",
      "revisions": [
        {
          "revision": 2,
          "archive": "<inventory-archive-sha256>",
          "manifestDigest": "<inventory-signed-channel-json-sha256>"
        }
      ]
    }
  ]
}
```

```sh theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
bijection package catalog seal catalog-source.json --signing-key catalog.pem --out catalog.json
bijection package list --catalog catalog.json --trusted-catalog-key "$CATALOG_KEY_ID" --tag logistics
bijection package search inventory --catalog catalog.json --trusted-catalog-key "$CATALOG_KEY_ID"
bijection package show warehouse-dashboard --catalog catalog.json --trusted-catalog-key "$CATALOG_KEY_ID"
bijection package resolve warehouse-dashboard/stable inventory/stable@2 \
  --catalog catalog.json --trusted-catalog-key "$CATALOG_KEY_ID" --format json
```

Serve the signed file over HTTPS to share it across installations. Hosted
catalogs use absolute HTTPS channel URLs. Local catalogs can also use published
channel directories relative to the signed file's directory. Discovery reads
only the signed catalog. Pass `--catalog-digest` to require the exact snapshot
reported by `catalog seal` or by an earlier discovery or resolution command.

Resolve selects one revision per product across all roots and their transitive
requirements. Bounds are inclusive. Omit `maxRevision` for an open upper bound.
Resolution tries higher revisions first for each product, backtracks when a
choice conflicts or introduces a cycle, and refuses if no acyclic plan fits
within the search bound. It reads the selected immutable channel manifests
directly and verifies their publisher, product, channel, revision and digests.
A missing or changed manifest refuses the plan. Resolution downloads no
archives and makes no installation changes.

The plan lists products in dependency order and includes each signed input
contract. Use a selected item's `source`, `channel.product`, `channel.channel`,
`trustedChannelKey` and `manifestDigest` to verify the same revision and its
archive.

```sh theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
bijection package channel inspect "$PINNED_SOURCE" \
  --product "$PRODUCT" --channel "$CHANNEL" --trusted-channel-key "$PUBLISHER_KEY_ID" \
  --expected-channel-manifest "$MANIFEST_DIGEST"
```

The catalog plan is read-only. The CLI deploys a managed build by its program
reference with `bijection deploy --program <program>`, promoting it from the
installation that built it. A published channel archive is a separate artifact distribution
path.
[Managed deploys](https://docs.bijection.com/operate/installations/deploys.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.