# Gateway RAR AUTOPASS — variabile de mediu (copiaza in .env; .env NU se comite). # Compose citeste .env automat. Prefix AUTOPASS_ pentru toate. # --- CRITIC: cheie criptare creds RAR (Fernet) --- # PARTAJATA intre api si worker (API cripteaza, worker decripteaza). Genereaza: # python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())" AUTOPASS_CREDS_KEY= # --- Auth API-key --- # true = orice /v1/* cere cheie valida (prod). false = dev (fara cheie -> cont id=1). AUTOPASS_REQUIRE_API_KEY=false # --- Worker --- # Send catre RAR. false = nu trimite (default, sigur pentru probe). true = end-to-end. AUTOPASS_WORKER_SEND_ENABLED=false # Dev: foloseste creds din settings.xml cand submission-ul nu are creds criptate. AUTOPASS_WORKER_USE_TEST_CREDS=false # --- RAR --- # test | prod AUTOPASS_RAR_ENV=test