Replies: 3 comments 4 replies
-
I don't think it is off-limits... but there are some general issues you would need to deal with:
So you would need to deal with those. Two other things to keep in mind:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your comments. I’d like to provide a bit more context regarding my proposal. My aim isn’t to achieve perfect security for user passwords—since we all know that if a cluster is compromised, most workloads are at risk—but rather to meet regulatory requirements that discourage storing plaintext credentials. I realize that encrypting a secret only shifts the problem (because the decryption key must also be stored somewhere accessible). However, I’m considering an approach using asymmetric encryption. In this model, the operator would use a public key (managed via a KMS) to encrypt user passwords before writing them into Kubernetes Secrets. When needed, the operator would use the corresponding private key to decrypt the credentials for updating Kafka. This way, even if an administrator or an accidental log exposes the secret, the sensitive data remains encrypted at rest. I understand that one alternative is to bypass the User Operator altogether and manage users directly via the Kafka API. However, I’m skeptical about the increased maintenance overhead of that approach—after all, one of Strimzi’s main appeals is its ease of use in automating user management. Does that make sense? |
Beta Was this translation helpful? Give feedback.
-
Gotcha, I guess this makes a lot of sense from your end and I really like the idea of that plug-in concept. |
Beta Was this translation helpful? Give feedback.
-
Not quite sure if this is entirely within scope of this project but here goes:
Since the general procedure of creating users involves creating a Secret containing the user's password, I'd like to kick off a discussion about ways of making this more secure. Of course there are k8s native solutions like encryption at rest, but they are very global and might not be feasible for all users.
So in that light, would it be off limits to discuss how encryption of credentials might be implemented as an optional feature in strimzi?
Beta Was this translation helpful? Give feedback.
All reactions