secret create

Create a secret

Usage

coder secret create [flags] <name>

Description

Provide the secret value with --value or non-interactive stdin (pipe or redirect).

Options

--value

Typestring

Set the secret value. For security reasons, prefer non-interactive stdin (pipe or redirect).

--description

Typestring

Set the secret description.

--env

Typestring

Name of the workspace environment variable that this secret will set.

--file

Typestring

Workspace file path where this secret will be written. Must start with ~/ or /.