CLI Unlock with PIN

Feature name

Unlock with PIN

Feature function

Looks like this is not supported, but could it be possible to use custom pin/password for lock/unlock (like we have for desktop app/browser extension)?
Since my master password is kinda huge, I would like to have shorter local password for CLI

In addition, it would be much safer to provide PIN than master password within scripts e.g.:

Related topics + references

1 Like

More coming on CLI later this year :wink:

For this purpose it may be best to store the session key in an environmental variable.

https://bitwarden.com/help/article/cli/#using-a-session-key

1 Like

@tgreer great to hear :wink:

Hm, AFAIK the Raycast plugin uses Mac Keychain to store the session key and passes it as the --session option, but the vault is getting locked after some time anyway. Probably it’s sth on the plugin side…

1 Like

Feel free to ping if you want this feature request reopened.