Approov is an API security solution used to verify that requests received by your backend services originate from trusted versions of your mobile apps, and here you can find a full working examples for the Tyk API Gateway that are the base for the Approov Quickstarts.
For more information about how Approov works and why you should use it you can read the Approov Overview at the root of this repo.
To learn more about each Tyk API Gateway example you need to read the README for each one at:
The docker stack provided via the docker-compose.yml file in this repo is used for development proposes and if you are familiar with docker then feel free to use it to follow the quickstart before you try it for real in your project.
Do not forget to properly setup the .env file at the root of this repo before you start the docker stack.
cp .env.example .envEdit the .env file and add a dummy secret:
APPROOV_BASE64_SECRET=h+CX0tOzdAAR9l15bWAqvq7w9olk66daIH+Xk+IAHhVVHszjDzeGobzNnqyRze3lw/WVyWrc2gZfh3XXfBOmww==This dummy secret was used to sign the valid Approov tokens in the tests that you can run with ./tyk test approov-token.
The docker stack is composed by the Tyk API Gateway version 4.1 and Redis version 5.0.
sudo docker-compose buildThe docker stack must be started as per instructions on each example.
If you find any issue while following our instructions then just report it here, with the steps to reproduce it, and we will sort it out and/or guide you to the correct path.
If you wish to explore the Approov solution in more depth, then why not try one of the following links as a jumping off point: