Functions are serverless functions hosted on Evervault for processing the data you encrypt with Relay or our SDKs.
A convenient way to configure your Functions in code.
function.toml can be generated using the
ev function create-toml command in v3 of the Evervault CLI.
Evervault Functions are configured using a
function.toml configuration file which can be committed to source control. Simply include a
function.toml file in the root of your repository and Evervault will automatically include it at build time.
The format of a
function.toml is as follows:
toml[function]# Customize your Function's timeout by providing a positive integer value.# The timeout is defined in seconds.# Default: 30# Maximum: 900timeout = 120# Customize your Function's entry point by specifying the handler in the form `<FILE>.<FUNCTION>`handler = "main.myFunc"# The name of your Functionname = "your-function-name"# The language of your Function# Node: node@18# Python: email@example.com, firstname.lastname@example.org, email@example.com = "node@18" "firstname.lastname@example.org/8/9"