diff options
Diffstat (limited to 'rust')
-rw-r--r-- | rust/HACKING.md | 4 | ||||
-rw-r--r-- | rust/README.md | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/rust/HACKING.md b/rust/HACKING.md index 57642b2d..9d161b87 100644 --- a/rust/HACKING.md +++ b/rust/HACKING.md @@ -57,3 +57,7 @@ Debug SQL schema errors (if diesel commands fail): Creating entities via API: http --json post localhost:9411/v0/container name=asdf issn=1234-5678 + +## Authentication + +Uses macaroons. See `notes/auth.md` and maybe look in the guide. diff --git a/rust/README.md b/rust/README.md index ddde9b80..ecbfba2d 100644 --- a/rust/README.md +++ b/rust/README.md @@ -17,6 +17,9 @@ Create a `.env` file with configuration: DATABASE_URL=postgres://fatcat:tactaf@localhost/fatcat_rs TEST_DATABASE_URL=postgres://fatcat:tactaf@localhost/fatcat_rs_test + AUTH_LOCATION=dev.fatcat.wiki + AUTH_KEY_IDENT=2018-12-31-dev + AUTH_SECRET_KEY=VQe8kdn8laZ3MArKAzOeWWNUQgM6IjduG2jwKnSWehQ= Re-create database from scratch: |