@Richelle Herrli Thanks for responding and for having these discussions—I truly appreciate it!
The thing is, it
already deletes old versions when credentials change—it just leaves them orphaned when sources or destinations are deleted. So it doesn’t really make sense for it to do one and not the other. And the message saying they were deleted indicates that this was
not the intended functionality. So as a developer, I’m gonna kindly call BS on that line of discussion 😂
At minimum this should be made documented with clear warnings, but the default expectation is that Airbyte should always manage (including to destroy, when appropriate) its own created secrets. This makes sense from both a default compliance standpoint as well as parity with the default database storage method (which does remove these keys).
I think this is especially important considering this recommendation in the
docs:
> Airbyte highly recommends storing connector secrets in an external secret manager to ensure secrets are not exposed.
If it’s the highly recommended option, it should manage them in a sane way. Nobody is expecting Airbyte to perpetually persist a secret for a deleted actor (especially given the cost of secret management),
It’s also worth noting that neither that docs page nor the official
External Secrets Management Security Guide note anything about secrets not being deleted.
So TLDR; if you want to have an option, that’s fine (or let users do something with permissions)—but the
default should be sane secrets management, both because
compliance demands it and the potentially
high cost of secrets management (and risk/difficulty of manually cleaning these).
(And to be clear, I adore y’all and just want to help—so I don’t want this to come across as aggressive. But as a developer I also know the developer lines and lies we tell ourselves and others, so I want to be direct with that too 😂)