Current File : //usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createkeypair.pyo
�
��Xc@sFddlmZddlZddlmZdefd��YZdS(i����(t
EC2RequestN(tArgt
CreateKeyPairc
BsPeZdZeddddd�eddddd	ddd
�gZd�ZRS(
s0Create a new SSH key pair for use with instancestKeyNametmetavartKEYPAIRthelps#name of the new key pair (required)s-fs
--filenametFILEtroute_tos$file name to save the private key tocCs�|jd|d|df�GH|jjd�r�tjd�}t|jdd��}|j|d�WdQXtj|�n	|dGHdS(NRtkeyNametkeyFingerprinttfilenamei?twtkeyMaterial(ttabifytargstgettostumasktopentwrite(tselftresultt
prev_umasktprivkeyfile((sH/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createkeypair.pytprint_result&sN(t__name__t
__module__tDESCRIPTIONRtNonetARGSR(((sH/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createkeypair.pyRs(teuca2ools.commands.ec2RRtrequestbuilderRR(((sH/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createkeypair.pyt<module>s