diff options
author | Alex Auvolat <alex@adnab.me> | 2021-04-06 00:01:49 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-04-27 16:37:10 +0200 |
commit | bf36f1f16aae763feae7bc7365741d8406f053cb (patch) | |
tree | 1a9a1edc7d8ce559d562f557c74db819bf56d4b4 /doc/book/src/getting_started/bucket.md | |
parent | f7c09daa46d1b28d802417d3ce22b0d5896029b3 (diff) | |
download | garage-bf36f1f16aae763feae7bc7365741d8406f053cb.tar.gz garage-bf36f1f16aae763feae7bc7365741d8406f053cb.zip |
Update documentation
Diffstat (limited to 'doc/book/src/getting_started/bucket.md')
-rw-r--r-- | doc/book/src/getting_started/bucket.md | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/doc/book/src/getting_started/bucket.md b/doc/book/src/getting_started/bucket.md index b22ce788..b4a2d81d 100644 --- a/doc/book/src/getting_started/bucket.md +++ b/doc/book/src/getting_started/bucket.md @@ -40,22 +40,18 @@ garagectl key new --name nextcloud-app-key You will have the following output (this one is fake, `key_id` and `secret_key` were generated with the openssl CLI tool): -```javascript -Key { - key_id: "GK3515373e4c851ebaad366558", - secret_key: "7d37d093435a41f2aab8f13c19ba067d9776c90215f56614adad6ece597dbb34", - name: "nextcloud-app-key", - name_timestamp: 1603280506694, - deleted: false, - authorized_buckets: [] -} +``` +Key name: nextcloud-app-key +Key ID: GK3515373e4c851ebaad366558 +Secret key: 7d37d093435a41f2aab8f13c19ba067d9776c90215f56614adad6ece597dbb34 +Authorized buckets: ``` -Check that everything works as intended (be careful, info works only with your key identifier and not with its friendly name!): +Check that everything works as intended: ``` garagectl key list -garagectl key info GK3515373e4c851ebaad366558 +garagectl key info nextcloud-app-key ``` ## Allow a key to access a bucket @@ -67,7 +63,7 @@ garagectl bucket allow \ --read \ --write nextcloud-bucket \ - --key GK3515373e4c851ebaad366558 + --key nextcloud-app-key ``` You can check at any times allowed keys on your bucket with: |