Back to Chezmoi

`rbw` *name* [*arg*...]

assets/chezmoi.io/docs/reference/templates/bitwarden-functions/rbw.md

2.70.2573 B
Original Source

rbw name [arg...]

rbw returns structured data retrieved from Bitwarden using rbw. name is passed to rbw get --raw, along with any extra args, and the output is parsed as JSON.

The output from rbw get --raw is cached so calling rbw multiple times with the same arguments will only invoke rbw once.

!!! example

```
username = {{ (rbw "test-entry").data.username }}
password = {{ (rbw "test-entry" "--folder" "my-folder").data.password }}
```