take target and auth info from envvars