<@U04S8PLJWMT> ```2025-11-21 01:24:45,143 [io-exec...
# ask-ai
w
@kapa.ai
Copy code
2025-11-21 01:24:45,143 [io-executor-thread-4]	ERROR	i.a.c.s.e.h.UncaughtExceptionHandler(handle):33 - Uncaught exception
software.amazon.awssdk.core.exception.SdkClientException: Unable to load credentials from any of the providers in the chain AwsCredentialsProviderChain(credentialsProviders=[SystemPropertyCredentialsProvider(), EnvironmentVariableCredentialsProvider(), WebIdentityTokenCredentialsProvider(), ProfileCredentialsProvider(profileName=default, profileFile=ProfileFile(sections=[])), ContainerCredentialsProvider(), InstanceProfileCredentialsProvider()]) : [SystemPropertyCredentialsProvider(): Unable to load credentials from system settings. Access key must be specified either via environment variable (AWS_ACCESS_KEY_ID) or system property (aws.accessKeyId)., EnvironmentVariableCredentialsProvider(): Unable to load credentials from system settings. Access key must be specified either via environment variable (AWS_ACCESS_KEY_ID) or system property (aws.accessKeyId)., WebIdentityTokenCredentialsProvider(): Either the environment variable AWS_WEB_IDENTITY_TOKEN_FILE or the javaproperty aws.webIdentityTokenFile must be set., ProfileCredentialsProvider(profileName=default, profileFile=ProfileFile(sections=[])): Profile file contained no credentials for profile 'default': ProfileFile(sections=[]), ContainerCredentialsProvider(): Cannot fetch credentials from container - neither AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI environment variables are set., InstanceProfileCredentialsProvider(): Failed to load credentials from IMDS.]
What is this issue associated with?
k
The error you’re seeing is an AWS credentials resolution failure inside Airbyte: the AWS SDK v2
AwsCredentialsProviderChain
cannot find any usable credentials from any of its standard providers (system properties, environment variables, web identity, profile, container/IMDS). This exact pattern appears when: - Airbyte (server, worker, or connector) tries to access AWS services such as: - S3 (for logs, S3 destinations/sources, or GCS/BigQuery connectors that optionally use S3-compatible storage), or - AWS Secrets Manager (for secret storage), - but no valid credentials are available via env vars, instance profile, IRSA, or the configured secrets manager. [[AWS secret error](https://github.com/airbytehq/airbyte/issues/67588); [EKS secretsmanager](https://github.com/airbytehq/airbyte/issues/48809)] Very similar stack traces show up in: - AWS Secrets Manager usage in EKS/Kubernetes when the AWS credentials/role are not correctly configured for the pods. [[EKS secretsmanager](https://github.com/airbytehq/airbyte/issues/48809)] - S3 / log-storage or S3-based connectors when the process expects credentials from the default provider chain but none are set or the instance profile can’t be used. [[Server S3 logs](https://github.com/airbytehq/airbyte/issues/10570); [S3 IAM issues](https://github.com/airbytehq/airbyte/issues/57577)] In short: the issue is associated with missing or misconfigured AWS credentials/roles for Airbyte components that are trying to call AWS (S3, Secrets Manager, etc.), so the AWS SDK’s credential provider chain fails completely.
The error message you provided:
Copy code
Unable to load credentials from any of the providers in the chain AwsCredentialsProviderChain(credentialsProviders=[SystemPropertyCredentialsProvider(), EnvironmentVariableCredentialsProvider(), WebIdentityTokenCredentialsProvider(), ProfileCredentialsProvider(profileName=default, profileFile=ProfileFile(sections=[])), ContainerCredentialsProvider(), InstanceProfileCredentialsProvider()]) : ...
is associated with Airbyte failing to authenticate with AWS services (such as S3 or AWS Secrets Manager) because it cannot find valid AWS credentials using any of the standard credential provider mechanisms. This is a common issue when deploying Airbyte on Kubernetes, EC2, or other environments where credentials are expected to be provided via environment variables, instance profiles, or other supported methods. This type of error is discussed in several Airbyte issues and documentation sources: - If you are running Airbyte on Kubernetes (e.g., EKS), you can use an IAM role assigned to the cluster (via IRSA) and do not need to specify access keys, as long as the role has the necessary permissions. If not configured, you must provide credentials via Kubernetes secrets and reference them in your deployment configuration. If neither is set up, you will see errors like the one above because Airbyte cannot find credentials in any provider in the chain [Configure Kubernetes Secrets](https://docs.airbyte.com/platform/enterprise-setup/implementation-guide#configure-kubernetes-secrets). - Similar errors are reported when the environment variables for AWS credentials are missing or misconfigured, or when the instance profile is not properly attached or accessible [Airbyte 1.2.0 on Kubernetes/EKS: Cannot create new sources as "Test the Source" fails with HTTP 500](https://github.com/airbytehq/airbyte/issues/48809), [Server log storage on S3 should use DefaultAWSCredentialsProviderChain](https://github.com/airbytehq/airbyte/issues/10570). - This can also occur if you are running Airbyte outside AWS (e.g., on GKE or locally) and have not provided credentials in a way that the AWS SDK can detect [[source-s3] Unable to authenticate with IAM role outside of aws/without aws cli](https://github.com/airbytehq/airbyte/issues/57577). In summary: This error is associated with Airbyte's inability to locate AWS credentials for accessing AWS resources, typically due to missing or misconfigured environment variables, IAM roles, or Kubernetes secrets. The solution depends on your deployment environment and how you intend to provide AWS credentials.