Anyone know if it is possible to use a hardware key (like Yubikey) with the Bitwarden RS Home Assistant add-on? I did a search in the forums and found this thread but no one had responded to it.
Apparently, the way to enable this is to pass the environment variables into the docker container:
docker run -d --name bitwarden \
-e YUBICO_CLIENT_ID=12345 \
-e YUBICO_SECRET_KEY=ABCDEABCDEABCDEABCDE= \
-v /vw-data/:/data/ \
-p 80:80 \
vaultwarden/server:latest
But there doesn’t seem to be a way to pass the values into the add-on from the Configuration screen.
When I try to set up the YubiKey as a Two-step login key (by clicking the “Manage” button) it complains:
… likely because I haven’t set up the environment variables. I see that there’s a way to pass in the Configuration in a raw YAML format but I don’t know what it expects, if anything, for setting environment variables.
Thanks,
-Greg