aboutsummaryrefslogtreecommitdiff
path: root/doc/book/connect/repositories.md
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2023-01-04 10:35:49 +0000
committerAlex <alex@adnab.me>2023-01-04 10:35:49 +0000
commit80e4abb98dfbf2e88414a8b28e8c9134fa0a65e7 (patch)
tree5e3ca67d106e5a5aa5c1749045c78060105fc8a2 /doc/book/connect/repositories.md
parent570e5e5bbb7a3eac41350db9433e28ed289b97f4 (diff)
parent8be862aa193ebe3081d1a74c3c5fc493ae9c82b0 (diff)
downloadgarage-80e4abb98dfbf2e88414a8b28e8c9134fa0a65e7.tar.gz
garage-80e4abb98dfbf2e88414a8b28e8c9134fa0a65e7.zip
Merge pull request 'Changed all instances of 'key new' to 'key create' to make it the same as the bucket commands.' (#459) from jpds/garage:key-create-standardize into next
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/459
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