[Archivesspace_Users_Group] Hide an AppConfig value in the System Info Report

Joshua D. Shaw Joshua.D.Shaw at dartmouth.edu
Wed Feb 24 08:21:15 EST 2016


Thanks to Mark Triggs for the solution. Apparently any AppConfig value with the string "secret" in it will be hidden in the system_info report by default.

Joshua

From: Joshua Shaw
Reply-To: Archivesspace Users Group
Date: Thursday, February 18, 2016 at 10:35 AM
To: Archivesspace Users Group
Subject: [Archivesspace_Users_Group] Hide an AppConfig value in the System Info Report

Hey all-

I was poking around to try and find an answer for one problem and ran into another issue - of course!

Anyway, we have a plugin that needs a username and password for a third party service set in the config file - at least that's the way we had it developed. Is there a way to have an AppConfig setting in the config file, but tell the application itself to not display the value in the system_info report? The system_info report already blocks the db password, so I'm hoping there's an additional flag I can set to do the same for this particular setting.

If not, I'll see what I can do about obfuscating the password in some other fashion.

Thanks!
Joshua
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20160224/548ed46f/attachment.html>


More information about the Archivesspace_Users_Group mailing list