Integrations api key
Posted: 12.09.2022 16:39
In the configuration for an integration you can add an optional API key but it is not clear how it is send in the request? For my integration the 3th party requires that the api key is set inside the headers like so: `Authorization: ApiKey <API_KEY>`.
Posted: 13.09.2022 08:57
API key is transmitted in the header in following way:
Posted: 29.12.2022 17:20
Hi, we want the ability to set the `Authorization` header so that can auth with our backend. Is this posible?
Posted: 02.01.2023 11:18
Posted: 02.01.2023 11:31
Hi, I think that there is a little missunderstanding here. What we want is to add our API key to the `Authorization` header inside the intetegrations settings. Right now all we can configure is an url and an api key but we want the api key inside the `Authorization` header and not the`X-API-KEY` header.
Posted: 02.01.2023 12:19
Here is an example how to request data from aranet Cloud
Request sensor data:
What are you seeking to change or adjust?
Posted: 02.01.2023 12:20
We are not requesting data, we have setup an integration to receive data from aranet cloud
Posted: 04.01.2023 14:57
We currently have setup this integration in aranet cloud: https://forum.aranet.com/site/assets/files/tmp_uploads/1769068729.png
We use API keys to auth HTTP requests on our side, these keys have to be set in the `Authorization` header. To my understanding when I fill in the this API key field it is set to the `X-API-KEY` header. How could we make it that the API key is set to the correct header?
Posted: 04.01.2023 16:03
You can include the Authorization header as a URL parameter in a similar way as any other header. Here is an example of how you can include the Authorization header as a URL parameter
Posted: 04.01.2023 16:06
Thanks for the sugestion but we do not want to include secrets as url parameters. Sadly it has to be the `Authorization` header.
Posted: 04.01.2023 16:09
so in generral feature request would be have ability to add to push integration option to include customer header with custom value ?
by this you would have possibility to add own header with value
Posted: 04.01.2023 16:10
Yes, that would solve our problem
Posted: 04.01.2023 16:16
Would this by any means be posible to implement?
Posted: 04.01.2023 16:39
This request is included to feature requests for further Aranet Cloud development.
Please contact email@example.com so we can discuss some details for this feature request.
Posted: 04.01.2023 16:50
Thanks, you will hear from me shortly
You have to log in to reply.