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

# bijection secret

> Set, list and remove secrets: sealed values an operator sets, which only performers, route verifiers and signing keys open

## bijection secret

```text theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
A secret is a placed secret() of the app tree, named by its path: a sealed value an operator sets. Code holds only the sealed handle; a target's performer presents it (http(url, { bearer }), a receiver's auth), a route's verifier checks with it, and a secret({ alg }) key signs with it in the host. Each command here is an operator write or read; values are never printed.

Usage:
  bijection secret [flags]
  bijection secret [command]

Available Commands:
  list        List secret names, labels and public signing key IDs
  remove      Remove a secret or retire a previous public signing key
  set         Set (or rotate) a secret's value

Flags:
  -h, --help        help for secret
      --help-all    Show all commands and options, including administrative controls.
      --help-json   Print command input and output schemas as JSON without executing it.

Use "bijection secret [command] --help" for more information about a command.
```

## bijection secret list

```text theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
List secret names, labels and public signing key IDs

Usage:
  bijection secret list [flags]

Flags:
  -h, --help                    help for list
      --help-all                Show all commands and options, including administrative controls.
      --help-json               Print command input and output schemas as JSON without executing it.
      --installation string     List secrets on this installation: <project>:<name>, as my-app:prod.
      --sign-in-source string   Select the installed authentication source for business sign-in
      --url string              List secrets on a private installation at this explicit origin.
```

## bijection secret remove

```text theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
Remove a secret or retire a previous public signing key

Usage:
  bijection secret remove <path> [flags]

Flags:
      --app string              Remove a credential of the mounted app at this tree path on a FactStore Root
  -h, --help                    help for remove
      --help-all                Show all commands and options, including administrative controls.
      --help-json               Print command input and output schemas as JSON without executing it.
      --installation string     Remove a secret on this installation: <project>:<name>, as my-app:prod.
      --kid string              Retire one previous public signing key from the set. Use secret list to see the IDs. The first ID is the current signing key
      --route string            Remove the verifying secret of one route, "<METHOD> <path>" (a mounted app's with --app), on a FactStore Root
      --sign-in-source string   Select the installed authentication source for business sign-in
      --url string              Remove a secret on a private installation at this explicit origin.
```

## bijection secret set

```text theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
The value is read from piped stdin or --from-file, never from an argument: nonempty UTF-8, at most 8 KiB, every byte preserved (use printf, not echo, when no newline is intended). The installation seals it before it is stored; no command, function or console ever shows it again. Setting a name again rotates it.

Usage:
  bijection secret set <path> [flags]

Examples:
  bijection secret set billing.stripe
  bijection secret set billing.stripe/acme --from-file acme.key
  bijection secret set receipts.key --alg ed25519 --from-file receipts.pem

Flags:
      --alg string              Set material for a Program key declared secret({ alg, uses }), read through ctx.get(key.sign(data)), key.mac and key.publicJwk: ed25519, rs256 and es256 sign (a PKCS#8 PEM private key; es256 is P-256, such as an Apple .p8 key), hmac-sha256 MACs (at least 32 bytes). The material never leaves the host (ed25519, rs256, es256, hmac-sha256)
      --app string              Seal a credential of the mounted app at this tree path (its own, opened only by that app's performers) on a FactStore Root; with --route, name a route of that mounted app
      --destination string      A target's tree path whose performer may present it (a route a secret verifies is named with --route); repeatable. Any other target is refused (default "[]")
      --from-file string        Read the exact value from a private file instead of piped stdin
  -h, --help                    help for set
      --help-all                Show all commands and options, including administrative controls.
      --help-json               Print command input and output schemas as JSON without executing it.
      --installation string     Set a secret on this installation: <project>:<name>, as my-app:prod.
      --label string            A label the secret carries beyond its own secret:<path> tag, such as a family member's; repeatable (default "[]")
      --route string            Seal the verifying secret of one route, "<METHOD> <path>" as its app declares it (for a mounted app, also pass --app): a shared-bearer route's bearer, a webhook's signing secret, a trading partner's credential or the WorkOS security-event route's signing secret. It verifies only that route, on the installation itself
      --sign-in-source string   Select the installed authentication source for business sign-in
      --url string              Set a secret on a private installation at this explicit origin.
```


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