-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
🐛 bugSomething isn't working as expected.Something isn't working as expected.
Description
Bug Report
Current Behavior
$aws
not displayed when AWS_PROFILE set that gets credentials from a source_profile
is enabled
Expected Behavior
display $aws
Additional context/Screenshots
~/.aws/config
:
[profile base_account]
region = us-east-2
[profile other_account]
role_arn = arn:aws:iam::9873489765:role/admin_role
source_profile = base_account
region = us-east-2
base_account
has credentials in ~/.aws/credentials
, other_account
does not because it uses base_account's credentials.
Possible Solution
Read ~/.aws/config
profile setting to see if it has a source_profile
and check for credentials for that profile.
Environment
- Starship version: 1.5.4
- Shell type: zsh
- Shell version: 5.8
- Shell plugin manager: antibody
- Terminal emulator: iTerm
- Operating system: macOS 11.6.5
gegoune, ganta, tuxinaut, jaklan and prashaathr
Metadata
Metadata
Assignees
Labels
🐛 bugSomething isn't working as expected.Something isn't working as expected.