Anyone faced, this error with AWS secrets manager:...
# replication-troubleshooting
y
Anyone faced, this error with AWS secrets manager:
Copy code
Error: couldn't find key AWS_SECRET_MANAGER_ACCESS_KEY_ID in Secret /airbyte-config-secrets
When using instanceProfile, you should not need to provide aws-secret-manager-access-key-id or aws-secret-manager-secret-access-key in your Kubernetes secret. If Airbyte still requests them, it may indicate a misconfiguration or a bug.
My IAM role has access, and I already set authenticationType: instanceProfile
k
You are correct: when using
authenticationType: instanceProfile
for AWS Secrets Manager, you should not need to provide
aws-secret-manager-access-key-id
or
aws-secret-manager-secret-access-key
in your Kubernetes secret. The documentation for Airbyte explicitly states that if your Kubernetes cluster (e.g., on EKS) already has permissions to access AWS resources via an instance profile (IAM role), then credentials are not required in the secret. This applies to both S3 and AWS Secrets Manager access: > If your Amazon EKS cluster has a sufficient AWS IAM role to make requests to AWS S3, you don't need to specify access keys. > ... > Set
authenticationType
to
instanceProfile
if the compute infrastructure running Airbyte has pre-existing permissions (e.g. IAM role) to read and write from AWS Secrets Manager. > [Multiple region deployments (1.7)](https://docs.airbyte.com/platform/1.7/enterprise-setup/multi-region#step-4) > [Secret Management (1.7)](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/secrets#values) If Airbyte is still requesting these keys despite
authenticationType: instanceProfile
, it may indicate one of the following: - The
authenticationType
is not being picked up correctly from your
values.yaml
or Helm chart configuration. - There is a misconfiguration in the secret or the reference to it. - There may be a bug in the version of Airbyte you are using. What to check: 1. Configuration: Ensure your
values.yaml
(or equivalent) is correctly set, for example:
Copy code
yaml    global:      secretsManager:        type: awsSecretManager        secretName: "airbyte-config-secrets"        awsSecretManager:          region: <aws-region>          authenticationType: instanceProfile
[Secret Management (1.7)](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/secrets#values) 2. Secret Content: Your
airbyte-config-secrets
secret should not contain the AWS access key fields if using
instanceProfile
. 3. Helm Chart Version: Some users have reported issues with earlier versions of the Helm chart or Airbyte itself, where the chart still expects the keys even with
instanceProfile
. If possible, try upgrading to the latest version. 4. Workload Launcher Configuration: In some cases, environment variables or references in the workload-launcher or other components may override your intended configuration. Double-check that no other part of your deployment is explicitly referencing the access key fields. If all configuration appears correct and the error persists, it may be a bug. This has been discussed in the community and GitHub issues, where users have faced similar problems and resolved them by correcting the configuration or upgrading Airbyte/Helm chart versions. [GitHub Issue Example](https://github.com/airbytehq/airbyte/issues/48809) Summary: You are right in your understanding. If Airbyte still requests these keys with
instanceProfile
, review your configuration and consider updating your deployment. If the issue persists, it may be a bug in your Airbyte version or Helm chart.