Enitan Oyedotun
10/29/2025, 2:52 PMkapa.ai
10/29/2025, 2:53 PMairbyte_workspace_..._secret_*) are also created and should be cleaned up automatically, but this may not always happen promptly in older versions of Airbyte. 2. Version and Bug Fixes: There was a known issue in Airbyte versions prior to 1.5.0 where secrets were not always cleaned up correctly, leading to accumulation of unused secrets. This was addressed in version 1.5.0 and later. If you are running an older version, upgrading to at least 1.5.0 is recommended, as it includes fixes for secret management and cleanup. For new connections, the fix should prevent excessive secret creation. For existing connections, you may need to update the secrets after upgrading to ensure proper handling going forward. [See discussion and fix details](https://github.com/airbytehq/airbyte/issues/46097) 3. Manual Cleanup: - Ephemeral/Temporary Secrets: You can safely delete secrets with names like airbyte_workspace_..._secret_* that are no longer in use. These are typically ephemeral and should not be needed after their initial use. - Unused Secrets: If you are certain that all your ingestions are scheduled at least once per day, you can filter and delete secrets that have not been accessed in the last 2–3 days. However, it is safer to rely on the naming scheme to identify ephemeral secrets for deletion. - Automated Cleanup: Airbyte’s SecretPersistence interface supports secret expiry for some secret managers, but full support for AWS is still being improved. Until then, manual cleanup may be necessary. 4. Cost Consideration: AWS charges $0.40 per secret per month. Keeping the number of secrets to a minimum by cleaning up unused or temporary secrets can help control costs. Summary of actions: - Upgrade Airbyte to at least version 1.5.0 if you haven’t already. - Regularly clean up ephemeral secrets (those with names like airbyte_workspace_..._secret_*) that are no longer needed. - Monitor your AWS Secrets Manager usage and consider scripting cleanup based on last accessed date and naming conventions. If you continue to see excessive secret creation after upgrading, or if you need more automated cleanup, you may want to follow Airbyte’s GitHub for updates on improved AWS secret expiry support. For more details, see the relevant discussions and recommendations: [Github Issue: When using AWS Secrets Manager for persisting secrets, updating a connector deletes its secret](https://github.com/airbytehq/airbyte/issues/46097)Enitan Oyedotun
10/29/2025, 2:58 PMkapa.ai
10/29/2025, 2:58 PMkapa.ai
10/29/2025, 2:59 PMairbyte_workspace_00000000-0000-0000-0000-000000000000_secret_*) may also accumulate, especially if cleanup is not working as expected [source](https://github.com/airbytehq/airbyte/issues/46097). Summary: The expected number of secrets is: (number of sources × secret fields per source) + (number of destinations × secret fields per destination) + (temporary/ephemeral secrets, if not cleaned up) If you are seeing significantly more secrets than this, it is likely due to the accumulation of temporary or old secrets that have not been deleted. This is a known issue, and manual cleanup may be required until further improvements are made in Airbyte's secret management logic [source](https://github.com/airbytehq/airbyte/issues/68176).Enitan Oyedotun
10/29/2025, 3:57 PMkapa.ai
10/29/2025, 3:57 PMkapa.ai
10/29/2025, 3:57 PMEnitan Oyedotun
10/29/2025, 4:04 PMkapa.ai
10/29/2025, 4:04 PMkapa.ai
10/29/2025, 4:05 PM