{% extends "base.html" %} {% block title %}API Keys - {{ project_name }}{% endblock %} {% block content %} {% include "components/hero_banner.html" with title="API Keys" subtitle="Manage your API authentication keys" color="primary" %}

Your API Keys

Generate New API Key

{% csrf_token %}

Give your API key a descriptive name to help you identify it later.

{% include "users/api_keys_list_partial.html" with api_keys=api_keys %}

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 %}