Document required Authentik SSO for personal Vaultwarden
This commit is contained in:
1 parent
c9d7974d16
commit
74b24a267b
1 file changed
+21
-12
@@ -67,23 +67,32 @@ bootstrap, open a new terminal to pick up the installed tools.
|
||||
For a custom instance, set `BW_SERVER` to the same URL in the shell where
|
||||
you run `dot secrets`.
|
||||
|
||||
2. If you are logged out, sign in with your vault email and master password.
|
||||
The CLI prompts for the password and any supported two-step code. Capture
|
||||
the session key without printing it:
|
||||
2. Sign in using the method your vault requires. The **personal Vaultwarden
|
||||
requires Authentik SSO**. Run this from a local desktop terminal so your
|
||||
browser can complete the CLI's sign-in:
|
||||
|
||||
```bash
|
||||
bw login --sso &&
|
||||
BW_SESSION="$(bw unlock --raw)" && export BW_SESSION
|
||||
```
|
||||
|
||||
If the personal vault prompts for an organization identifier, enter
|
||||
`vaultwarden`. It is a placeholder for the self-hosted server's single
|
||||
identity provider. For a work vault that requires SSO, use the identifier
|
||||
supplied by your organization. Sign into the browser first, then use your
|
||||
**vault master password** to unlock the CLI. If password login reports
|
||||
**SSO sign-in is required**, use this SSO flow.
|
||||
|
||||
For a server that allows password login, capture the session without
|
||||
printing it:
|
||||
|
||||
```bash
|
||||
BW_SESSION="$(bw login 'your-vault-email@example.com' --raw)" && export BW_SESSION
|
||||
```
|
||||
|
||||
If password login is blocked by your sign-in method, use your **personal
|
||||
API key** from **Settings → Security → Keys** in the web vault. Enter the
|
||||
client ID and secret at the CLI prompts, then unlock with your master
|
||||
password.
|
||||
|
||||
```bash
|
||||
bw login --apikey &&
|
||||
BW_SESSION="$(bw unlock --raw)" && export BW_SESSION
|
||||
```
|
||||
If your server permits personal API-key login, you can use
|
||||
`bw login --apikey` and then `bw unlock --raw`. The personal API key is
|
||||
available under **Settings → Security → Keys** in the web vault.
|
||||
|
||||
If `bw status` already shows `locked`, skip login and run only
|
||||
`BW_SESSION="$(bw unlock --raw)" && export BW_SESSION`. If it shows
|
||||
|
||||
Reference in new issue
Block a user