envs

Directus — static token access

directus/api · version 1

envs add directus/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
DIRECTUS_URL required config Where your own instance lives. An address, and a browser client needs it. The name is convention.. where to get it
DIRECTUS_TOKEN required secret A static token belonging to one user, shown once and not viewable again. Directus states no sensitivity and warns only that passing it as a query parameter risks it being logged, so it is treated as secret here. The name is convention.. where to get it

The JSON the CLI reads