skyplane-project / skyplane

🔥 Blazing fast bulk data transfers between any cloud 🔥
https://skyplane.org
Apache License 2.0
999 stars 58 forks source link

[bug] aws config not picked up for sso login #936

Closed rogue5oul closed 1 month ago

rogue5oul commented 1 month ago

Describe the bug Skyplane init does not autodetect aws config for sso login

To Reproduce

aws sso login --profile [profile name]

skyplane init

Expected behavior Skyplane is able to pickup existing sso config and not require access key and secret for aws. My azure login also uses sso and did not present any issues during init.

Environment info (please complete the following information):

rogue5oul commented 1 month ago

I was able to resolve this by exporting my profile

export AWS_PROFILE=[profile name]