hawkar_mahmod
04/13/2023, 11:15 AMbotocore.exceptions.NoCredentialsError: Unable to locate credentials
When I run meltano invoke target-redshift
and probe using the Python debugger I can see that the profile is picked up but when I try to query for something using the aws session (e.g. s3.list_buckets()) the above error occurs. The loader is using boto3 version 1.12.
When I try with another version of boto3 (1.26) in a separate environment it works just fine. Anyone have any idea why the difference? I looked through the docs for both versions and there aren't any meaningful differences I can spot.
@Matt Menzenski did you run into something like this with target-redshift?
The only solution I can see is to fork the loader (yours @Matt Menzenski) and update the boto3 version.hawkar_mahmod
04/13/2023, 11:20 AM* featureSSO [``botocore``] Added support for the SSO credential provider. This allows the SDK to retrieve temporary AWS credentials from a profile configured to use SSO credentials.
hawkar_mahmod
04/13/2023, 11:26 AMMatt Menzenski
04/13/2023, 12:02 PMhawkar_mahmod
04/14/2023, 4:27 PM