dappnode / DNP_DAPPMANAGER

Dappnode package responsible for providing the Dappnode Package Manager
GNU General Public License v3.0
31 stars 39 forks source link

Implement initial fetch to setup dappnode cloud #1913

Closed pablomendezroyo closed 7 months ago

pablomendezroyo commented 8 months ago

On dappmanager startup, if telegramToken and telegramUserId are not set, then fetch AWS http://169.254.169.254/latest/user-data to get these values and start the telegram bot. This will allow the user to fetch securely the wireguard credentials from telegram.

Store on db if it is an amazon instance so it does not fetch on every reboot

"isDappnodeCloud": boolean

data format from amazon would be

telegramUserId,telegramBotToken
pablomendezroyo commented 8 months ago

Depends on https://github.com/dappnode/DNP_DAPPMANAGER/issues/1911 and https://github.com/dappnode/DNP_DAPPMANAGER/issues/1912

pablomendezroyo commented 7 months ago

Closed by https://github.com/dappnode/DNP_DAPPMANAGER/pull/1928