{% extends "scanpipe/base.html" %} {% block content %}
Your personal API key provides access to the REST API
Treat it like a password and keep it secure.
{% if request.user.api_token %}
Your API key {{ request.user.api_token.prefix }}... was generated on {{ request.user.api_token.created }}
For security reasons, the full key is only shown once at generation time.
If you lose it, you will need to regenerate a new one.
{% else %}
No API key created.
Generate one using the button below to access the REST API.
{% endif %}
{% if request.user.api_token %} {% endif %}
{% include 'scanpipe/modals/profile_generate_api_key_modal.html' %} {% if request.user.api_token %} {% include 'scanpipe/modals/profile_revoke_api_key_modal.html' %} {% endif %}
{% endblock %}