On 10/25/2017 03:37 PM, Simon Hanna wrote:
On 10/25/2017 11:59 PM, Dmitry Makovey wrote:
I'm trying to sort how to properly change secrets of an already running setup. In particular I want to be able to change:
REST API user/password Hyperkitty API key Secret key
So far, after attempting to change REST API credentials I've got my setup failing on me.
Setup details: MM3 set up from maxking's docker images. You have to be a little more specific regarding the errors you are facing. What files did you change? What settings did you change?
as soon as I've changed REST API creds mailman-core started throwing errors about "Unauthorized" Rest requests.
Generally speaking: The Rest api user/password need to be updated in Mailman core's settings and also in Django's settings
in other words - no DB entries for it?
The Hyperkitty API key, is shared between Hyperkitty's (Django) settings and the archiver plugin in core
no DB as well?
The secret key is just a variable for Django that it uses as a seed for some operations. Changing it, should'nt result in any failures. The only thing that can happen, is that you are logged out of your existing sessions.
ok so reading all of the above I'm getting the impression that all those changes should be seamless. In other words I have to trace where am I not passing proper creds or where am I picking up default settings... thanks Simon.
-- Sr System and DevOps Engineer SoM IRT