Make secret key configurable