From 719197be05c542b901eb2b4eee5bb4a57b421929 Mon Sep 17 00:00:00 2001 From: Blake Kostner Date: Mon, 12 Apr 2021 23:34:55 -0600 Subject: [PATCH] Add example token generate for delta-generator --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index d905109..0494718 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,12 @@ The above matches the default secret, so can be used for testing. The client takes tokens via either the `--token` argument or in the `REPO_TOKEN` environment variable. +For a production setup, you will also want to generate a token +for `delta-generator`. This can be done by following the above +command with these arguments: + + echo -n "secret" | base64 | cargo run --bin gentoken -- --base64 --secret-file - --name delta-generator --sub delta --scope generate + ## Running To start the server, run: