Summary
When attempting to create a connection in Airbyte deployed via Helm, user encounters an error stating ‘That secret was not found in the store’. User is using AWS SecretsManager and has confirmed the existence of the secret. Seeking guidance on resolving this issue.
Question
Hi all,
Just deployed community OSS via Helm (0.422.2
). I’m able to add sources and destinations fine.
But when I attempt to create a connection I get an error:
That secret was not found in the store! Coordinate: airbyte_workspace_d06f5d58-1770-45d8-89a8-69a3d5f3a885_secret_13ca208c-b4ba-4117-9c65-5d5a508d4ce1_v1
I’m using AWS SecretsManager and have confirmed that that secret exists and that I can read it using the AWS credentials I provided to Airbyte.
I’ve searched for other instances of this issue but they don’t seem related to what I’m experiencing.
Any guidance would be appreciated!
This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.
Join the conversation on Slack
["error", "creating-connection", "helm-deployment", "aws-secretsmanager", "airbyte"]
_v1
difference at the end between screenshots is not relevant?
Airbyte does write the secret and and delete it correctly. Only seems to be an issue reading it in workload-launcher.
I saw from <@U01HYQYV1BQ>’s https://airbytehq.slack.com/archives/C01A4CAP81L/p1722546930429579|announcement that workload-launcher
is relatively new. I just tried redeploying with 0.383.1
(the version immediately before workload-launcher
was introduced) and everything worked as expected.
Given I didn’t change anything else, I’m going to assume this is a bug with the new Workload architecture…
Hi, thanks for bringing this up. We’ve noticed this internally as well and will be fixing this over the next few days. I’ll update this thread when the fix is out.
Thanks <@U01HYQYV1BQ>, appreciate the update
<@U07G3ETG162> yes! This is fixed as of 0.63.17.
Interesting. That isn’t on my radar. Can I see how you are including the tags?
Out of curiosity, does it work after manually copying secret?
Hi <@U01HYQYV1BQ> seeing that this is now working in the latest version
One note in case it’s not on your radar: The global.secretsManager.awsSecretsManager.tags
value is not working as expected. When tags are included per the docs (as a map), airbyte-workload-launcher
throws this error:
https://github.com/airbytehq/airbyte-platform/blob/96f8c85cea2ff7f0c580f04a72a82850a92831f1/airbyte-config/config-secrets/src/main/kotlin/secrets/persistence/AwsSecretManagerPersistence.kt#L157-L160|https://github.com/airbytehq/airbyte-platform/blob/96f8c85cea2ff7f0c580f04a72a8285[…]/main/kotlin/secrets/persistence/AwsSecretManagerPersistence.kt
Removing global.secretsManager.awsSecretsManager.tags
fixes the issue.
Specifically this:
secretsManager:
type: awsSecretManager
awsSecretManager:
region: us-east-1
authenticationType: credentials
tags:
- key: AirbyteManaged
value: true
kms: arn:aws:kms:region:id:key/uuid```