Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to "hide" a config from the __str__ so as to mask passwords or credentials when logging/printing the config #1197

Open
bzadon opened this issue Nov 19, 2024 · 0 comments

Comments

@bzadon
Copy link

bzadon commented Nov 19, 2024

Much similar to "omegaconf_ignore" Annotated metadata on config member variables, it would be great to have a metadata setting to omit the said config member variable from str or other "print" methods. This would allow using omegaconf for passwords or other authentication credentials without worry they would "leak" into log files.

TY!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant