@if (session('status'))
{{ session('status') }}
@endif @if (!$apiEnabled)
API access is disabled for this account. Contact support/admin.
@endif

Current Credentials

Active Key ID

{{ session('api_key_id_once') ?? ($credential?->key_id ?? 'Not generated yet') }}

Last Used

{{ $credential?->last_used_at?->toDateTimeString() ?? 'Never' }}

@if ($newSecret)

Copy this secret now

For security, this is shown only once.

{{ $newSecret }}

@endif

Rotate API Token

@csrf @error('totp_code')

{{ $message }}

@enderror

Headers Required

X-API-KEY: {{ $credential?->key_id ?? 'your_key_id' }}
X-SIGNATURE: hex(hmac_sha256(payload, api_secret))
X-TIMESTAMP: unix_seconds
X-NONCE: unique_random_string