立即开始
Vercel Tools

Vercel Add Environment Variable

通过 Aident Loadout 使用 Vercel Tools 的 Vercel Add Environment Variable。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5API 密钥连接

服务提供商说明

Tool to add an environment variable to a Vercel project. Variables only take effect in subsequent deployments — already-running deployments are not updated. Use after confirming the project exists and you need to configure secrets or configuration values across environments befo…

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • keystring
    必填
    Name of the environment variable
  • slugstring
    Team slug to perform the request on behalf of
  • typestring
    必填
    Type of the variable storage: 'plain' (non-sensitive values), 'encrypted' (standard encrypted values visible to project users), or 'sensitive' (values that are non-readable once created, only decrypted during builds). NOTE: 'sensitive' type variables can only target 'production'…
  • valuestring
    必填
    Value of the environment variable
  • targetarray
    必填
    List of environments where this variable should be available. Must be provided as a list even for a single environment. Valid values: 'production', 'preview', 'development'. NOTE: When type='sensitive', 'development' is NOT allowed - only 'production' and 'preview' are valid tar…
  • teamIdstring
    Team identifier to perform the request on behalf of
  • upsertboolean
    If true, overwrite existing variables with the same key Silently overwrites without confirmation — only set true when user has explicitly confirmed the existing value should be replaced.
  • commentstring
    Optional comment for context
  • idOrNamestring
    必填
    The unique identifier or name of the project
  • gitBranchstring
    Git branch to scope this variable to
  • customEnvironmentIdsarray
    List of custom environment identifiers. Must be provided as a list even for a single ID

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源