envs

Modal — serverless compute

modal/api · version 1

envs add modal/api

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
MODAL_TOKEN_ID required secret Half of the pair, and it authenticates nothing on its own, but Modal never separates it as publishable so it stays with the other. The prefix is documented.. Shape ^ak-.+$. where to get it
MODAL_TOKEN_SECRET required secret The other half. Modal's CLI will read it from standard input rather than an argument, which is the closest its documentation comes to calling it sensitive.. Shape ^as-.+$. where to get it

The JSON the CLI reads