I created a secured API Key using the information you provide on this page:
This is the code we use to get the public key:
string public_key = client.GenerateSecuredApiKey( apikey, new Query() .SetRestrictIndices(restrictIndices) );
apikey is the secret api key and
restrictIndices is the index that is being queried.
public_key that is returned is a 64 bit encoded string that is made up of an API key and then the values of the restrictIndices.
Our security folks ask me to find out if:
- In the secured
public_keywe see the restricted indices. Are the indices supposed to be listed within?
- Is it possible to remove the
restrictIndicesfrom this? Can this be done programmatically using Algolia’s library? Or programmatically by us?