aboutsummaryrefslogtreecommitdiff
path: root/doc/book/connect/repositories.md
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2023-01-02 13:35:26 +0000
committerJonathan Davies <jpds@protonmail.com>2023-01-03 11:11:12 +0000
commit8be862aa193ebe3081d1a74c3c5fc493ae9c82b0 (patch)
treedbde848687e922dee1510c9042d58c21a1251694 /doc/book/connect/repositories.md
parent76230f20282e73a5a5afa33af68152acaf732cf5 (diff)
downloadgarage-8be862aa193ebe3081d1a74c3c5fc493ae9c82b0.tar.gz
garage-8be862aa193ebe3081d1a74c3c5fc493ae9c82b0.zip
Changed all instances of 'key new' to 'key create' to make it consistent as bucket commands issued normally around the same time.
Diffstat (limited to 'doc/book/connect/repositories.md')
-rw-r--r--doc/book/connect/repositories.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/book/connect/repositories.md b/doc/book/connect/repositories.md
index 4b14bb46..66365d64 100644
--- a/doc/book/connect/repositories.md
+++ b/doc/book/connect/repositories.md
@@ -23,7 +23,7 @@ You can configure a different target for each data type (check `[lfs]` and `[att
Let's start by creating a key and a bucket (your key id and secret will be needed later, keep them somewhere):
```bash
-garage key new --name gitea-key
+garage key create gitea-key
garage bucket create gitea
garage bucket allow gitea --read --write --key gitea-key
```
@@ -118,7 +118,7 @@ through another support, like a git repository.
As a first step, we will need to create a bucket on Garage and enabling website access on it:
```bash
-garage key new --name nix-key
+garage key create nix-key
garage bucket create nix.example.com
garage bucket allow nix.example.com --read --write --key nix-key
garage bucket website nix.example.com --allow