set_env
Assign environment variables to a Hatchable project, accessible in functions via process.env. Keys containing SECRET, PASSWORD, TOKEN, API_KEY, or PRIVATE are automatically treated as secrets.
Instructions
Set environment variables for a project. Available in functions via process.env.KEY. Keys containing SECRET, PASSWORD, TOKEN, API_KEY, or PRIVATE are automatically marked as secrets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID (e.g. proj_a8Kq7fR2xZ) | |
| vars | Yes | Key-value pairs of environment variables |