Getting Started with Vouch
Install the CLI, enroll a YubiKey, and start your first session
Vouch replaces static developer secrets (SSH keys, AWS access keys, GitHub PATs) with short-lived credentials derived from a FIDO2/WebAuthn (opens in new tab) hardware key assertion. This guide walks you through installing the CLI, enrolling your YubiKey, and performing your first login.
Prerequisites
- A YubiKey 5 series (or any compatible FIDO2 security key)
- A Vouch server instance, such as https://us.vouch.sh
Setting up Vouch for your company? No AWS account yet, or an AWS projects account: follow Startups. Standard AWS accounts: follow Team Rollout. Joining a team that already uses Vouch: continue below.
Step 1 – Install the CLI
Install with Homebrew:
brew install vouch-sh/tap/vouch
After installing, start the Vouch background service:
brew services start vouch
# Import GPG key
curl -fsSL https://packages.vouch.sh/gpg/vouch.asc \
| gpg --dearmor \
| sudo tee /usr/share/keyrings/vouch-archive-keyring.gpg > /dev/null
# Add repository
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/vouch-archive-keyring.gpg] https://packages.vouch.sh/apt stable main" \
| sudo tee /etc/apt/sources.list.d/vouch.list > /dev/null
# Install
sudo apt-get update && sudo apt-get install -y vouch
sudo tee /etc/yum.repos.d/vouch.repo << 'EOF'
[vouch]
name=Vouch
baseurl=https://packages.vouch.sh/rpm/$basearch/
gpgcheck=1
gpgkey=https://packages.vouch.sh/gpg/vouch.asc
enabled=1
EOF
sudo dnf install -y vouch
Install with winget (opens in new tab):
winget install SmokeTurner.Vouch
Note: Windows support is limited. The SSH agent and SSH integration are not available on Windows. Only basic authentication and credential exchange commands are supported:
enroll,login,credential aws, andcredential github.
Verify the installation
After installing, confirm the CLI is available:
vouch --version
Step 2 – Enroll your YubiKey
Enrollment registers your YubiKey with the Vouch server and links it to your identity. You only need to do this once per key.
vouch enroll --server https://us.vouch.sh
This command will:
- Display a URL and a one-time code in your terminal (using the RFC 8628 Device Authorization Grant (opens in new tab) flow).
- Open the URL in your browser (or you can navigate to it manually) and enter the one-time code.
- Ask you to verify your identity through your organization’s SSO provider.
- Prompt you to register your YubiKey as a FIDO2 credential.
- Set a PIN on the YubiKey if one has not been configured already.
- Save the server configuration locally so future commands know where to authenticate.
If your account already has a registered key — for example, you are enrolling a backup YubiKey — the browser flow asks you to verify with the existing key before the new one is registered.
Once enrollment completes, the CLI prints a confirmation and you are ready to log in.
You can manage your enrolled security keys at any time from the Vouch dashboard:

You are done with enrollment when...
vouch enrollfinishes without errors.- Your YubiKey appears on the dashboard security keys page.
- Future
vouchcommands remember the server URL without another--serverflag.
Step 3 – Connect your tools
Run the setup commands your admin sent you. For AWS:
vouch setup aws --role <ROLE_ARN>
Use the exact command your admin sent; it may include --region. SSH needs no setup. Each integration guide lists its one setup command.
Step 4 – Daily login
Each workday begins with a single vouch login. This authenticates you with your YubiKey and provisions short-lived credentials that last for 8 hours.
vouch login
Enter PIN: ****
Touch your YubiKey...
Authenticated for 8 hours
That is it. After login, every integration – SSH, AWS, Git – uses the session credentials automatically. When the 8-hour window expires, run vouch login again.
You are done with login when...
- The command reports that you are authenticated.
vouch statusshows an active session and the remaining session time.- You do not need to touch the YubiKey again until the session expires or policy requires it.
Step 5 – Use your first credential
Run a command for a tool you connected in Step 3:
# SSH authenticates with your Vouch certificate
ssh user@server
# AWS credentials are available through the configured profile
aws sts get-caller-identity --profile vouch
# Git prompts Vouch's credential helper when needed
git ls-remote https://github.com/example/private-repo.git
You are done with first use when...
- At least one tool successfully uses credentials from the active Vouch session.
- AWS commands show your assumed role, SSH accepts your Vouch certificate, or Git uses the Vouch credential helper.
- No long-lived AWS keys, SSH private keys, GitHub PATs, or registry passwords were created for the test.
Next
Set up the integrations your team uses: AWS, SSH, or GitHub.