Short-lived credentials for your agents
open sourceMITself-hostablefree
Passlet gives coding agents scoped, short-lived GitHub access that you approve on your Mac. The agent asks for specific repositories and permissions (at most three repositories and eight permissions from one owner); a native prompt shows the request and you approve with Touch ID, and Passlet mints a short-lived token through your own personal GitHub App that the agent uses with Git and gh until it expires, typically eight hours, even if the Mac goes offline. Parent tokens, refresh tokens and app secrets stay in the Mac's protected Keychain and never reach the agent. Agents on the same Mac use a local socket; agents on remote Linux or macOS machines connect over SSH socket forwarding or opt-in Tailscale, and plugins for Claude Code and Codex bundle a skill that requests and reuses grants. It's MIT licensed, from the makers of Pareto Security.
Problems it solves
- stop saving an account-wide GitHub token in a plain-text file for my coding agent
- give my agent push access to one repository for a single task and have it expire on its own
- approve each request from Claude Code for GitHub permissions with Touch ID on my Mac
- my agent runs on a remote server but my GitHub credentials should stay on my laptop
- let Codex use gh and git push with a token limited to the repos and permissions I approved
- agents on a Hetzner box or in a container need GitHub access without me copying tokens there
- keep my long-lived GitHub refresh token in the macOS Keychain instead of on the agent's machine
- see a history of which agent asked for which repository permissions and what I decided
- let a remote agent use my Mac's SSH agent for signing without a persistent tunnel
- my agent should keep working on an approved task even after my laptop goes to sleep
Features
- scoped GitHub access per task: named repositories and permissions
- native approval on the Mac with Touch ID or password
- parent tokens, refresh tokens and client secrets kept in the Keychain
- short-lived tokens usable with Git and gh after the Mac goes offline
- local socket, SSH socket forwarding or opt-in Tailscale HTTPS
- agents on macOS or Linux
- Claude Code and Codex plugins with a bundled skill
- grant cache that reuses the narrowest matching approved grant
- SSH-agent forwarding from the Mac with its normal signing approval
- audit history of requests, decisions, scopes and deliveries, without credentials
View 2 more
- passlet doctor diagnostics
- install with Homebrew or Nix/Home Manager
Limitations
- Doesn't issue AWS, Cloudflare, Fly.io or Vercel credentials yet: GitHub is the only provider, the others are coming soon1
- Approves requests only on a Mac: approval needs macOS 26 or later on Apple Silicon; Linux and Windows approval is coming soon1
- No unattended renewals: every new grant needs a person's Touch ID or password on the Mac1
- Doesn't revoke issued tokens: deleting cached grants leaves each token usable until it expires, typically after eight hours1
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what Passlet does.
- 1Password CLI 1Password CLI brings 1Password to your terminal
