aws-lite icon indicating copy to clipboard operation
aws-lite copied to clipboard

Support SSO

Open jolo-dev opened this issue 1 year ago • 0 comments

Describe the problem underlying the enhancement request

My profiles are setup via aws configure sso. So, I tried using profile

const aws = await awsLite({
  region: 'eu-central-1',
  profile: 'my-profile',
});

But I got TypeError: Profile not found: my-profile.

The profiles are stored in ~/.aws/config

Describe the solution you'd like (if any)

When entering a profile, it should determine the right profile regardless SSO or not.

Describe alternative solutions you've considered

The AWS JS SDK v3 is able to detect that using the @smithy/node-config-provider.

Additional context or notes

No response

jolo-dev avatar Jan 22 '24 14:01 jolo-dev