{% extends "devhub/base_impala.html" %} {% block title %}{{ dev_page_title(title) }}{% endblock %} {% block content %}
{{ dev_breadcrumbs(addon, items=[(None, title)]) }}

{{ title }}

{{ csrf() }}
{{ _('API Credentials') }}

{% trans docs_url='https://addons-server.readthedocs.io/en/latest/topics/api/index.html' %} For detailed instructions, consult the API documentation. {% endtrans %}

{{ _('Keep your API keys secret and never share them with anyone, including Mozilla contributors.') }}

{% if credentials %}

{% trans docs_url='https://addons-server.readthedocs.io/en/latest/topics/api/auth.html', jwt_url='https://self-issued.info/docs/draft-ietf-oauth-json-web-token.html' %} To make API requests, send a JSON Web Token (JWT) as the authorization header. You'll need to generate a JWT for every request as explained in the API documentation. {% endtrans %}

{% else %}

{% trans %} You don't have any API credentials. {% endtrans %}

{% endif %}
{% endblock content %}