Skip to content

nextdeploy secrets ​

Manage encrypted environment variables and secret stores for NextDeploy projects.


Usage ​

bash
nextdeploy secrets <subcommand> [flags]

Subcommands ​

SubcommandDescription
set <KEY> <VALUE>Set an encrypted secret or environment variable.
get <KEY>View the value of a secret (requires decryption key).
listList all defined secret names without revealing values.
pushPush local secret state to the remote server or Cloudflare secret store.
pullPull remote secrets into the local encrypted secret manifest.

Secrets Safety ​

  • Secrets are never committed in plaintext to git.
  • For Cloudflare Workers, secrets are passed via authenticated Cloudflare Secret Store or encrypted Worker bindings.
  • For VPS, secrets are mounted into protected /etc/nextdeploy/secrets/<app>.env with 0600 permissions.

Released under the MIT License.