Set an environment variable
set_variableSet a non-secret environment variable, creating the environment if it does not exist, and write it to the Git-shared file so requests can reuse it as {{key}}.
Instructions
Set a non-secret variable in an environment, creating the environment if it does not exist. The value is written to the environment's file, so it is shared through Git; never use it for a secret. Secret variables and protected environments can only be changed in Kurlo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Variable name, used in requests as {{key}}. | |
| value | Yes | Value. | |
| workspace | No | Workspace name, when the folder holds more than one. | |
| description | No | What the variable is for. | |
| environment | No | Environment name. Defaults to the one the server was started with. |