Commands¶
yak provides a focused set of commands for AWS account and credential management.
| Command | Description |
|---|---|
yak generate |
Generate a minimal config file template |
yak setup |
Generate ~/.aws/config from your yak config |
yak login |
SSO login and credential export |
yak account |
Switch active AWS account |
yak role |
Switch active role tier |
yak export |
Export credentials without switching |
yak status |
Show current account, role, and login state |
yak accounts |
List all configured accounts |
yak roles |
List available role tiers |
Global flags¶
These flags work with every command.
| Flag | Description |
|---|---|
--help |
Show help for the command |
--version |
Print yak version |
Global environment variables¶
| Variable | Description |
|---|---|
YAK_CONFIG_FILE |
Override config file path; when unset, defaults to ~/.config/yak/config.toml |