Kong is an open source API gateway that runs in front of RESTful APIs. It provides functionality through plugins such as authentication, security, traffic control, and logging. Kong creates and manages APIs and plugins to add authentication. For example, a key authentication plugin is enabled on an API, and a consumer is created with a key that must be provided in requests to access the API. Without a valid key, requests return an error.