{% extends 'generic/object.html' %} {% load helpers %} {% block breadcrumbs %} {{ block.super }} {% endblock %} {% block content %}
{% if show_token %}
{% if token_data.action == 'created' %} Credential Set Created Successfully {% else %} Credential Token Regenerated Successfully {% endif %}
Important Security Notice

This is the only time you will see this token!

  • Copy the token immediately and store it securely
  • Do not share this token with anyone
  • Use environment variables or secure credential storage
  • If you lose this token, you'll need to regenerate it
Credential Set Information
Name: {{ token_data.credential_name }}
Action: {% if token_data.action == 'created' %} Created {% else %} Regenerated {% endif %}
Owner: {{ object.owner }}
Usage Instructions

Use this token in API requests:

Authorization: Token {{ token_data.token }}

Include this header in all your API requests to authenticate using these credentials.


Your Credential Token
✓ Next Steps
  1. Copy the token above
  2. Store it in your application's environment variables
  3. Test the API connection
  4. Navigate back to view your credential set
Web Interface

Manage your credential sets through the NetBox web interface for enhanced security.

{% else %}
Token Display Expired

The token display session has expired.

For security reasons, credential tokens are only displayed immediately after creation or regeneration. If you need to access your token again, you can regenerate it.

View Credential Set {% if perms.netbox_toolkit_plugin.change_devicecredentialset %} Regenerate Token {% endif %}
{% endif %}
{% endblock %}