Interactive command — Provides guided setup for AWS profiles and credentials.
Overview
Thefjall profile command manages AWS profiles, making it easy to switch between different accounts, regions, and environments.
Usage
Subcommands
Get Current Profile
Display information about the current AWS profile:Set Active Profile
Switch between profiles:Add New Profile
Add a new AWS profile with access key credentials:- Profile name
- AWS Access Key ID
- AWS Secret Access Key
- Default region
Update Profile
Update access key credentials for an existing profile:Unset Profile
Clear current AWS credentials:Generate Profile Config
Generate AWS config template from current account:Examples
Profile with Options
Set profile with additional options:Profile Storage
Fjall uses standard AWS credential files (~/.aws/credentials and ~/.aws/config) to store profile information, ensuring compatibility with AWS CLI and SDKs.
The
fjall profile set command only sets the active profile for Fjall commands. To use the same profile with AWS CLI, you need to set the AWS_PROFILE environment variable separately: export AWS_PROFILE=productionSecurity Best Practices
- Use SSO for production Configure SSO in your AWS config file for production environments
- Enable MFA Configure MFA in your AWS account settings
-
Rotate credentials regularly
-
Clear unused credentials
Troubleshooting
Invalid Credentials
Profile Not Found
Profile settings persist across projects. Set once, use everywhere.