{% extends "base.html" %} {% load static %} {% block title %}Account Security - {{ project_name }}{% endblock %} {% block extra_head %} {% endblock %} {% block content %} {% include "components/hero_banner.html" with title="Account Security" subtitle="Manage your API keys and two-factor authentication" color="primary" %}

Your API Keys

{% include "users/partials/api_keys_partial.html" %}

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
{% if two_factor_enabled %}

Two-Factor Authentication

{% include "users/two_factor_settings.html" %}
{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}