# Protect docker by api key

**URL:** <https://ask.openrouteservice.org/t/protect-docker-by-api-key/6404>\
**Category:** openrouteservice\
**Created:** [August 13, 2024, 11:53am UTC](https://ask.openrouteservice.org/t/protect-docker-by-api-key/6404 "2024-08-13T11:53:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmed\_Elsayed](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/ahmed_elsayed/32/3211_2.png) [@Ahmed\_Elsayed](https://ask.openrouteservice.org/u/Ahmed_Elsayed)\
**Post date:** [August 13, 2024, 11:53am UTC](https://ask.openrouteservice.org/t/protect-docker-by-api-key/6404/1 "2024-08-13T11:53:44Z")

</div>

Hello \<3  
first i really happy that i found this service its really GREAT  
and very helpfull  
thank you all

second now i run local openrouteservice on my docker server  
and its will be online  
i need way to protect the end point of being used by anyone only who has key for example

i search for it but i didnt find any easy way

---

<div class="post-metadata">

**Author:** ![jschnell](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/jschnell/32/971_2.png) [@jschnell](https://ask.openrouteservice.org/u/jschnell)\
**Post date:** [August 13, 2024, 11:57am UTC](https://ask.openrouteservice.org/t/protect-docker-by-api-key/6404/2 "2024-08-13T11:57:45Z")

</div>

Hey,

you’re probably looking for some kind of API gateway/API management.  
Depending on your usecase, you might be able to use nginx or apache for what you need, or use something fancier or more integrated - our API stack uses Tyk.

Please note that this is not an API gateway forum, but an openrouteservice one - all questions regarding this should go somewhere else 🙂

Best regards
