New
Discover how Dropbox streamlined dev environments & cut costs by switching 1000 developers to Coder

Read the success story

Home
/
Command Line
/
server dbcrypt decrypt

server dbcrypt decrypt

server dbcrypt decrypt

Decrypt a previously encrypted database.

Usage

coder server dbcrypt decrypt [flags]

Options

--postgres-url

Typestring
Environment$CODER_PG_CONNECTION_URL

The connection URL for the Postgres database.

--postgres-connection-auth

Typeenum[password|awsiamrds]
Environment$CODER_PG_CONNECTION_AUTH
Defaultpassword

Type of auth to use when connecting to postgres.

--keys

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

Typebool

Bypass prompts.

See an opportunity to improve our docs? Make an edit.
On this page