services.oauth2-proxy.keyFile
NixOS option
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.
type: null or absolute pathDefault
null
Example
declared in: nixos/modules/services/security/oauth2-proxy.nixView source on NixOS/nixpkgs →"/run/keys/oauth2-proxy"