You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm thinking of using this project for printing configs when my api starts. The first thing I do is load up a config file and I'd like to print it out when the API starts so the log knows exactly what values the app is running with. My concern is that my config holds the paths to RSA keys, passwords to open the keys, and when the key is decrypted I store it's value in the config as well.
I'm ok printing the path to the key, but I don't want to print the password or the private key contents. It would be nice if I could tag an object like so:
Note that SigningKeyRaw, SigningPassword, and PublicKeyRaw have the tag spew:"-" as a way to indicate that spew should not print these fields' contents.
The text was updated successfully, but these errors were encountered:
I'm thinking of using this project for printing configs when my api starts. The first thing I do is load up a config file and I'd like to print it out when the API starts so the log knows exactly what values the app is running with. My concern is that my config holds the paths to RSA keys, passwords to open the keys, and when the key is decrypted I store it's value in the config as well.
I'm ok printing the path to the key, but I don't want to print the password or the private key contents. It would be nice if I could tag an object like so:
Note that SigningKeyRaw, SigningPassword, and PublicKeyRaw have the tag
spew:"-"
as a way to indicate that spew should not print these fields' contents.The text was updated successfully, but these errors were encountered: