Cloudflare Secrets

This is a lot of work just to access an API.

Secret Configuration

Set the secret into your Cloudflare account. I've been using the Cloudflare Dashboard, but it looks easier to do via command line.

Worker

Write and host a cloudflare worker to get the key from Cloudflare and give it to the static page.

Page

The page also needs some .js to connect with the worker and use the data.