Closed monaw closed 8 months ago
reopening this issue with additional info from Pascal @ Hubzero:
Hi Mona! On uccommunityhub, I set dummy example secrets for a regular development workspace tool and for mkde. There’s a user, password, host, and “var1” defined, one line for each. The paths are respectively /secrets/workspace.txt and /secrets/mkde.txt. Let me know which real secrets you want there
also Pascal said it is ok to put the path to the secret file in code so need to update the code with the new file location...
Pascal's Jira ticket @ Hubzero...
After meeting with Hubzero's Steve & Pascal, the solution for securely storing the Google Stadiamap API key is a new feature in the hub which allows storing sensitive information that can only be access by the tool at runtime.
To implement this, we need our app to be able to read the key from a file and then call register_stadiamaps(key="SEE SLACK", write=FALSE).
For more info, see issue #67