coder/docs/cli/server_dbcrypt_delete.md

1.1 KiB

server dbcrypt delete

Delete all encrypted data from the database. THIS IS A DESTRUCTIVE OPERATION.

Aliases:

  • rm

Usage

coder server dbcrypt delete [flags]

Options

--postgres-url

Type string
Environment $CODER_EXTERNAL_TOKEN_ENCRYPTION_POSTGRES_URL

The connection URL for the Postgres database.

--postgres-connection-auth

Type enum[password|awsiamrds]
Environment $CODER_PG_CONNECTION_AUTH
Default password

Type of auth to use when connecting to postgres.

-y, --yes

Type bool

Bypass prompts.