3 ms·
I use Bitwarden for TOTP generation, this is how I use it for command line TOTP code generation, with NPM's 2FA as an example: npm publish . --otp $(bw get t
by franky47 8y ago
I use Bitwarden for TOTP generation, this is how I use it for command line TOTP code generation, with NPM's 2FA as an example:
npm publish . --otp $(bw get totp npm)
Note: it requires the Bitwarden vault to be unlocked for the current shell, as such:
export BW_SESSION=$(bw unlock --raw) && echo $BW_SESSION