How are environment variables set - Windows?

How does one set environment variables on Windows (not Docker). I need to set CLOUDFLARE_API_KEY for example to generate certificates. Any help would be appreciated!

Hello @ZackaryH8,

According to this page set | Microsoft Docs, you need to use this syntaxt set <variable>=[<string>] to set environment variables on Windows.
So you might need to do set CLOUDFLARE_API_KEY=XXXX for your use case.

Hope it helps :slight_smile:

Ps, My Windows days are long gone, so feel free to correct me if I am wrong.

Yeah it was just Windows Environment Variables, I don't know why this wasn't my first thought. Thanks!

1 Like