Get secret key from settings