Why do i need to have 2 api keys for 2 applications?

from here https://www.algolia.com/doc/guides/security/api-keys/

it is said that

if you have 2 applications, you’ll usually have 2 main API keys

I will use algolia for my iOS and Android apps. I plan to make 2 API keys, one for searching and the other one for adding object to my index. so do I need to make 4 API keys ( 2 API key for android, and 2 API key for iOS) ?

I don’t understand why i need to have 2 api keys for 2 applications ?

Hi,

if you have 2 applications, you’ll usually have 2 main API keys

Here “application” means “Algolia application”, not Android nor iOS application :wink:

So I guess you will have one Algolia application and one main API Key.