tyk

How to secure remote api for calls not coming from tyk?

…衆ロ難τιáo~ 提交于 2020-01-17 06:44:56
问题 I want to know what is the best way to secure a remote api for use by tyk. Let me explain : When a call this done by the proxy tyk it is secure because it takes a token or other. Now if I want to make calls directly to the remote API without going through the tyk proxy there is a problem because there is no need for token or other. How to secure remote api for calls not coming from tyk ? 回答1: Probably the simplest way to do this would be at the network level, essentially by whitelisting your

Multiple API documentation in one Swagger file

萝らか妹 提交于 2019-12-06 07:58:37
问题 Is it possible to have multiple (somehow separated) REST API documentations but only in one swagger yaml file? Or can the swagger yaml contain only one API documentation? Because I have 2 REST API developed by me, and I want to have a common swagger ui instead of two, which I could manage with a gateway like Tyk. 来源: https://stackoverflow.com/questions/51080805/multiple-api-documentation-in-one-swagger-file

What are the option to API gateway with docker?

痞子三分冷 提交于 2019-12-04 08:35:27
问题 I've created several RESTful microservices and dockerized them. Now I want to have a web-based UI for them and the ability to create users and grant permissions to them to use some of the APIs. I know that I need some kind of API gateway. My first thought was that I always could do that bruteforce way: create some django app that would serve UI and proxy all request to APIs by hand, but this seems very dull. Maybe there are some alternatives? I've ready about Tyk, but can't find any