Open hariso opened 2 years ago
What's the state of the art for secrets management? There's services like Hashicorp Vault and Doppler. I'm asking this question because I don't want to invent something from scratch when best practices exist.
@neovintage I completely agree with you that we shouldn't be reinventing the wheel here, especially when it comes to security-related topics. I didn't want to go into implementation details in the ticket itself, but it appears to me we have three options:
Option 3 is probably least desirable, since it will make the deployment more complex, and it will be much more difficult (impossible) to provide a single binary.
I want to suggest that secrets encryption at rest is a priority here, because that is what compliance will look for. Without TLS all these secrets are likely flying through bare wire and can be extracted by MITM attacks.
With that:
The latter option is long winded, there has been a lot of chatter about JWT and OIDC for distributed credentials.
We agreed to start with the following functionality:
In the future the user will be able to configure this secret through a config file (see https://github.com/ConduitIO/conduit/issues/31).
Feature description
We have connectors which require secrets of different kinds to be able to function properly (e.g. the S3 connector requires the secret key, the Kafka connector will require certificates). We need to be able to store them securely with Conduit.