Vari Variables

PolyAPI has a built-in variable service named vari.

Vari is a powerful tool for managing variables that are shared between different functions, like configuration and secrets.

With Vari, you can update configurations once and have all your functions use the new values.

Similarly, you can rotate secrets like API keys once, and have all your functions start using the new API keys.

There are two main ways to use vari in the PolyAPI:

First, let’s take a look at creating vari variables in the UI, as that’s the most common way to create variables when working on a new integration!