yak setup¶
Generate ~/.aws/config from your yak configuration.
Usage¶
Description¶
Reads ~/.config/yak/config.toml, resolves all secret values, and writes a valid ~/.aws/config with one [profile name] block per configured account. Per-account default_role (falling back to global default_role) is used to determine which role goes into each profile block.
Run yak setup after:
- First-time setup
- Adding or removing accounts
- Changing role names in config
- Changing
aws.sso_start_url
Flags¶
| Flag | Description |
|---|---|
--dry-run |
Print what would be written without touching any files |
Example¶
Generated output¶
For each account, yak writes a profile block like: