Enable Yubikey vaultwarden on proxmox

Hi,

Currently I have vaultwarden running in an LCX container in proxmox. i would like to activate my yubikey but apparently you should enter the client ID and Secret key somewhere. i found this through google but only works for docker images. does this also exist for proxmox containers? Or can someone tell me how to do this exactly?

thanks in advance

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

You better try WebAuthn as your second factor. It works by default. Yubikey supports it. After providing a login and password, Vaultwarden will ask you to plug your yubikey and press button on it. Works like a charm.