euca-create-keypair

Creates a new keypair and then prints the private half of the keypair. Eucalyptus does not store this information. We recommend that you create a keypair file with read permissions restricted to the appropriate user, and write the output to this file.

Syntax

euca-create-keypair keypair_name [-f, --filename file]

Options

Options Description Required
keypair_name Unique name for a keypair to be created. Yes
-f, --filename file Save the keypair to the named file. No

Common Options

Option Description
--show-empty-fields Show empty fields as "(nil)".
--region user@region Region and/or user name to search when looking up config file data. Only valid for EC2 endpoints.
-U,--url url URL of the cloud service to connect to. For administrative commands, this should be <ip_address>:8773/services/Empyrean.
-I,--access-key-id key_id User's access key ID.
-S,--secret-key secret_key User's secret key.
--security-token token User's security token.
--debug Prints what the command sends to the server and what it receives from the server. Use when you're trying to debug Euca2ools.
--debugger Enable interactive debugger on error.
-h,--help Display the manual page for the command.
--version Display the version of this tool.

Output

Example

euca-create-keypair mykey
KEYPAIR mykey   52:5f:e7:03:67:ad:b5:f3:65:4b:94:77:90:61:5f:1e:44:96:74:62
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAt5bLg1PhtF+kM5toDDl/MrxV5Ukm3ELWbI794MaCrFTiNTDf
URvZrWaKG2uldiHzJRhLusaUSopqdnCIW4hM5GJL1HRUZKy5cv3cNrlcf+NAuDEY
5iPzXwVW2I1masldmSwL5XWnehiigFveLkUqzsNEyKBVoi1DU0TNmlFZ0ee2wO1A
wJOeAViz6itnCGbF0W9UHtCQ7Y1qP/ENcm96pqugsj11LO4JMb+vX9Kc8VgHMBcb
1tg2kQShey28aJLXy9mu3RKL1lmD2OyvxxY1PNVLjTpAOrzmoMKEG2S7H6im9v7Y
zA6Tqik9WPi0jDcT/obwXLS+UgBpScai5179KwIDAQABAoIBAG1qhwJPNN5+fetv
/JQElIWVb5AGiA2QHCF5G2Aij3DL6kGPThkWAybwTPFIt8VvOG1sTH4Vqf2+/vJ1
4R7EXidjWhRV/JI/ywr4t4057iIeO81LHa7T0FFaakcIBvkv6APJF5H7DASduAPO
PN3QxVGTWWRFAqR0W4K+J9eIE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