ec2stack/templates/create_keypair.xml (6 lines of code) (raw):
{% extends "response.xml" %}
{% block response_content %}
<keyName>{{ response.name }}</keyName>
<keyFingerprint>{{ response.fingerprint }}</keyFingerprint>
{% if response.privatekey %}<keyMaterial>{{ response.privatekey }}</keyMaterial>{%endif%}
{% endblock %}