<@U04S8PLJWMT> is there a fix for using `instancep...
# ask-ai
y
@kapa.ai is there a fix for using
instanceprofile
for AWS secrets for storing connector secrets? Currently this does not work, and Airbyte only accepts
aws-secret-manager-access-key-id
and
aws-secret-manager-secret-access-key
keys. Doc: docs.airbyte.com/platform/deploying-airbyte/integrations/secrets
k
Thinking completed There is an open PR that directly addresses this issue. Here's what's happening and what the fix involves: The Problem The current documentation for
instanceProfile
(IAM role) authentication with AWS Secrets Manager is incorrect for Helm V2 charts. Specifically: 1. The
authenticationType
key in the Helm values is never read by the V2 charts — it is silently ignored. 2. Even when using an IAM role (no static credentials), both V2 charts always render
AWS_SECRET_MANAGER_ACCESS_KEY_ID
and
AWS_SECRET_MANAGER_SECRET_ACCESS_KEY
as
secretKeyRef
entries without
optional: true
. This means pods will fail to start if those keys are absent from the Kubernetes secret. The Fix (in PR #91205) PR #91205 documents the correct behavior: • Remove
authenticationType
from the Helm values snippet — the chart doesn't read it. • IAM role users must still create the Kubernetes secret (
airbyte-config-secrets
) containing both key names with empty values:
Copy code
apiVersion: v1
kind: Secret
metadata:
  name: airbyte-config-secrets
type: Opaque
stringData:
  AWS_SECRET_MANAGER_ACCESS_KEY_ID: ""
  AWS_SECRET_MANAGER_SECRET_ACCESS_KEY: ""
Without these keys present (even empty), pods will fail to start because the chart renders them as required
secretKeyRef
references. [PR #91205] Root Cause Note The PR also notes this is likely a chart bug — the chart should mark these secret references as
optional: true
or skip them entirely when no static credentials are configured. That fix would need to come from the platform team. [PR #91205] Workaround Today Until the PR is merged and/or the chart bug is fixed, if you're using an IAM role: 1. Create the
airbyte-config-secrets
Kubernetes secret with both
AWS_SECRET_MANAGER_ACCESS_KEY_ID
and
AWS_SECRET_MANAGER_SECRET_ACCESS_KEY
keys present but set to empty strings. 2. Do not include
authenticationType
in your Helm values — it has no effect. 👍 0 button 👎 0 button ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.