AWS CLI Configuration Basics

The AWS Command Line Interface (CLI) and SDKs all use a shared credentials file to manage authentication. Thrubit uses this same system, so if you already have the AWS CLI configured, Thrubit will automatically work with those credentials.

Configuration Files

AWS looks for credentials and configuration in these locations:

  • Credentials file:
    ~/.aws/credentials
  • Config file:
    ~/.aws/config

Both files use INI format.

Example: ~/.aws/credentials

[default]
aws_access_key_id = YOUR_ACCESS_KEY
aws_secret_access_key = YOUR_SECRET_KEY

[dev]
aws_access_key_id = YOUR_DEV_KEY
aws_secret_access_key = YOUR_DEV_SECRET

Example: ~/.aws/config

[default]
region = us-west-2

[profile dev]
region = us-east-1
output = json

Selecting a Profile

If you have more than one profile, choose one before running Thrubit or AWS CLI:

export AWS_PROFILE=dev

Quick Start

  1. Install AWS CLI → pip install awscli or via package manager.
  2. Run → aws configure
  3. Provide your access key, secret key, default region, and output format.
  4. Thrubit will now load these settings automatically.

Try our AWS Step Functions Emulator

Trusted by developers who want faster feedback loops, smarter debugging, and zero-surprise cloud bills.

Join the Waitlist