tilegroxy docs
It is recommended you employ caution with this option. It should be regarded as a protection against casual web scrapers but not true security. It is recommended only for development and internal ("intranet") use-cases. Does not include any authz logic.

Example

  • YAML

  • JSON

authentication:
  name: static key
  key: my-secret-key
{
  "authentication": {
    "name": "static key",
    "key": "my-secret-key"
  }
}

Configuration

Configuration options
Parameter Description Type Required Default

key

The bearer token to require be supplied. If not specified tilegroxy will generate a random token at startup and output it in logs

string

No

Auto