fastapi-cloud-env-set - Man Page

fastapi cloud env set – Set an environment variable for the app.

Synopsis

fastapi cloud env set [Options] [NAME] [VALUE] [PATH_ARG]

Options

--value-stdin

Read the environment variable value from stdin.

--path PATH

Path to the directory with your app’s pyproject.toml (defaults to current directory).

--app-id TEXT

ID of the app whose environment variable should be set.

--secret

Mark the environment variable as secret.

--json

Print structured JSON to stdout. [env var: FASTAPI_CLOUD_JSON]

--help,  -h

Show a help message and exit.

Arguments

NAME

The name of the environment variable to set.

VALUE

The value of the environment variable to set.

PATH_ARG

Path to the directory with your app’s pyproject.toml (defaults to current directory).

Environment

FASTAPI_CLOUD_JSON

Print structured JSON to stdout; same as the --json option.

See Also

fastapi-cloud-env-list(1), fastapi-cloud-env-get(1), fastapi-cloud-env-delete(1)

fastapi-cloud-env(1)

fastapi-cloud(1)

fastapi(1)

Referenced By

fastapi-cloud-env(1), fastapi-cloud-env-delete(1), fastapi-cloud-env-get(1), fastapi-cloud-env-list(1).

June 2026