Closed huyhua-nvg closed 11 months ago
Hi Can confirm that this is still an issue.
Thanks, Ran~
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
Checkboxes for prior research
Describe the bug
Previous issue: https://github.com/aws/aws-sdk-js-v3/issues/5449 It was closed but the bug is still there so I'm creating a new one.
Our company uses aws-sso-util to populate the aws sso profiles on config file A profile usually looks like this
I get an error saying that the profile cannot be found. I've debugged this and @smithy/shared-ini-file-loader doesn't like AWS CLI profile names which contain a
.
character. There is a regex called prefixKeyRegex which fails on such names and goes into the wrong code path.In the aws docs there's no mention of forbidding a "." on the name, and the cli works fine for this kind of format
SDK version number
@smithy/shared-ini-file-loader@2.2.5
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v18.18.0
Reproduction Steps
Observed Behavior
Expected Behavior
A listing of buckets
Possible Solution
No response
Additional Information/Context
Similar issue that got reopened: https://github.com/smithy-lang/smithy-typescript/issues/1053