You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-5Lines changed: 21 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,30 @@
2
2
3
3
This repository contains a container image intended to be used as a [Bitwarden](https://bitwarden.com) "server" for [external-secrets](https://external-secrets.io/latest/examples/bitwarden).
4
4
5
-
It expects two environment variables, as per [the official documentation](https://bitwarden.com/help/cli/#using-an-api-key):
5
+
### Environment variables
6
6
7
-
-`BW_CLIENTID`
8
-
-`BW_CLIENTSECRET`
7
+
These should be pretty much self-explanatory.
9
8
10
-
Optionally you can also specify a different server with `BW_SERVER`.
9
+
-`BW_USERNAME`
10
+
-`BW_PASSWORD`
11
+
-`BW_PASSWORD_FILE`
12
+
- defaults to `/secrets/BW_PASSWORD`
13
+
- this is recommended over `BW_PASSWORD` envvar
14
+
-`BW_SERVER`
15
+
- defaults to whatever the Bitwarden CLI sets as a default
16
+
-`BW_PORT`
17
+
- defaults to `8087`
11
18
12
-
It will listen on port `8087` by default, overridable with `BW_PORT`
19
+
### Usage
20
+
21
+
Follow the guide provided in the docs for external-secrets found here:
0 commit comments