Connect edge instance to backend

Hello,
I want to connect my edge instances to one backend, in order to do that I have to configure the metadata.file at the backend with the API keys of the edges,
how do i get the API keys?

Hi Ghada,

the Metadata.File implementation for OpenEMS Backend takes a JSON configuration in the form:

An example file could look like this:

{
   "edges":{
      "edge0":{
         "comment":"My first OpenEMS Edge",
         "apikey":"unique_password_for_edge0"
      },
      "edge1":{
         "comment":"My second OpenEMS Edge",
         "apikey":"unique_password_for_edge1"
      }
   }
}

The apikeys can be chosen by you. Just make sure they are unique.

Regards,
Stefan

1 Like

Hello Stefan,

Yes, I figured out that the API keys are to be generated by me, it wasn’t very clear in the documentation.
thank you!

1 Like