Reference

blossom env_var:list

List environment variables

Usage

blossom env_var:list [--environment ENVIRONMENT] [--reveal]

Flags

Flag Description
--environment, -e Environment id to list from
--reveal Read actual values (requires env_var:read permission)

Examples:

blossom env_var:list --environment environment-100
blossom env_var:list --environment environment-100 --reveal
BLOSSOM_OUTPUT=json blossom env_var:list --environment environment-100 --reveal

Values are hidden by default, including JSON output. Add --reveal to display them explicitly. The API returns values only when requested and your membership and token both allow env_var:read, in addition to environment:read. Full access includes this permission; general Read only does not. This applies to every variable, regardless of its name. JSON keeps the value field with [hidden] in place of the value; scripts that read actual values must pass --reveal.

Use env_var:pull --reveal to export actual values to a dotenv file without printing them in the terminal. Create, update, delete and push output does not reveal values.