Scoping API Keys to Exclude Specific Collection
TLDR Sveinbjorn asked if it's possible to scope API keys to exclude specific collections. Kishore Nallan advised opening a Github issue to request the feature.
Powered by Struct AI
6
8mo
Solved
Apr 19, 2023 (8 months ago)
Sveinbjorn
Sveinbjorn
09:20 AMHey guys,
Is there way to scope api keys so that they can search all collections except one?
Something like this:
Is there way to scope api keys so that they can search all collections except one?
Something like this:
"collections": [ "*", "!super-secret-collection"]
Kishore Nallan
Kishore Nallan
09:21 AM👋 no that's not possible
Sveinbjorn
Sveinbjorn
09:23 AMThank you for a fast response. Is that on the roadmap to implement this?
Kishore Nallan
Kishore Nallan
09:24 AMPlease open a Github issue. We've not been asked for this yet and we prioritize features based on demand.
Sveinbjorn
Sveinbjorn
09:24 AMWill do, thank you!
09:38
Sveinbjorn
09:38 AMTypesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 3011 threads (79% resolved)
Similar Threads
Hiding Attributes and Accessing with Scoped API Key in Typesense
Atul asked how to hide attributes and access them in specific scenarios. Kishore Nallan suggested using exclude fields with scoped API key, and Stephen shared documentation.
3
8mo
Solved
Resolving Issues with Scoped API Keys in Typesense with Golang
Suvarna had problems with generating and using scoped API keys in Typesense with Golang. Several bugs misleading the user were found and fixed by Kishore Nallan.
158
28mo
Solved
Excluding Specific Rows in TypesenseInstantSearchAdapter
Jameshwart needed to exclude an unwanted row in typesense search results. Jason suggested creating a scoped API key and using filter_by with a link to an article.
4
7mo
Solved