How Do I Use the Online Tool to Encrypt or Decrypt Small Volumes of Data?

You can use the online tool to encrypt or decrypt data in the following procedures:

Encrypting Data

  1. Log in to the management console.

  2. Click image1 in the upper left corner of the management console and select a region or project.

  3. Choose Security > Key Management Service . The key management page is displayed.

  4. Click the alias of the desired CMK to view its details on the online data encryption page.

  5. Click Encrypt. In the text box on the left, enter the data to be encrypted.

  6. Click Execute. The data encryption result is displayed in the text box on the right.

    Note

    • The key you clicked is used for encryption.

    • To clear your input, click Clear.

    • To copy the encrypted data, click Copy to Clipboard. You can then paste and save it to a local file.

Decrypting Data

  1. Log in to the management console.

  2. Click image2 in the upper left corner of the management console and select a region or project.

  3. Choose Security > Key Management Service . The key management page is displayed.

  4. Click the alias of an enabled key (excepting Default Master Keys) to open the online tool page.

  5. Click Decrypt. In the text box on the left, enter the data to be decrypted.

    Note

    • The online tool automatically identifies the key used for data encryption, and uses it to decrypt data.

    • If the key has been deleted, the decryption will fail.

  6. Click Execute. The data decryption result is displayed in plaintext in the text box on the right.

    Note

    To copy the decrypted data, click Copy to Clipboard. You can then paste and save it to a local file.