> ## Documentation Index
> Fetch the complete documentation index at: https://docs.risingwave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DROP SECRET

> Use the `DROP SECRET` command to drop the secrets that store sensitive credentials.

## Syntax

```sql theme={null}
DROP SECRET secret_name;
```

## Parameters

| Parameter or Clause | Description                           |
| :------------------ | :------------------------------------ |
| *secret\_name*      | The name of the secret to be dropped. |

## Examples

```sql theme={null}
CREATE SECRET mysql_pwd WITH ( backend = 'meta' ) AS '123';
----RESULT
CREATE_SECRET

DROP SECRET mysql_pwd;
----RESULT
DROP_SECRET
```

## See also

<CardGroup>
  <Card title="Manage secrets" icon="key" iconType="solid" href="/operate/manage-secrets">
    A comprehensive guide for secret management operations, including creation, usage, and deletion.
  </Card>

  <Card title="CREATE SECRET" icon="plus" iconType="solid" href="/sql/commands/sql-create-secret">
    Create a secret
  </Card>
</CardGroup>
