This guide walks you through setting up cordon to inject a credential into an HTTPS request — using httpbin.org/headers so you can see the injected header in the response. It’s also a good way to confirm everything is working as expected before configuring your real API routes. Cordon is project-first — runningDocumentation Index
Fetch the complete documentation index at: https://docs.codezero.io/llms.txt
Use this file to discover all available pages before exploring further.
cordon setup in a project directory creates a cordon.toml there with the project’s routes and credentials isolated from other projects. A user-wide scope is also available for tools that span projects. See Scopes for details.
1. Run setup
httpbin.org as the host, httpbin as the route name, header as the auth type, Authorization as the header name, accept the default Bearer scheme, choose keyring as the secret source, and enter httpbin as the keyring account. Say no when asked to install cordon as a background service for this quickstart.
After setup, store a test token in the keyring:
2. Start the proxy
3. Route traffic through the proxy
In a separate terminal:Authorization header — you never sent it. Cordon intercepted the request, matched the httpbin.org route, and injected the credential from your keyring.
You can add more routes with cordon route add, or edit existing ones with cordon route edit <name>. Prefer those commands over hand-editing cordon.toml; they validate the route and write the safer configuration for you.
Next steps
Claude Code Setup
One-command setup for AI agent workflows
1Password Guide
Detailed 1Password setup and security model
Secret Sources
Configure 1Password and OS keyring
CLI Reference
All CLI commands and options