eeverman / eeverman/andhow

Provide AndHow method to print samples

Open
#252 2 comments 0 reactions 0 assignees View on GitHub
API Addition enhancement
Dominant language
Java
Stars
25
Forks
34
PR merge metrics
No merged PRs in 30d

Description

Printing samples is a little dangerous because it can write the current values to a location where it could be read. Perhaps rogue code could even request it, then read the output.

This probably needs to happen as part of startup and be blocked happening anywhere else. It could also be part of the NonProductionLoader, but rogue code could use the NPL and cover its tracks.

At a minimum, the password Property type should be added before this is done. Perhaps `Property` needs an `printToString` method that would not print secrets.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.