You can get information about your keypairs. This action is available for both imported and TINA-generated keypairs.

If you exceed the number of identical requests allowed for a configured time period, the RequestLimitExceeded error message is returned.

This procedure uses AWS CLI only. Information about your keypairs is also available:


  • To get information about one or more keypairs, use the describe-key-pairs command following this syntax:

    Request sample
    $> aws ec2 describe-key-pairs \
        --profile YOUR_PROFILE \
        --key-name MyKeyPair \
        --endpoint https://fcu.eu-west-2.outscale.com

    This command contains the following attributes that you need to specify:

    • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.
    • key-names: The name of one or more keypairs about which you want to get information. 
    • (optional) filters: One or more filters. The following filters are available:
      • key-name: The name of one or more keypairs. 
      • key-fingerprintIf you used the create-key-pair command to create the keypair, the SHA-1 digest of the DER encoded private key (see Creating a Keypair). If you used the import-key-pair command to provide the public key, the MD5 public key fingerprint as specified in section 4 of RFC4716 (see Importing a Keypair).  
    • endpoint: The endpoint corresponding to the Region you want to send the request to.


    The describe-key-pairs command returns the following elements:

    • KeyPairs: Information about one or more keypairs. This element contains the following information: 

      • KeyName: The name of the keypair. 

      • KeyFingerprintIf you used the create-key-pair command to create the keypair, the SHA-1 digest of the DER encoded private key (see Creating a Keypair). If you used the import-key-pair command to provide the public key, the MD5 public key fingerprint as specified in section 4 of RFC4716 (see Importing a Keypair).

    Result sample
     {
        "KeyPairs": [
            {
                "KeyName": "MyKeyPair",
                "KeyFingerprint": "1a:11:aa:11:aa:11:a1:a1:1a:11:1a:11:1a:1a:a1:aa"
            }
        ]
    }



AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.