Store your TOTP secret and generate the code with one command.
Like Google Authenticator or other Apps, but within VS Code.
First, store the OTP key, e.g. othauth://...
, with OTP Toolbox: Add Key
command.
The OTP key are usually given as a QR Code, find a QR Code scanner if necessary.
Once some OTP key is stored, we can get the one time password with OTP Toolbox: Get Token
command.
The token will be send the the clipboard automatically and be shown through a information box.
For removing stored secrets, use OTP Toolbox: Clear Keys
.
On first launch of this extension, a random master key is generated.
All stored OTP secrets is encrypted with this master key before saving into the disks.
The master key is protected in a OS-dependent way. And for remote VS Code session, the secret is stored in local OS.
- Secrets API · Issue #112249 · microsoft/vscode
- Supporting Remote Development and GitHub Codespaces | Visual Studio Code Extension API
Currently no setting available to this extension.
User can add TOTP key and generate token from key.