@extends('adminlte::page') @section('title', config('app.name') . ' | ' . __('API Key Management')) @section('content_header')

Profile / Settings / API Keys

@stop @section('js') @stop @section('content')
@csrf

Friendly reminder: API keys can access your whole account and the resources it has access to. Please treat them like a password. If they are leaked, please revoke them.

@if (session()->has('finalKey'))

This is your API key: {{ session('finalKey') }}

Please copy it now as it'll only appear once.

@endif
@if(!$keys->isEmpty()) @foreach($keys as $key) @endforeach
Key name Status Last Used Last Modified Actions
{{ $key->name }} {{ ($key->status == 'disabled') ? 'Revoked' : 'Active' }} {{ ($key->last_used == null) ? 'No recent activity' : $key->last_used }} {{ $key->updated_at }} @if ($key->status == 'active')
@csrf @method('PATCH')
@endif
@csrf @method('DELETE')
@else

You don't have any API keys yet.

@endif
@stop @section('footer') @include('breadcrumbs.dashboard.footer') @stop