I have an Akka project that requires several passwords: for access to the data store, to the connection string of a distributed file system ...
These values ββare not hardcoded in the configuration file, but rather are pulled out of the keystore at runtime during application startup, and then stored in memory as a configuration object, since third parties use this configuration to obtain a password and open a connection.
I'm just wondering, somehow itβs risky, since I assume that the lines will be in clear memory. Is there a way to transparently obfuscate / encrypt values? Or I need to implement it on my side and update third parties so that they transform the string before the connections actually open.
java scala typesafe-config
Canardmoussant
source share