Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ductus secret

Manage encrypted secrets (secrets/.json; key in DUCTUS_SECRET_KEY).

ductus secret [OPTIONS] <COMMAND>

ductus secret init

Print a new random key to put in DUCTUS_SECRET_KEY (keep it out of Git).

ductus secret init [OPTIONS]

ductus secret set

Create or update a secret. The value is read from stdin if not given.

ductus secret set [OPTIONS] <NAME> [VALUE]

Arguments

What it doesDefaultEnvironment
<NAME>The secret's name, as config files use it: ${secret:NAME}.
<VALUE>The value (read from stdin when not given, which keeps it out of the shell's history).

Options

What it doesDefaultEnvironment
--root <ROOT>The project folder: the one with interfaces/ and ductus.yaml..
--env <ENV>The environment: ${NAME} values come from environments/.yaml, ${secret:NAME} from secrets/.json.devDUCTUS_ENV

ductus secret list

List secret names (never values).

ductus secret list [OPTIONS]

Options

What it doesDefaultEnvironment
--root <ROOT>The project folder: the one with interfaces/ and ductus.yaml..
--env <ENV>The environment: ${NAME} values come from environments/.yaml, ${secret:NAME} from secrets/.json.devDUCTUS_ENV