Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new aws sso workflow changes #1261

Open
3 tasks done
FernandoMiguel opened this issue Jan 8, 2025 · 0 comments
Open
3 tasks done

new aws sso workflow changes #1261

FernandoMiguel opened this issue Jan 8, 2025 · 0 comments

Comments

@FernandoMiguel
Copy link
Collaborator

  • I am using the latest release of AWS Vault
  • I have provided my .aws/config (redacted if necessary)
  • I have provided the debug output using aws-vault --debug (redacted if necessary)

aws-vault v7.2.0 (from brew)

[profile dev]
sso_start_url = https://XXXX.awsapps.com/start
sso_region = us-east-1
sso_account_id = XXXXX
sso_role_name = AdministratorAccess
region = us-east-1
$ aws-vault login --debug dev
2025/01/08 11:05:47 aws-vault v7.2.0
2025/01/08 11:05:47 Using prompt driver: terminal
2025/01/08 11:05:47 [keyring] Considering backends: [keychain]
2025/01/08 11:05:47 Loading config file /Users/fernando/.aws/config
2025/01/08 11:05:47 Parsing config file /Users/fernando/.aws/config
2025/01/08 11:05:47 [keyring] Querying keychain for service="aws-vault", keychain="aws-vault.keychain"
2025/01/08 11:05:47 [keyring] Found 0 results
2025/01/08 11:05:47 profile ea-dev-legacy: using SSO role credentials
2025/01/08 11:05:47 [keyring] Querying keychain for service="aws-vault", keychain="aws-vault.keychain"
2025/01/08 11:05:47 [keyring] Found 0 results
2025/01/08 11:05:47 [keyring] Querying keychain for service="aws-vault", keychain="aws-vault.keychain"
2025/01/08 11:05:47 [keyring] Found 0 results
2025/01/08 11:05:47 [keyring] Querying keychain for service="aws-vault", account="sso.GetRoleCredentials,XXX,,xxxx", keychain="aws-vault.keychain"
2025/01/08 11:05:47 [keyring] No results found
2025/01/08 11:05:47 [keyring] Querying keychain for service="aws-vault", account="oidc:https://XXXXX.awsapps.com/start", keychain="aws-vault.keychain"
2025/01/08 11:05:47 [keyring] No results found
2025/01/08 11:05:47 Created new OIDC client (expires at: 2025-04-08 12:05:47 +0100 WEST)
2025/01/08 11:05:47 Created OIDC device code for https://XXXXX.awsapps.com/start (expires in: 600s)
2025/01/08 11:05:47 Opening SSO authorization page in browser
Opening the SSO authorization page in your default browser (use Ctrl-C to abort)
https://XXXXX.awsapps.com/start/#/device?user_code=XXXXXXX

both exec and login no longer work today.
I suspect aws sso workflow has changed.
now, instead of getting valid creds, https://XXXX.awsapps.com/start/ page opens.
reading https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html , seems a new field is required
SSO registration scopes [None]: sso:account:access

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant