Security - how to avoid exposing app search keys (searchKey,host identifier,engineName) in search ui

@JasonStoltz yeah documents are private thats why...
If anyone get these keys then he can easily access documents without logging which I don't want.

Could you please suggest any better way to handle this?

PFA : search-ui default demo-examples