vars#
Feature availability
- 适用于自托管企业版、专业版和企业云套餐。
¥Available on Self-hosted Enterprise and Pro and Enterprise Cloud plans.
- 要创建变量,你需要访问 n8n 实例所有者账户。
¥You need access to the n8n instance owner account to create variables.
vars 包含活动环境的所有 变量。只读:你可以使用 vars 访问变量,但必须通过用户界面设置它们。
¥vars contains all Variables for the active environment. It's read-only: you can access variables using vars, but must set them using the UI.
1 2 | |
1 2 | |
vars and env
访问用户创建的变量,请参阅 vars。这是 环境 功能的一部分。访问 n8n 实例的 配置环境变量,请参阅 env。
¥vars gives access to user-created variables. It's part of the Environments feature. env gives access to the configuration environment variables for your n8n instance.