Write a plugin to enable logstash password protection

Hi everyone,

I'm actually playing around elastic technologies and I want to write a logstash plugin to enable password protection. Does something like this already exist? If not, anyone can give me skeleton or sample configs to achieve it?

Thanks a lot!!

Password protection of what?

Thanks for replying @magnusbaeck. As you see the shield plugin of elasticsearch, I want to do something similar i.e protect the access to my logstash by password. For instance, when a user want to ship his logs to my logstash using for example filebeat or topbeat, he need to pass credentials in his config files. I know tls exist for this purpose, but is it possible to have something like this?

This would only be useful for a very small subset of plugins, eg how would it work with the tcp input?

Ok I see what you mean. thank you!!!