Configure jinja and create dynamic secret key