#community-help

Generating Read Only API Key in InstantSearch Adapter

TLDR Vivek asked how to generate a read only API key for the InstantSearch adapter. Jason provided the method but clarified that domain whitelisting is not supported.

Powered by Struct AI
+11
4
25mo
Solved
Join the chat
Aug 26, 2021 (25 months ago)
Vivek
Photo of md5-3dc5ebd75bdb9057908882963a49c9f6
Vivek
08:23 PM
How can I generate read only api key as required by the docs while using instantsearch adapter. Ideally key should be able to access data from only whitelisted domains.
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
08:29 PM
Hi Vivek Here's how to generate a search only api key: https://typesense.org/docs/0.21.0/api/api-keys.html#create-an-api-key
08:30
Jason
08:30 PM
There's no way to whitelist only a particular domain though
Vivek
Photo of md5-3dc5ebd75bdb9057908882963a49c9f6
Vivek
08:34 PM
Thanks ! Jason
+11