Filebeat keystore automation

Is it possible to automate the password entry when creating a filebeat keystore via PowerShell? I'm running the command '.\filebeat keystore add ES_PWD', and when prompted to 'Enter value for ES_PWD', I'd like this to automatically populate from a variable. I've tried running 'echo password | .\filebeat keystore add ES_PWD', but received the error "could not read value from the input, error: The handle is invalid." Thank you

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.