<?php

namespace n8n\config;

use Exception;
use traits\module_config_variable;

class n8n_api_key_c
{
    use module_config_variable;

    /**
     * @throws Exception
     */
    public function __construct()
    {
        self::setupConfigVariable(
            'n8n',
            'api_key',
            'string',
            false,
            null,
            'The n8n API key sent as the X-N8N-API-KEY header.',
            'n8n_api_xxxxx',
            true,
            ''
        );
    }
}
