Mapbox
An agent asks for one of these keys by its usual variable name, such as MAPBOX_ACCESS_TOKEN, and offprompt knows from the name which key it is. Under any other name, the agent says which with provider: "mapbox/secret_token" or the like.
| Key | Usual names | Under any other name |
|---|---|---|
| Public access token, shown in the clear | MAPBOX_ACCESS_TOKEN, MAPBOX_TOKEN | provider: "mapbox/public_token" |
| Secret access token | MAPBOX_SECRET_TOKEN, MAPBOX_DOWNLOADS_TOKEN | provider: "mapbox/secret_token" |
Public access token
Made at console.mapbox.com/account/access-tokens/. Looks like pk.….
- Starts with pk.
- At least 40 characters
Secret access token
Made at console.mapbox.com/account/access-tokens/. Looks like sk.….
- Starts with sk.
- At least 40 characters