Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Passkey approvals for secret reads

Make agents ask before they read your production secrets. A protected secret can only be read after you approve the request with a passkey (Touch ID, a phone or a security key).
$ sigillo run -c prod -- pnpm deploy error: approval required https://sigillo.dev/approve/01KX8Q2M0V7T9C4J6N3R5W1Z8B Tell the user to open this URL and approve with their passkey. Then wait for them in the background with: sigillo access wait 01KX8Q2M0V7T9C4J6N3R5W1Z8B It exits 0 when they approve. Then run your command again.
The agent shows you the URL and waits. You open it, check what is asked, and approve. The agent runs the command again and it works.
agent shell Sigillo you ─────────── ─────── ─── sigillo run -c prod -- deploy ──▶ prod needs approval ◀── 403 + approval URL shows the URL ─────────────────────────────────────────────────────▶ open /approve/<id> sigillo access wait <id> ───────▶ still pending... verify the passkey ◀────────────── Approve with passkey wait exits 0 ◀─────────────────── approved sigillo run -c prod -- deploy ──▶ access granted for this CLI ◀── secrets

Turn it on

Open Settings in a project. The Approvals card has one select per environment:
SettingWhat needs approval
OffNothing. This is the default.
Selected secretsOnly the secret names you add as chips.
All secretsEvery secret in the environment, also ones added later.
Before enabling protection, open the Passkeys card:
  1. Register your passkey on a device you trust.
  2. Confirm that you are doing the setup yourself.
  3. Select Set up trusted key and confirm with that exact passkey.
  4. Enable protection in the Approvals card.
Only organization admins can complete setup or change protection. Setup cancels old invitations and disables domain auto-join. You can enable them again with a trusted admin key.
Initial setup is a trust decision. Sigillo cannot tell whether a key is software-generated or whether a real human created it. Do setup yourself on a trusted device before you enable protection. Registration alone never grants access to protected secrets.
Raising protection is one click. Lowering it (All to Selected or Off, or removing a secret) asks for your passkey, so an agent with your session cannot switch it off.

Approve a request

The Approvals tab lists pending requests and active approvals. Approve grants everything the row shows with one passkey prompt.
Review details opens the same page as the URL the CLI prints, with more choices:
  • All requested secrets are checked. Uncheck what you do not want to share.
  • One passkey prompt approves everything that is checked. Deny rejects the request.
  • An item marked no trusted passkey is in an organization that trusts none of your passkeys. You can approve the other items.
  • The note in quotes is written by the agent. The list of secrets is what you approve.
An approval belongs to the session or token that asked. It does not unlock another CLI login, another token or the browser.

How long an approval lasts

An approval ends 1 hour after its last use. An agent that keeps working is not interrupted. An idle one must ask again.
  • Revoke in the Approvals tab ends it at once.
  • API tokens can be approved with Keep until revoked, for CI that runs less than once an hour.

Ask for everything in one request

Each blocked command adds what it needs to the same pending request, so several commands print the same URL. An agent can also ask up front, with a note that tells you why:
sigillo access request -c dev -c prod --label 'Deploy website' sigillo access request -c prod --secret STRIPE_KEY # adds to the same request, same URL

Wait for the approval

In a terminal, sigillo run opens the browser, waits until you approve and then continues.
In agent shells and scripts it exits right away, so the agent can show you the URL. The agent then runs sigillo access wait in the background. It blocks until you decide:
sigillo access wait https://sigillo.dev/approve/01KX8Q2M0V7T9C4J6N3R5W1Z8B sigillo access wait 01KX8Q2M0V7T9C4J6N3R5W1Z8B --timeout 1800
ResultExit code
You approved0
You denied, the request expired, or the timeout passed (default 10 minutes)1

The dashboard asks too

Protected values are not sent to the browser until you confirm with your passkey. In the Secrets table a protected value shows a lock instead of the eye icon.
  • Clicking the lock, Show all secrets, Copy as .env or Download .env asks for the passkey once and unlocks that environment for 1 minute.
  • You can type a new value into a locked secret without revealing the old one.
  • The Event Log hides old values of protected secrets the same way.
This matters because the CLI login is a normal session, and agents can also drive a logged-in browser. Approval requires a key that your organization already trusts.
The approval page shows the project and environment names. So while an environment is protected, renaming it, changing its slug, deleting it, or renaming its project also asks for your passkey, and only works in the dashboard. sigillo environments rename and delete answer with an error.

Passkeys

Manage them in Settings, in the Passkeys card.
  • Register your first passkey and complete trusted setup before you turn approvals on.
  • An organization admin must trust each later key with an already-trusted key.
  • Check the key owner's identity and exact credential ID before you trust it.
  • A member can approve their own session once their exact key is trusted.
  • Trust in one organization does not grant trust in another.
  • A passkey belongs to one domain. On a self-hosted instance, always use the same domain to approve.

Lost keys and older deployments

Keep a second trusted admin key. If no trusted admin key remains, the organization stays locked. Deleting keys does not reset setup. An older protected organization also stays locked after upgrade until its operator verifies a recovery.
Contact the instance operator. Recovery requires identity and credential verification outside the affected session. There is no automatic reset based on your login.
After your instance gets organization passkey trust, sign out and sign in again before you add a passkey or set up trust. Logins from before the upgrade count as CLI logins, and CLI logins cannot add passkeys. The CLI keeps working without a new login.

What approvals do not cover

  • Writes. A CLI or agent can still set or delete a protected secret. It cannot read it.
  • Secret names. sigillo secrets still lists the names of protected secrets.
  • Older servers. A self-hosted instance needs to be redeployed to get approvals. Older CLI versions work against a new server: the error they print contains the approval URL.