Updated on 2023-04-27 GMT+08:00

Functions

Key Pair Service (KPS) is a secure, reliable, and easy-to-use cloud service designed to manage and protect your SSH key pairs (key pairs for short).

As an alternative to the traditional username+password authentication method, key pairs allow you to remotely log in to Linux ECSs.

A key pair, including one public key and one private key, are generated based on a cryprographic algorithm. The public key is automatically saved in KPS, while the private key can be saved to the user's local host. You can also save your private keys in KPS and manage them with KPS based on your needs. If you have configured the public key in a Linux ECS, you can use the private key to log in to the ECS without a password. Therefore, you do not need to worry about password interception, cracking, or leakage.

Functions

Using the KPS console or APIs, you can perform the following operations on key pairs:
  • Creating, importing, viewing, and deleting key pairs
  • Resetting, replacing, binding, and unbinding key pairs
  • Managing, importing, exporting, and clearing private keys

KPS supported cryptography algorithms

  • The SSH key pairs created on the management console support the following cryptographic algorithms:
    • ssh-ed25519
    • ecdsa-sha2-nistp256
    • ecdsa-sha2-nistp384
    • ecdsa-sha2-nistp521
    • ssh-rsa. The maximum valid length is 2048,3072,4096.
  • The SSH keys imported to the KPS console support the following cryptographic algorithms:
    • ssh-dss
    • ssh-ed25519
    • ecdsa-sha2-nistp256
    • ecdsa-sha2-nistp384
    • ecdsa-sha2-nistp521
    • ssh-rsa. The maximum valid length is 2048,3072,4096.