| 24 Feb 2025 |
@hexa:lossy.network | got it | 23:45:42 |
| 25 Feb 2025 |
macaroniskengz | Is there a way to add an admin token as a file in my declarative configuration? | 01:09:03 |
@hexa:lossy.network | for what service? | 01:12:25 |
@hexa:lossy.network | do you mean a long-lived access token for home-assistant? | 01:13:00 |
@hexa:lossy.network | * do you mean a long-lived access token for home-assistant? if so, no. | 01:13:05 |
macaroniskengz | Yes, this.
Currently I try to built a Home Assistant WS API Proxy that allows finer permissions for the API. | 01:15:30 |
@hexa:lossy.network | I really would like for that to be possible to further test home-assistant in our nixos integration test | 01:16:02 |
@hexa:lossy.network | but have yet to find a a way | 01:16:07 |
macaroniskengz | Redacted or Malformed Event | 01:16:23 |
macaroniskengz | Is it possible to declare HASS users? | 01:18:25 |
macaroniskengz | * Is it currently possible to declare HASS users? | 01:18:29 |
@hexa:lossy.network | also … no | 01:18:39 |
@hexa:lossy.network | you have to do the onboarding, which creates the first user | 01:18:45 |
@hexa:lossy.network | and that user can create api tokens and other users | 01:18:58 |
macaroniskengz | Thanks for the clarification. This is very unfortunate, but I guess inevitable without major changes in Home Assistant | 01:20:56 |
macaroniskengz | Another question, can I pass a secret into Home Assistant and somehow use it when creating the token? | 01:22:05 |
macaroniskengz | I want my credentials declared as much as possible. | 01:22:32 |
macaroniskengz | * Another question, can I pass a secret into Home Assistant and somehow use it when creating the token after onboarding? | 01:22:47 |
@hexa:lossy.network | you can use auth-oidc | 01:22:54 |