added secret_key schema