{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/6"}],"enrichment":{"capability":"Provides API key authentication and permission control for Django REST Framework, allowing server-side clients and services to securely access your API without user accounts.","skillfed_tags":["api-authentication","key-management"],"use_cases":["Blocking anonymous traffic to your API while allowing authenticated service-to-service requests.","Implementing API key-based throttling to rate-limit requests from specific clients or services.","Authorizing internal services, such as communication between your API server and an internal frontend application.","Logging and identifying usage patterns by associating requests with specific API keys.","Managing access for third-party backend services that need to interact with your API without user credentials."],"what_it_does":"This library adds API key-based authentication to Django REST Framework APIs, allowing you to issue, manage, and validate API keys for server-side clients\u2014typically third-party services or internal backends\u2014that need to access your API without user accounts. Keys are hashed before storage and can be created, viewed, and revoked through Django's admin interface or programmatically.\n\nThe package is designed specifically for machine-to-machine access and blocking anonymous traffic, not for identifying individual users. It includes permission classes that integrate with DRF's permission system, support for optional expiry dates, and customizable models and admin panels. The library emphasizes security by treating API keys with the same care as passwords and recommends serving your API over HTTPS.","worth_installing":"Yes, with conditions. Install this if you need simple, secure API key authentication for server-to-server or service-to-API access in a Django REST Framework project. The library has no known vulnerabilities and supports current Python and Django versions. However, maintenance is aging (last release 497 days ago), so verify the feature set meets your needs before committing. Do not use this for user authentication."},"id":"djangorestframework-api-key","links":{"html":"https://skillfed.io/packages/djangorestframework-api-key","md":"https://skillfed.io/packages/djangorestframework-api-key.md","pypi":"https://pypi.org/project/djangorestframework-api-key/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-04-04","license_spdx":null,"license_treatment":"permissive","name":"djangorestframework-api-key","python_support":"supports_current","summary":"API key permissions for the Django REST Framework"},"popularity":{"monthly_downloads":2118359,"position":3282,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.1.0"}
