cassandra-reaper icon indicating copy to clipboard operation
cassandra-reaper copied to clipboard

Provide a way to encrypt password in authProvider

Open nhtha opened this issue 1 year ago • 1 comments

Project board link

Please provide a way to encrypt password in authProvider in Cassandra section while using Cassandra as storageType.

"storageType: cassandra cassandra: clusterName: "test" contactPoints: ["127.0.0.1"] keyspace: reaper_db authProvider: type: plainText username: cassandra password: cassandra"

There should be a way to provide an encrypted password, may be like this: The authProvider then looks for a system property whose key is defined in systemPropertySecret for the value to decipher the password.

authProvider: type: encryptedText username: "myusername" password: "{cipher}e3a055c901e71c12f0a2f762f30a561bfd01c97d5ecbb430698b99025560144a" systemPropertySecret: SYS_PROPERTY_ENCRYPTION_KEY

In production system, we are really need the password to be encrypted.

Best Regards Ha Nguyen

nhtha avatar Jun 23 '23 07:06 nhtha

I agree that would be nice to have this feature 👍

adejanovski avatar Jun 26 '23 06:06 adejanovski