Skip to content
Skip to Content
Coder Docs

coder server dbcrypt decrypt

Decrypt a previously encrypted database.

On this page

Decrypt a previously encrypted database.

Usage

Usage
coder server dbcrypt decrypt [flags]

Options

Options

--postgres-url

--postgres-url
PropertyValue
Typestring
Environment$CODER_PG_CONNECTION_URL

The connection URL for the Postgres database.

--postgres-connection-auth

--postgres-connection-auth
PropertyValue
Typepassword|awsiamrds
Environment$CODER_PG_CONNECTION_AUTH
Defaultpassword

Type of auth to use when connecting to postgres.

--keys

--keys
PropertyValue
Typestring-array
Environment$CODER_EXTERNAL_TOKEN_ENCRYPTION_DECRYPT_KEYS

Keys required to decrypt existing data. Must be a comma-separated list of base64-encoded keys.

-y, --yes

-y, --yes
PropertyValue
Typebool

Bypass confirmation prompts.