Skip to content

[FEATURE] Bitwarden unlock with passwordenv or passwordfile #43

Description

@mdj2812

Submission checklist

  • I have searched existing issues and confirmed this has not been requested before.
  • I have checked existing pull requests for similar changes.

Feature type

Configuration / customization

Feature summary

The bitwarden cli supports to unblock with the given environment value or a password file: https://bitwarden.com/help/cli/#unlock-options. I want to have that available in the plugin.

Motivation / use case

It is kind of annoying to enter the master password every time after unlock the system, especially as a laptop user. By saving the password into the environment value or text file, it could largely improve the whole experience.

Proposed solution

I think we can then make it configurable in the plugin, by adding two fields:

  1. passwordenv
  2. passwordfile
    Either one of them is set, we will pass to the client instead of requiring the master password explicitly.

Alternatives considered

No response

References / related projects

https://bitwarden.com/help/cli/#unlock-options

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions