Previous Topic: dpmutil ec2-owner Command--Configure EC2 Owner

Next Topic: dpmutil -proxy Command--Configure Proxy Server


dpmutil ec2-private-keypair Command--Configure Private Key Pair for EC2

The dpmutil set|get ec2-private-keypair command configures an RSA private key for EC2. The key pair private key used in this command, is different from the private key when you set up an account with Amazon. This command stores the key pair name and the private key in CA Server Automation database. Set the location of the private key pair file so CA Server Automation can locate the password for the key pair. You must have a CA Server Automation administrator role to use this command.

This command has the following format:

dpmutil {-set|-get|-delete} -ec2-private-keypair [-locale iso639value]
-set

Sets the EC2 private key pair file location on the EC2 server. The key pair file contains the unencrypted PEM encoded private key part of the 2048 RSA key pair. The key pair name must exist, or an error is generated. You are prompted for the following information:

EC2 Key Pair Name

Defines the key pair name that is associated with a 2048 RSA key pair. The key pair name is a unique identifier required for users to launch new EC2 instances.

EC2 Key Pair File

Defines the location of the file that contains the unencrypted PEM encoded private key part of the 2048 RSA key pair. The private key is generated when you create a key pair in EC2 using Amazon EC2 management tools.

EC2 Key Pair Name (if multiple)

Defines multiple key pairs in EC2. You can use the Amazon command line utilities to create multiple key pairs after you set up an Amazon account to use EC2. These key pair names are used when launching new EC2 instances.

EC2 Key Pair File (if multiple)

Defines the locations of the files that contain the unencrypted PEM encoded private key part of the 2048 RSA key pair. The private key is generated when you create a key pair in EC2 using Amazon EC2 management tools.

-get

Lists the settings for the private key pair.

-delete

Deletes the settings for the private key pair.

-locale iso639value

(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".