{% trans %}Regenerate API Key{% endtrans %}
{% trans %}Warning{% endtrans %}

{% trans %}You are about to regenerate the API key{% endtrans %}: "{{ api_key.name }}"

{% trans %}This action will invalidate the existing key!{% endtrans %}

{% trans %}If you regenerate this API key, any applications using it will no longer be able to authenticate until updated with the new key.{% endtrans %}

{% trans %}The new key will be displayed only once after regeneration, so be prepared to save it.{% endtrans %}

{% trans %}API Key Details{% endtrans %}
{% if api_key.expiresAt %} {% endif %}
{% trans %}Name{% endtrans %} {{ api_key.name }}
{% trans %}Created at{% endtrans %} {{ api_key.createdAt|date('Y-m-d H:i:s') }}
{% trans %}Last used{% endtrans %} {% if api_key.lastUsedAt %}{{ api_key.lastUsedAt|date('Y-m-d H:i:s') }}{% else %}{% trans %}Never{% endtrans %}{% endif %}
{% trans %}Expires at{% endtrans %} {{ api_key.expiresAt|date('Y-m-d H:i:s') }}
{% trans %}Status{% endtrans %} {% if api_key.isDisabled %} {% trans %}Disabled{% endtrans %} {% elseif api_key.hasExpired %} {% trans %}Expired{% endtrans %} {% else %} {% trans %}Active{% endtrans %} {% endif %}
{% trans %}No, keep current key{% endtrans %}