1. Install AWS CLI
Download and install the AWS CLI v2 for Windows:
👉 AWS CLI v2 MSI Installer (64-bit)
Verify installation:
aws --version
2. Create Access Keys
In the AWS Console:
- Go to Security credentials
- Under Access keys, click Create access key
- Save both:
AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEY(⚠️ only shown once)
3. Configure Credentials
Run in PowerShell:
aws configure
Enter:
AWS Access Key ID: <your_key_id>
AWS Secret Access Key: <your_secret_key>
Default region name: ap-northeast-1
Default output format: json
4. Verify Setup
aws sts get-caller-identity
Expected output:
{
"UserId": "...",
"Account": "123456789012",
"Arn": "arn:aws:iam::123456789012:user/your-user"
}
✅ Done! You are now ready to use AWS CLI on Windows.
Example:
aws s3 ls