Closed ArjunDandagi closed 1 year ago
aws cli is able to list the profiles when there is extra space after the profile keyword
[default]
region = eu-west-1
[profile profile-include]
sso_start_url = https://example.awsapps.com/start
sso_region = eu-west-1
region = eu-west-1
[profile dev]
include_profile = profile-include
sso_account_id = 123456789012
sso_role_name = juststs
the output from aws-vault
/usr/local/bin/aws-vault login dev --debug
2023/03/02 11:36:17 aws-vault v7.0.0-rc6
2023/03/02 11:36:17 Using prompt driver: terminal
2023/03/02 11:36:17 [keyring] Considering backends: [keychain]
2023/03/02 11:36:17 Loading config file /Users/me/.aws/config
2023/03/02 11:36:17 Parsing config file /Users/me/.aws/config
2023/03/02 11:36:17 Profile 'profile-include' missing in config file
2023/03/02 11:36:17 [keyring] Querying keychain for service="aws-vault", keychain="aws-vault.keychain"
2023/03/02 11:36:17 [keyring] Found 6 results
2023/03/02 11:36:17 [keyring] Querying keychain for service="aws-vault", keychain="aws-vault.keychain"
2023/03/02 11:36:17 [keyring] Found 6 results
aws-vault: error: login: profile dev: No master credentials found
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
.aws/config
(redacted if necessary)aws-vault --debug
(redacted if necessary)