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
- Install AWS CLI →
pip install awsclior via package manager. - Run →
aws configure - Provide your access key, secret key, default region, and output format.
- Thrubit will now load these settings automatically.