Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.35 KB

File metadata and controls

49 lines (32 loc) · 1.35 KB

server dbcrypt decrypt

Decrypt a previously encrypted database.

Usage

coder server dbcrypt decrypt [flags]

Options

--postgres-url

Type string
Environment $CODER_PG_CONNECTION_URL

The connection URL for the Postgres database.

--postgres-connection-auth

Type password|awsiamrds
Environment $CODER_PG_CONNECTION_AUTH
Default password

Type of auth to use when connecting to postgres.

--keys

Type string-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

Type bool

Bypass prompts.