Using secrets for multiple api, ota, ap keys #3332
Unanswered
TV456
asked this question in
Builder features or enhancements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the enhancement
It would be very helpful to be able to store all ESP devices with a separate key or password for the api, ota and ap in the secrets.yaml file and then by !include (or through packages) selecting the appropriate keys/passwords.
Apparently this not the way ESPHome is set up, mainly because of security reasons.
Maybe it is an option to go about it the following way:
or by a reference:
In both examples the $(device_name) is the substitution set in main device yaml file.
Use cases
The use case would being able to set the entire base device setup in separate yaml-files for uniformity and easy maintenance and having the ability to have individual keys and passwords for each device.
Visual examples
No response
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions