Change server esphome

hello, i want change new server esphome ,
how to review and access a device made with the old server ?
thank you

hello, iv’e esphome server on windows , with i’ve compil and send on esp32 cam “doorbell.yaml” ,
on " esphome server windows " , i see doorbell
but now i want see “doorbell” on my new “server esphome linux”
and stoped “esphome server windows”

how to proceed ??
thank you for your help

Copy the .yaml from one server to the other.

thank ,
that’s what I did , but when I do " show api key "

API key for doorbell.yaml

Unable to automatically extract API key. It may not be set. Open the configuration and look for api:.

I think who can’t find it

Probably You need to copy/transfer secrets.yaml file too.
Here is API key, WiFi settings, etc, usually stored.

I copied everything , but in secrets.yaml there are Wifi settings no API key

how to device connect with esphome server ?