DROP SECRET

Synopsis

DROP SECRET secret_name;

Description

Drops an existing secret. Secrets cannot be dropped if they are referenced by an active query.

DROP SECRET cannot be undone. Use it with care!

Arguments

secret_name

The name of the Secret to drop. For case-sensitive names, the name must be wrapped in double quotes, otherwise, the lowercased name will be used.

Example

Drop a Secret

db1.public/my_store# DROP SECRET mysecret;
db1.public/my_store# LIST SECRETS;
  Name | Access Region | Status | Owned by | Created at | Updated at | Description  
-------+---------------+--------+----------+------------+------------+--------------

Last updated