From 30ddf11a350afbe1a16d26f8a3def57997517e57 Mon Sep 17 00:00:00 2001 From: Vojtech Vondra Date: Sun, 5 Aug 2018 18:42:19 +0200 Subject: [PATCH] Export instructions --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 73246ff..691e6da 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,17 @@ Go to https://lastpass.com/support.php?cmd=showfaq&id=1206 STAGE=prod REGION=us-east-1 ./import.sh -e user@example.com -f export.csv -p lastpass ``` +## Export data + +You can export your data most easily using the official Bitwarden CLI, this server is API compatible with it. + +```bash +npm install -g @bitwarden/cli +bw config server # e.g. https://abcdefg.execute-api.us-east-1.amazonaws.com/prod/ +# follow instructions in terminal about session env variable +bw export +``` + ## Run on own domain By default you will get a generated API gateway URL which is quite long. You can use the stack through a custom CNAME of your choice.