Skip to main content

Environment variables reference

LUX_API_KEY

API key for authenticating with LuaRocks.

Required by lx upload. Obtain your key from the API key settings page.

LUAROCKS_2FA_SECRET

Secret key for generating TOTP codes for two-factor authentication.

Lux reads this variable to automatically generate 2FA codes during lx upload, eliminating the need for the --tfa-code flag. Obtain the secret from the 2FA settings page on LuaRocks.