--- layout: docu railroad: statements/secrets.js redirect_from: - /docs/sql/statements/create_secret title: CREATE SECRET Statement --- The `CREATE SECRET` statement creates a new secret in the [Secrets Manager]({% link docs/stable/configuration/secrets_manager.md %}). ## Syntax for `CREATE SECRET`
> Warning When using the [command line client]({% link docs/stable/clients/cli/overview.md %}), the `CREATE SECRET` statements are stored in your DuckDB history as plain text. ## Syntax for `DROP SECRET`