envs

UploadThing — file uploads

uploadthing/api · version 1

envs add uploadthing/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
UPLOADTHING_TOKEN required secret One value since version seven, replacing a separate secret and app id. UploadThing states no sensitivity, but the token is base64 JSON carrying the API key inside it, so it is secret here as the key would be.. where to get it

The JSON the CLI reads