Code Monkey home page Code Monkey logo

Comments (2)

alex3305 avatar alex3305 commented on May 24, 2024

Hi @Artkz,

Thank you for creating this issue. At first thought, this would be a fantastic suggestion. Because it would be really easy to utilize the same file (contents) for both secrets.yaml files. However, I see one major drawback in this approach. Because you can view and edit your secrets in the ESPHome UI, your secrets would be exposed through the Home Assistant web interface. IMHO this would be a gaping security flaw.

That's why I would suggest that you create a secret file based on a Bitwarden Note as per the documentation. I have an example for a Google Assistant Service Key, but you can easily leverage this for ESPHome. Just create a note within Bitwarden called esphome/secrets.yaml and put in your secrets in YAML format, like so:

wifi_ssid: 🍀 Random Words
wifi_password: CorrectHorseBatteryStaple

This add-on can and will overwrite the ESPHome secrets.yaml file and IMHO this would be a decent approach for this issue. Although I think that secrets should be massively overhauled from within Home Assistant (Supervisor) 🤷.

Thanks! ❤️

from home-assistant-addons.

alex3305 avatar alex3305 commented on May 24, 2024

Hi @Artkz,

Since you didn't reply to my comment I'm going to assume this assessment is fine by you. That's why I'm going to close this issue for now. If you have any more input or feedback please don't hessitate to reply or open a new issue. Thank you ❤️.

from home-assistant-addons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.