> ## 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.

# Administrative credentials

Manage personal and automation credentials with their actual scope, expiry and current role restrictions. Application end-user authentication is documented under [Authentication](https://docs.bijection.com/access/authentication), and installation-local service keys, export secrets and development keys are documented under [Installation credentials](https://docs.bijection.com/operate/installations/credentials.md).

## Access: sessions, credentials and delegations

`bijection access` and **Team Settings → Access** inspect and revoke
management-side authority:

| Subject | What it covers | Revocation |
| - | - | - |
| Sign-in sessions | Your active console and CLI device sessions | Ends the session (`EndSession`) |
| Personal and team credentials | Personal access tokens, session credentials, team tokens and sponsored principals' credentials | Revokes the credential and any credential minted from it (`RevokeCredential`) |
| Delegations | Organization-sponsored service principals and their bounded grants | Retires the principal, its grants and its credential lineage (`RetireSponsoredPrincipal`) |

```sh theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
bijection access list
bijection access list --organization <org-id>
bijection access revoke <id>
```

`bijection access revoke` selects the right command from the ID you pass. See
[`bijection access`](https://docs.bijection.com/reference/cli/access) for all options.

## Personal access token limits

Management personal access tokens always expire. A requested expiry may not
exceed the team's maximum lifetime, and a token created without one gets that
maximum. A token unused for the team's idle timeout expires, and so does
every token of an account that has not signed in for that long; a later
sign-in does not revive it. The installation allows at most 90 days of
lifetime and 30 days of idleness. A team administrator can shorten both in
organization settings; a shorter maximum also shortens current tokens from
their issuance. Use is recorded at most once an hour, and
`bijection organization token list` shows sponsored credential standings.
`bijection access list` shows your sessions and credentials, and
`bijection access revoke` ends one: see
[`bijection access`](https://docs.bijection.com/reference/cli/access).

## Recover operator access through Bootstrap

Use `bijection admin recover` to read the installation's current signing
coordinates. It returns the writer, active predecessor when present, the
Bootstrap descriptor digest and the maximum signing window. Pass
`--url <url>` to address a hosted installation. The command defaults to
the local installation.

Save the coordinates and prepare a statement on an offline machine. The
arguments file for a rotation contains `action` set to `rotateRoot`, the
exact `predecessor` object from the target, and a `steward` object with a
fresh UUID in `identity` and the Ed25519 public key as 32 byte values in
`publicKey`. The receiver accepts the statement during the specified
window, up to five minutes long.

```sh theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
bijection admin recover --url "$INSTALLATION_URL" > target.json
bijection admin recover prepare --target target.json --arguments rotate.json \
  --not-before "$WINDOW_START" --not-after "$WINDOW_END" --out statement.json
bijection admin recover message --statement statement.json --purpose authorize \
  --out authorize.bin
bijection admin recover message --statement statement.json --purpose enroll-steward \
  --out enroll-steward.bin
```

Each participating owner reviews the exact statement and signs the
authorization message with their enrolled Ed25519 key. The incoming
steward signs the enrollment message with the new key. Keep the private
keys with their respective signers. Assemble `proofs.json` with an
`authorize` array of at least two objects containing `index` and
`signature`, and a `steward` field containing the steward's signature.
Roster indices run from zero to two in ascending public-key-byte order.
Write signatures as lowercase hex.

```sh theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
bijection admin recover pack --statement statement.json --proofs proofs.json --out recovery.bin
bijection admin recover --url "$INSTALLATION_URL" --presentation recovery.bin
```

The API accepts the envelope as `application/octet-stream` and returns
the ordered receipt. Read that receipt later with
`GET /api/bijection/recover?attempt=<uuid>` and a current administrator
key that permits `ReadRecovery`. The receipt identifies an
ordered decision. Effective withdrawal also depends on the fences for
previously admitted work and custody permits. For fresh enrollment, the arguments name
`installGenesis` with a `charter` containing the three ordered `owners`,
the `steward`, the release's `services` commitments, and the 32-byte
Ed25519 public `controlKey` for the first Control verifier. Set `creator`
to the authenticated Control actor UUID for a Control-created installation,
or to `null` for a standalone installation. Readmission also signs the destination's initial `controlKey`. Use separate keys for
the owner roster and the steward. Use
`bijection admin recover charter --arguments <file>` to calculate the
digest supplied to placement. For Hosted, pass it to the authenticated
`bijection installation create` command as `--bootstrap-charter`.
For a local installation, keep
`bijection local session --bootstrap --charter <sha256>` open in a
separate terminal while submitting the enrollment envelope. The session
holds the writer and prints the URL for `bijection admin recover`.
Use `enroll-owner` to prepare the message
all three incoming keys sign, and put those indexed signatures in
`enrollOwner` alongside the steward's proof. Roster replacement uses
`replaceRoster`, the target's `predecessor` and the incoming `owners`,
with both the existing owner threshold and all three incoming proofs.

### Make the bound service bundle available

Supply the release's compiled genesis Program and its exact
credential-free compiler request. The serving binary can embed them.
With a mounted release depot, set `BIJECTION_GENESIS_ARTIFACT_DEPOT` to
its directory. Store the pair as `request.json` and `program.json`
under `<compiler-request-sha256>/<analyzed-image-sha256>/`.

The server verifies the reviewed authority lock, image, executable
inventory and service-grant commitments. An existing installation
continues to select the bundle pinned at birth. The offline recovery
route opens independently of the depot. Fresh enrollment and ordinary
service activation require the bound bundle.

### Authorize key issuance as the steward

The nominated steward can sign an ordinary scoped key-issuance request
in Hosted and standalone for `POST /api/bijection/admin_keys/issue`. Sign the concatenation of the
following values with the enrolled Ed25519 key.

1. The bytes of `bijection/bootstrap/steward-key-issue/v1` followed by one
   zero byte.
2. The 32 bytes of the current root grant digest. Derive it by hashing
   `bijection/bootstrap/root-grant/v1`, the installation UUID bytes, the
   incarnation UUID bytes, the 32 history digest bytes and the
   eight-byte big-endian generation from the saved signing target.
3. The 16 bytes of the nominated steward UUID.
4. The 32 SHA-256 bytes of the exact JSON request body.
5. The expiration in Unix milliseconds as eight big-endian bytes.
   It must fall within five minutes of acceptance.

Set `Authorization` to `Bijection bootstrap-steward.<proof>`, where
`<proof>` is the expiration followed by the 64-byte signature, in
unpadded URL-safe base64. The issuer uses the ordinary scoped key
receipt and live grant checks.

### Control-issued actor and team keys

Bootstrap enrolls Control's Ed25519 verification key and prints its
revocable issuer grant under the nominated steward. The cell signs each
issue request with the enrolled Control key.

For Control actor and team requests, send
`Bijection-Control-Statement: <expiry-ms>.<signature>` alongside
`Authorization`. The signature uses unpadded base64url and covers the
following bytes in order.

1. The domain `bijection.control.admin-key.issue.v1` for issue or
   `bijection.control.admin-key.revoke.v1` for revoke, or
   `bijection.control.admin-key.remove.v1` for removal, followed by a zero byte.
2. The 16 installation UUID bytes.
3. The expiry in Unix milliseconds as eight big-endian bytes.
4. The 32 SHA-256 bytes of the exact JSON request body.

The Root verifies the signature against the live Control key. The expiry
must be in the future and at most two minutes after the accepting clock.
A Control issue response includes `control_binding`, the reusable
binding's grant id. Include that id in the signed revoke body for removal.
Keys ends the binding when the revocation leaves it with no live sibling.

For a standalone deployment, use a current issued key with the Deploy
operation for publication and the corresponding read operations for
inspection. Supply the standalone URL and issued key through
`BIJECTION_SELF_HOSTED_URL` and `BIJECTION_SELF_HOSTED_ADMIN_KEY`.
After a Root rotation, request a key from the newly enrolled steward.

To manage issuer trust on a standalone installation, have the nominated
steward sign a key-issuance request with `"issuer_trust": true` and
`"is_read_only": false`. The grant expires with the key and authorizes
`bijection issuer trust` and `bijection issuer revoke` for installation-scope
issuers. Hosted issuer trust and identity recovery still require the
installation creator’s `sessions.identityAdmin` grant.

For a local CLI profile, save the issued administrator key as the single
line of the private `issued-admin-key` file in the `stateDirectory` reported
by `bijection local session --bootstrap`. Use mode 0600 on Unix. Close the
Bootstrap session before launching an ordinary local session.


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