Skip to main content

Create and manage key pair

A key pair is a credential used to verify authentication when connecting to an instance, and it consists of a public key and a private key.
The public key is stored on the instance, and the private key is stored and managed directly by the user. Because anyone who has the private key can connect to the instance, the user who created the private key must keep it secure.

Key pair componentDescription
Public keyPublic key registered and managed on the instance to secure instance access
- You can view it in Virtual Machine > Key pair > [⋮] button > View public key
Private keyKey stored and managed directly by the user to connect to the instance
- Required when connecting to the instance through SSH
- Can be downloaded only once at creation

⚠️ Because anyone who owns the private key can connect to the instance, pay special attention to security management.

Create new key pair

You can create a new key pair.

  1. Go to Compute > Beyond Compute Service > Bare Metal Server in the KakaoCloud console.

  2. In the Key pair menu, click the [Create key pair] button.

  3. In the pop-up window, select Create new key pair, enter the information, and click the [Create] button. Image. Create key pair Create new key pair

  4. When the key pair is created, the private key file named {key pair name}.pem is downloaded automatically.

    CategoryDescription
    NameEnter the key pair name
    - Example: keypair-01_01
    - Duplicate key pair names are not allowed within the same project
    TypeBoth types consist of a pair of a public key and a private key
    - SSH: Authentication key used in systems that use the SSH protocol
    Created atCreation date and time of the key pair

Upload existing key

You can create a key pair using existing key information.

  1. Go to Bare Metal Server in the KakaoCloud console.
  2. In the Key pair menu, click the [Create key pair] button.
  3. In the pop-up window, select Upload existing key as the creation method.
  4. In the file information section, either enter the key information directly or upload a key file through the [Upload file] button.

View key pair list and basic information

You can view the key pairs used in the project and their basic information.

  1. Go to Compute > Beyond Compute Service > Bare Metal Server in the KakaoCloud console.

  2. Click the Key pair menu, then check the currently created key pairs.

    Image. Manage key pair Manage key pair

    CategoryDescription
    NameKey pair name
    TypeKey pair type
    Connected resourcesInstances connected to the key pair
    Created atCreation date and time of the key pair

View key pair details

You can view the fingerprint and public key of the key pair.

  1. Go to Compute > Beyond Compute Service > Virtual Machine in the KakaoCloud console.
  2. In the Key pair menu, click the [⋮] button for the key pair, then check the detailed information.
    CategoryDescription
    View fingerprintView the fingerprint, which is the unique identifier of the key pair
    - The fingerprint is used to verify that the key pair was registered correctly or to compare whether it is the same key.
    View public keyView the public key value registered in the key pair
    - This information is needed when connecting to an instance or checking the key.

View fingerprint

You can view the fingerprint of the key pair, which is used as the unique identifier of the public key.

  1. Go to Compute > Beyond Compute Service > Bare Metal Server in the KakaoCloud console.
  2. In the Key pair menu, select [⋮] for the key pair to view > View fingerprint.
  3. In the pop-up window, check the fingerprint of the key pair.
    • To copy it, click the [Copy] button to save it to the clipboard.

View public key

You can view the public key of the created key pair.

  1. Go to Compute > Beyond Compute Service > Bare Metal Server in the KakaoCloud console.
  2. In the Key pair menu, select [⋮] for the key pair to view > View public key.
  3. In the pop-up window, check the public key.
    • To copy it, click the [Copy] button to save it to the clipboard.

Delete key pair

You can delete a key pair that is no longer in use.

caution
  • Deleted key pairs cannot be recovered.
  • If you delete a key pair, you can no longer use that key pair to access new instances.
  1. Go to Compute > Beyond Compute Service > Bare Metal Server in the KakaoCloud console.
  2. In the Key pair menu, select [⋮] for the key pair to delete > Delete key pair.
  3. In the pop-up window, enter the confirmation text, then click the [Delete] button.