flyctl secrets

Manage App secrets

About

Manage application secrets with the set and unset commands.

Secrets are provided to applications at runtime as ENV variables. Names are case sensitive and stored as-is, so ensure names are appropriate for the application and vm environment.

Usage

flyctl secrets [command] [flags]

Available Commands

  • import - Read secrets in name=value from stdin
  • list - Lists the secrets available to the App
  • set - Set one or more encrypted secrets for an App
  • unset - Remove encrypted secrets from an App

Options

  -a, --app string      App name to operate on
  -c, --config string   Path to an app config file or directory containing one (default "./fly.toml")
  -h, --help            help for secrets

Global Options

  -t, --access-token string   Fly API Access Token
  -j, --json                  json output
  -v, --verbose               verbose output

See Also