Help Center/ Elastic Cloud Server/ User Guide/ Passwords and Key Pairs/ Key Pairs/ (Recommended) Creating a Key Pair on the Management Console
Updated on 2024-10-18 GMT+08:00

(Recommended) Creating a Key Pair on the Management Console

Scenarios

You can use the management console to create a key pair. ECS stores the public key and you store the private key.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Click . Under Compute, click Elastic Cloud Server.
  4. In the navigation pane on the left, choose Key Pair.
  5. On the displayed page, click Create Key Pair.

    Key pairs include private key pairs and account key pairs. Private key pairs are only available to the user itself. Account key pairs are available to all users under the account.

    You can create key pairs based on your needs.

  6. Configure the following parameters:
    1. Enter a key pair name.
    2. Select a type.
    3. Confirm KMS encryption.
      This option is displayed only if you select I agree to host the private key of the key pair.
      • If you do not select I agree to host the private key of the key pair, you can download the private key only once for security purposes. Please keep the private key secure.

        If the key pair is lost, you can reset a key pair and bind it to the ECS.

      • If you select I agree to host the private key of the key pair, you can export the managed private key as required. For details, see Exporting a Private Key.
    4. Select I have read and agree to the Key Pair Service Disclaimer.
  7. Click OK.

Related Operations