This PR deprecate the --admin-api-key global flag and replace it with --api-key. This is also valid for api keys stored in the profiles and the ones from the environment variables.
Each command interacting with the Algolia API now check the ACLs needed in order to execute the command and fail if the provided API Key don't have the needed ACLs.
We also warns the user when creating a profile with either:
Related to #114 and #97.
This PR deprecate the
--admin-api-key
global flag and replace it with--api-key
. This is also valid for api keys stored in the profiles and the ones from the environment variables.Each command interacting with the Algolia API now check the ACLs needed in order to execute the command and fail if the provided API Key don't have the needed ACLs.
We also warns the user when creating a profile with either: