#community-help

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
Join the chat
Nov 12, 2021 (24 months ago)
Imtiaz
Photo of md5-5c86b23fcf7d52313d7a346d8cc3e86b
Imtiaz
08:13 AM
Hi, 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
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
09:03 AM
👋 Imtiaz By "change", do you mean restarting Typesense with a different --api-key argument?
Imtiaz
Photo of md5-5c86b23fcf7d52313d7a346d8cc3e86b
Imtiaz
09:04 AM
Yes, via changing that in the config file - but I assume behaviour is the same as changing it via the CLI
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
09:05 AM
Yes. All older keys will continue to work.
Imtiaz
Photo of md5-5c86b23fcf7d52313d7a346d8cc3e86b
Imtiaz
09:06 AM
Perfect, thanks!

1