ryansonshine / aws-sso-creds-helper

A command line util for using SSO credentials with AWS SDK on AWS CLI v2 until native support is released
MIT License
55 stars 8 forks source link

Default profile not working when using [profile default] #29

Closed Robvdhout closed 2 years ago

Robvdhout commented 2 years ago

Current Behavior

The default profile only works when using [default] and does not work when using [profile default] as the profile name in .aws\config

Expected Behavior

I would expect it to work when using [profile default]

Steps to Reproduce the Problem

  1. Use [profile default] as the profile name in .aws/config
  2. Run ssocreds or ssocreds -p default
  3. It will error with "No profile found for default"

Environment

Robvdhout commented 2 years ago

Oh dear, I found myself going down a miserable rabbit hole seeing why this would be an issue. Ignore me please. I've created a fork for myself and am fully accepting any fallout that would come from it. I'm not going to make you solve the problems AWS seem to have created for themselves