Konubinix' opinionated web of thoughts

API Key vs Client Id/Secret


API key vs client id/secret

  • With an API key, you access the API.
  • With OAuth 2.0, you get the possibility to ask to a resource owner the authorization to access the API.

If you need to get access to some generic API and also ask the user to access some resources, you can totally use a client secret as an API key.