| Did this page help you? Yes No Tell us about it... |
Computes and displays the fingerprint for a private key produced by Amazon EC2.
This operation is performed entirely on the client-side. Network access is not required.
The short version of this command is ec2fp.
ec2-fingerprint-key
keyfile
| Name | Description | Required |
|---|---|---|
|
|
The path to a file containing an unencrypted PEM-encoded PKCS#8 private key. Type: String Default: None Example: mykey.pem |
Yes |
| Option | Description |
|---|---|
|
|
Overrides the Region specified in the Default: The Example: |
|
|
Default: The Example: |
|
|
The private key to use when constructing requests to Amazon EC2. Default: The value of the Example: |
|
|
The X.509 certificate to use when constructing requests to Amazon EC2. Default: The value of the Example: |
|
|
Specifies a connection timeout (in seconds). Example: --connection-timeout 30 |
|
|
Specifies a request timeout (in seconds). Example: --request-timeout 45 |
|
|
Displays verbose output by showing the SOAP request and response on the command line. This is particularly useful if you are building tools to talk directly to our SOAP API. |
|
|
Displays column headers in the output. |
|
|
Shows empty columns as |
|
|
Do not display tags for tagged resources. |
|
|
Prints internal debugging information. This is useful to assist us when troubleshooting problems. |
|
|
Displays Help. |
|
|
If Example: |
The command returns a table that contains the following information:
A key fingerprint. This is formatted as a hash digest with each octet separated by a colon
Amazon EC2 command line tools display errors on stderr.
This example computes and displays the fingerprint for the mykey.pem private key.
PROMPT>ec2-fingerprint-key mykey.pem1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f