Files
doris/docs/en/sql-reference/sql-statements/Data Definition/DROP ENCRYPTKEY.md
qiye 5de79ec3f0 [Feature] Support data encrypt/decrypt (#6115)
Add support for data encryption/decryption.
2021-07-19 09:27:08 +08:00

1.3 KiB

title, language
title language
DROP ENCRYPTKEY en

DROP ENCRYPTKEY

Description

Syntax

DROP ENCRYPTKEY key_name

Parameters

key_name: To delete the name of the key, you can include the name of the database. For example: db1.my_key.

Delete a custom key. A key can be deleted only if its name is identical.

Executing this command requires the user to have the ADMIN privileges.

example

  1. Delete a key.
DROP ENCRYPTKEY my_key;

keyword

DROP,ENCRYPTKEY