Fixed variable name for secret_key.