Viewing File: /usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createkeypair.pyo


Xc@sFddlmZddlZddlmZdefdYZdS(i(t
EC2RequestN(tArgt
CreateKeyPairc
BsPeZdZedddddeddddd	ddd
gZdZRS(
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|dfGH|jjdrtjd}t|jdd}|j|dWdQXtj|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
Back to Directory File Manager