{% extends "base.html" %} {% block title %}API Keys - {{ project_name }}{% endblock %} {% block content %}

API Keys

Manage your API authentication keys

Your API Keys

{% if api_keys %}
{% for api_key in api_keys %} {% endfor %}
Name Key Prefix Status Created Last Used Actions
{{ api_key.name|default:"Unnamed Key" }} {{ api_key.prefix }}...**** {% if api_key.is_active %} Active {% else %} Revoked {% endif %} {% if api_key.is_expired %} Expired {% endif %} {{ api_key.created_at|date:'M j, Y' }} {% if api_key.last_used_at %} {{ api_key.last_used_at|date:'M j, Y' }} {% else %} Never {% endif %} {% if api_key.is_active %} {% else %} {% endif %}
{% else %}

No API keys yet
Generate your first API key to start using our services programmatically.

{% endif %}

API Key Information

Security Notice: API keys are only shown once upon generation. Store them securely and never share them publicly.

Usage: Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Actions:

  • Regenerate: Creates a new key and deactivates the old one
  • Revoke: Permanently deactivates the key

View API Documentation

Best Practices

  • Use different API keys for different environments
  • Rotate your keys regularly
  • Revoke unused or compromised keys immediately
  • Monitor your API key usage regularly
  • Never commit API keys to version control
{% endblock %} {% block extra_js %} {% endblock %}