@extends('layouts.dashboard') @section('title', __('API Security')) @section('page_title', __('API Security')) @section('content')
{{ __('API Security') }}

{{ __('The application key is a shared X-App-Key header used by mobile clients. It is an additional client gate, not a replacement for authentication or authorization.') }}

@if ($apiKey !== '') {{ __('Protection active') }} {{ __('Source: database') }} @else {{ __('Protection disabled') }} @endif @if ($generatedAt) {{ __('Last generated') }}: {{ $generatedAt }} @endif
@if ($apiKey === '')
{{ __('No application key is configured. API key enforcement is currently disabled.') }}
@endif
{{ __('The Flutter app must be rebuilt with --dart-define=APP_API_KEY=... after setting or rotating this key.') }}
{{ __('Rotation warning') }}
{{ __('Regenerating immediately invalidates every released app containing the old key. Release a rebuilt app before rotating in production.') }}
@endsection @push('scripts') @endpush