Skip to main content

set

set one or more environment secrets

Usage​

csph environments secrets set <KEY=VALUE> [KEY=VALUE...] [flags]

Options​

Command Specific​

--environment <string>
environment ID
--replace
set exactly these secrets, dropping any not listed

Inherited​

--config <string>
config file (default is $HOME/.config/computesphere/configuration.yaml)
--debug
enable debug logging

-h, --help

show this help message

-i, --interactive

run interactively (prompts, pickers, table browser)
--log-level <string>
log level: [trace|debug|info|warn|error|fatal|panic|disabled||api]
--no-color
disable color output
--no-input
disable interactive mode

Examples​

# stored encrypted; never printed back
> csph environments secrets set DATABASE_URL=postgres://... STRIPE_KEY=sk_live_... --environment <id>

See also​