Help Center/ Data Encryption Workshop/ FAQs/ KPS Related/ How Do I Obtain the Public or Private Key File of a Key Pair?
Updated on 2023-01-31 GMT+08:00

How Do I Obtain the Public or Private Key File of a Key Pair?

Obtaining a Private Key File

When you create a key pair, your private key file will be automatically downloaded.

  • If the private key is not managed, it cannot be downloaded later. Keep it properly.
  • If you have authorized Huawei Cloud to manage private keys, you can export the managed private keys. For details, see Exporting a Private Key.

Obtaining a Public Key File

  • If a key pair is created on the management console, its public key is automatically stored in Huawei Cloud. You can press F12 to refresh the key pair list, and make a note of the public_key field in the list.
  • If a key pair was created using PuTTYgen, you can find its public key in the storage path on your local PC.