{% extends 'layouts/default.html' %} {% from 'forms/macros.html' import render_field, render_checkbox_field %} {% block title %}Add New Machine with ApiKey{% endblock %} {% block content %}

Add new ApiKey for machine.

In general, the keys should be Read Only and with expiration. If you need to create a full access Read/Write key, consider using usual user form with your organization settings.

Machine Api Key: {{ generated_key }}
{{ form.hidden_tag() if form.hidden_tag }}
{{ render_field(form.machine) }}
{{ render_checkbox_field(form.readonly, checked="checked") }}
{{ render_field(form.user) }}
{{ render_field(form.expires) }}
{{ render_field(form.comment) }}
{% endblock %}