+
+

+ Connect to SecuScan +

+

+ The backend requires an API key. Read the key from the server key + file and paste it below to get started: +

+
+          cat backend/data/.api_key
+        
+ + { setKey(e.target.value); setError('') }} + onKeyDown={(e) => e.key === 'Enter' && handleSave()} + placeholder="Paste API key here" + aria-label="Backend API Key" + autoFocus + style={{ + display: 'block', + width: '100%', + marginTop: 6, + padding: '0.5rem 0.75rem', + borderRadius: 4, + border: error ? '1px solid #f87171' : '1px solid #334155', + background: '#0a0d14', + color: '#e2e8f0', + fontSize: 14, + boxSizing: 'border-box', + outline: 'none', + }} + /> + {error && ( +

+ {error} +

+ )} + +

+ The key is stored only in your browser's localStorage under{' '} + secuscan_api_key and sent as the{' '} + X-Api-Key header on every API request. It is never transmitted + to any third party or stored on the server beyond the key file. +

+
+