{% extends 'generic/object.html' %} {% load helpers %} {% load i18n %} {% load render_table from django_tables2 %} {% block content %}
| {% trans "Name" %} | {{ object.name }} |
|---|---|
| {% trans "Description" %} | {{ object.description|placeholder }} |
| {% trans "Type" %} | {% badge object.get_credential_type_display %} |
| {% trans "Username" %} | {{ object.username|placeholder }} |
| {% trans "Secret" %} | {% if object.secret %} •••••••• {% trans "Set" %} {% else %} {% trans "Not set" %} {% endif %} |
| {% trans "Key Passphrase" %} | {% if object.passphrase %} {% trans "Set" %} {% else %} {% trans "None" %} {% endif %} |
{% trans "This credential has a global catch-all assignment — it applies to every device and VM not matched by a more specific credential." %}
{% endif %} {% if matched_targets.matches %}| {% trans "Object" %} | {% trans "Matched via" %} |
|---|---|
| {{ row.object|linkify }} | {{ row.reason }} |
{% trans "List truncated — more objects match than shown." %}
{% endif %} {% elif not matched_targets.has_global %}{% trans "No devices or VMs currently resolve to this credential." %}
{% endif %}