MyNixOS website logo
option

services.oauth2-proxy.keyFile

oauth2-proxy allows passing sensitive configuration via environment variables. Make a file that contains lines like OAUTH2_PROXY_CLIENT_SECRET=asdfasdfasdf.apps.googleuserscontent.com and specify the path here.

Declarations
Type
null or path
Default
null
Example
"/run/keys/oauth2-proxy"