DROP SECRET

The DROP SECRET statement deletes an existing secret.

Syntax

DROP SECRET secret_name
  • secret_name — the name of the secret to delete.

Permissions

Deleting a secret requires the rights REMOVE SCHEMA and ALTER SCHEMA.

Examples

Delete the secret named secret_name:

DROP SECRET secret_name;

See also