DROP SECRET
Use the DROP SECRET
command to drop the secrets that store sensitive credentials.
Syntax
DROP SECRET secret_name;
Parameters
Parameter or Clause | Description |
---|---|
secret_name | The name of the secret to be dropped. |
Examples
CREATE SECRET mysql_pwd WITH ( backend = 'meta' ) AS '123';
----RESULT
CREATE_SECRET
DROP SECRET mysql_pwd;
----RESULT
DROP_SECRET
See also
-
Manage secrets: A comprehensive guide for secret management operations, including creation, usage, and deletion.
-
CREATE SECRET
: Create a secret.