Skip to content

Commit

Permalink
export example
Browse files Browse the repository at this point in the history
  • Loading branch information
2403905 committed May 22, 2024
1 parent d83256e commit aae2947
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions services/storage-users/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,11 @@ Restoring is possible only to the original location. The personal or project spa
To authenticate the cli tool use `OCIS_SERVICE_ACCOUNT_SECRET=<acc-secret>` and `OCIS_SERVICE_ACCOUNT_ID=<acc-id>`. The `storage-users` cli tool uses the default address to establish the connection to the `gateway` service. If the connection fails, check your custom `gateway`
service `GATEWAY_GRPC_ADDR` configuration and set the same address to `storage-users` variable `OCIS_GATEWAY_GRPC_ADDR` or `STORAGE_USERS_GATEWAY_GRPC_ADDR`.

* Export the gateway address if your configuration differs from the default
```bash
export STORAGE_USERS_GATEWAY_GRPC_ADDR=gateway:9142
```

* Print a list of all trash-bin items of a space
```bash
ocis storage-users trash-bin list [command options] ['spaceID' required]
Expand Down

0 comments on commit aae2947

Please sign in to comment.