@extends('layouts.dash') @section('title', 'All Keys') @section('content')

All Keys ({{ $keys->total() }})

Every API key across all users.

Create Key
@foreach($keys as $k) @php $pct = $k->usagePercent(); @endphp @endforeach
API / KeyUserUsageExpiryStatusAction
{{ $k->service->name ?? '—' }} ({{ $k->label }})
{{ \Illuminate\Support\Str::limit($k->api_key, 26) }}
{{ $k->user->name ?? '—' }}
{{ $k->user->email ?? '' }}
{{ number_format($k->used_request) }} / {{ number_format($k->total_request) }}
{{ fmt_date($k->exp_date) }} {!! badge($k->status) !!}
@csrf @method('DELETE')
@if($keys->isEmpty())
No keys found
@endif {{ $keys->links() }}
@endsection