Class JavaPropertySecretManager

java.lang.Object
dev.enola.common.secret.ReadOnlySecretManager
dev.enola.common.secret.JavaPropertySecretManager
All Implemented Interfaces:
SecretManager

SecretManager that reads secrets from the JVM properties (AKA java -D...).

This is not very secure, and really only marginally better than the EnvironmentSecretManager (because JVM process launch parameters are often still too broadly visible). Other implementations are preferred - but sometimes this may be useful.