Skip to main content
Wraps deploys infrastructure directly to your AWS account, so it needs valid AWS credentials at both setup time and runtime. This guide covers every method supported.

Prerequisites

  • An AWS account (create one free)
  • Node.js 20 or later
  • Wraps CLI installed or available via npx @wraps.dev/cli
The AWS Free Tier includes 3,000 SES emails per month for the first 12 months, making it free to get started.

Authentication methods

Interactive setup wizard

If you’re starting from scratch, the setup wizard walks you through every step interactively:
wraps aws setup
The wizard detects your current state — whether you have the AWS CLI installed, existing credentials, or an expired SSO session — and guides you through the right path. Flags:
FlagDescription
-y, --yesSkip confirmation prompts

Diagnosing issues

Run the doctor command to get a full diagnostic report of your AWS configuration:
wraps aws doctor
The doctor checks:
  • AWS CLI installation and version
  • Credentials file (~/.aws/credentials)
  • Config file (~/.aws/config)
  • Whether credentials can actually connect to AWS
  • The active region
  • SES sandbox vs. production access status
  • SSO session validity and expiry
Example output:
  [✓] AWS CLI v2.15.0 installed
  [✓] Credentials file exists (~/.aws/credentials)
  [✓] Can connect to AWS (account: 123456789012)
  [✓] Region set: us-east-1
  [✓] SES has production access
If you see SES is in sandbox mode, you can only send to verified email addresses. Request production access in the AWS SES console to remove the restriction.

Required IAM permissions

To see the exact permissions Wraps needs before deploying:
# All services
wraps permissions

# Email only
wraps permissions --service email

# JSON for policy documents
wraps permissions --json

# For a specific preset
wraps permissions --preset production
This lets you create a least-privilege IAM policy for production instead of using AdministratorAccess.

Build docs developers (and LLMs) love