@extends('layouts.app') @section('title', 'API Keys') @section('content')
Use a key as Authorization: Bearer <key> against {{ url('/api/v1') }}. Keep keys on your server, never in browser or mobile app code.
{{ $key->maskedKey() }}
Created {{ $key->created_at->format('d M Y') }} · Last used {{ $key->last_used_at ? $key->last_used_at->diffForHumans() . ' from ' . $key->last_used_ip : 'never' }} · Allowed IPs: {{ $key->ipRules->isEmpty() ? 'any' : $key->ipRules->pluck('cidr')->implode(', ') }}
You have no API keys yet.