Skip to content

Latest commit

 

History

History
67 lines (55 loc) · 1.66 KB

bitwarden-usage.md

File metadata and controls

67 lines (55 loc) · 1.66 KB

Bitwarden Usage

Overview

This project uses Bitwarden CLI as a default password manager to store its non-sensitive configuration data. It is installed the first time the dotfiles run.

Configuration

Prerequisites

Test

Log in using the Bitwarden CLI and fetch the dotfiles Identity item

bw login
bw unlock # if your session has expired
export BW_SESSION="[session]"
bw get item dotfiles | jq

Tou should be presented with a similar output

[
  {
    "object": "item",
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "dotfiles",
    ...
    "fields": [
      {
        "name": "git_signingkey",
        "value": "1234567890ABCDEF1234567890ABCDEF12345678"
      }
    ],
    "identity": {
      "firstName": "[your first name]",
      "lastName": "[your last name]",
      "email": "[your email]",
      "username": "[your username]"
    },
    ...
  }
]

To fetch any changes made using the online service, run the following command:

bw sync