Changing Master API Key on Existing Server
TLDR Imtiaz asked about the effects of changing the master API Key on an existing server. Kishore Nallan assured the older keys will still work.
Powered by Struct AI
1
5
24mo
Solved
Nov 12, 2021 (24 months ago)
Imtiaz
Imtiaz
08:13 AMHi, would just like to know what would happen if I change the master API Key on an existing server? Do the keys/data generated previously still work?
Kishore Nallan
Kishore Nallan
09:03 AM👋 Imtiaz By "change", do you mean restarting Typesense with a different
--api-key
argument?Imtiaz
Imtiaz
09:04 AMYes, via changing that in the config file - but I assume behaviour is the same as changing it via the CLI
Kishore Nallan
Kishore Nallan
09:05 AMYes. All older keys will continue to work.
Imtiaz
Imtiaz
09:06 AMPerfect, thanks!
1
Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 2786 threads (79% resolved)
Similar Threads
Generating New API Key in Typesense Cloud
Radi asks if generating new API keys in Typesense Cloud invalidates old ones. Jason clarifies that old keys are not invalidated.
3
21mo
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
26mo
Solved
Issues with Generating Scope API Keys in Python
Danny had issues generating a valid scope API key in a Python GraphQL server. Jason suggested encoding changes and confirmed that the key length varies. Issue unresolved with Python, although JS library worked.
42
17mo