View as .md

Vouch for Startups

Set up a new AWS account with federated access instead of IAM users

This guide sets up a new AWS account, or an existing AWS projects account, and connects it to your Google Workspace domain with Vouch. Nobody on the team gets an IAM user or access key. Access follows the email domain, every sign-in requires a hardware key, and one vouch login also covers SSH, GitHub, Docker registries, and databases.

Already have standard AWS accounts? Follow Team Rollout.

Compare Vouch with IAM user access keys, aws login, IAM Identity Center, and AWS projects.


Step 1 – Get YubiKeys for the team

Order YubiKey 5 series (opens in new tab) keys for each team member. Any FIDO2-compatible security key works, but YubiKey 5 series is recommended.


Step 2 – Create the AWS account

Already have an AWS projects account? Note its Region in AWS Settings (opens in new tab), don’t invite team members to it, and skip to Step 3.

Otherwise, AWS offers two sign-ups. Pick one.

AWS projects (new sign-up (opens in new tab)). AWS manages the account structure. The account runs in one project Region plus global services.

  1. Go to aws.amazon.com (opens in new tab) and choose Create account.
  2. Choose email, enter your company email address, verify it, and set a password. This creates your AWS Builder ID, which owns the account. (AWS is rolling this sign-up out gradually. If you see the standard sign-up instead, follow the standard account steps below.)
  3. Note the project Region in AWS Settings (opens in new tab). Developers need it in Step 5.

Standard account (advanced sign-up (opens in new tab)). You control the account and AWS Organizations from day one.

  1. Sign up with your company email address. This creates the root user.
  2. Turn on MFA for the root user. Use the root user only for Step 4.

Either way, don’t give team members AWS sign-ins: don’t invite them to the project or create IAM users. Vouch gives them access through the IAM role in Step 4, with the permissions you choose.


Step 3 – Enroll the team

Each person installs 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, and credential github.

Then enrolls with the same server:

vouch enroll --server https://us.vouch.sh

The first person to enroll from your Google Workspace domain becomes the organization owner. Everyone else on the same domain joins that organization. Initial enrollment needs no invite code or admin approval. (Enrolling an additional key later asks for a tap from a key that is already registered.)


Step 4 – Deploy AWS federation

Sign in to the account from Step 2 and open AWS CloudShell (opens in new tab); it is already signed in. In that account:

  1. Register the Vouch OIDC provider.
  2. Deploy a role with a *@yourcompany.com email-domain trust condition. Start with ReadOnlyAccess and add only what your team needs. Tips for restricting access covers single-user restrictions and ABAC session tags.
  3. Copy the role ARN. Developers need it in Step 5.

Step 5 – Configure each developer’s CLI

Each developer runs one command to configure their AWS profile:

vouch setup aws --role arn:aws:iam::123456789012:role/VouchDeveloper --region <PROJECT_REGION>

Use the role ARN from Step 4. In an AWS projects account, set --region to the project Region from Step 2; project accounts deny requests to other Regions, except for global services. In a standard account, --region is optional.


Step 6 – Log in and verify

vouch login
aws sts get-caller-identity --profile vouch

You should see your email address in the assumed role ARN:

{
  "UserId": "AROA...:alice@yourcompany.com",
  "Account": "123456789012",
  "Arn": "arn:aws:sts::123456789012:assumed-role/VouchDeveloper/alice@yourcompany.com"
}

From here, aws s3 ls --profile vouch, cdk deploy, terraform apply, and any other AWS tool works with no additional setup.


Step 7 – Add more integrations

With the same vouch login session, configure the rest of your toolchain:

IntegrationSetupDocs
SSH certificatesAutomatic after loginSSH
GitHubvouch setup githubGitHub
Docker (ECR)vouch setup dockerDocker
CodeCommitvouch setup codecommitCodeCommit
CodeArtifactvouch setup codeartifactCodeArtifact
EKSvouch setup eksEKS

Each integration is configured with one command. After setup, all integrations share the same vouch login session.


What happens when someone leaves

Deactivate their Google Workspace account. Without SCIM, also select Deactivate and Revoke credentials in the admin dashboard. With SCIM, the IdP deactivation revokes their Vouch sessions automatically. Cached AWS credentials expire within 1 hour. There are no access keys, authorized_keys entries, or PATs to revoke. Expiry details: When someone leaves.


Scaling up

As your team grows, switch to the Team Rollout playbook – it covers service enablement, onboarding, and offboarding as an ongoing process. The usual thresholds:

  • 5–15 people: Manual user management works fine. SCIM is optional.
  • 15–50 people: Set up SCIM provisioning to automate onboarding and offboarding with Google Workspace.
  • Multiple AWS accounts: See Multi-Account AWS Strategy for chaining into dev/staging/prod accounts through a single hub.
  • CI/CD gates: Add human approval gates to production deployments.
  • Compliance requirements: See Security and the Threat Model for details on how Vouch protects credentials.