Mapbox — maps and geocoding
mapbox/maps · version 1
envs add mapbox/maps
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 |
|---|---|---|---|
MAPBOX_ACCESS_TOKEN |
required | config | Mapbox says public tokens are designed for client-side applications and can be safely exposed in browsers and mobile apps. Restrict it by URL: Mapbox says a token without restrictions works from any origin.. Shape ^pk\..+$. where to get it |
MAPBOX_SECRET_TOKEN |
optional | secret | Mapbox says private tokens should never appear in client-side code and belong where confidentiality can be guaranteed. Rotation is create, redeploy, then delete: the default public token can be refreshed but never deleted. The name is convention.. Shape ^sk\..+$. where to get it |