envs

Payload CMS — instance

payload/cms · version 1

envs add payload/cms

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
PAYLOAD_SECRET required secret Signs tokens and cookies. Anyone holding it can mint an admin session.. where to get it
PAYLOAD_PUBLIC_SERVER_URL optional config Where the instance is reachable. The name says public.. Shape ^https://\S+$. where to get it

The JSON the CLI reads