Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hrchu authored Nov 3, 2023
1 parent 5cf421b commit 4870949
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,14 @@ To get started, you need a ready-to-use radosgw instance and an admin account wi

```bash
$ radosgw-admin user create --uid=qqq --display-name="qqq" --access-key=qqq --secret-key=qqq
$ radosgw

-admin --id admin caps add --caps="buckets=*;users=*;usage=*;metadata=*" --uid=qqq
$ radosgw-admin --id admin caps add --caps="buckets=*;users=*;usage=*;metadata=*" --uid=qqq
```

2. Enter the key pair (qqq,qqq) and add your radosgw endpoint to the [config file](https://github.com/twonote/radosgw-admin4j/blob/master/src/test/resources/rgwadmin.properties).

3. Note that radosgw does not enable [usage log](http://docs.ceph.com/docs/master/radosgw/admin/#usage) by default. If you need this feature or plan to run test cases, make sure you enable the usage log in your Ceph config file. For example, in your ceph.conf:

```ini
```
...
[client.radosgw.gateway]
rgw enable usage log = true
Expand Down

0 comments on commit 4870949

Please sign in to comment.