i want to run bulk index API from .bat file. The .bat file will run with Windows Task Scheduler under domain user which has 'superuser' role in the elasticsearch. So that I do not need to mentioned '--user : ' in the bulk index api.
But it fails. any other suggestion?
i don't want to put my password in the .bat file due to security concern.