From beca8cdf2aa3764819e69104a0c36359297e6982 Mon Sep 17 00:00:00 2001 From: Roman Perekhod Date: Wed, 22 May 2024 10:16:48 +0200 Subject: [PATCH] export example --- services/storage-users/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/services/storage-users/README.md b/services/storage-users/README.md index 1cb9b911b..0767e2b3e 100644 --- a/services/storage-users/README.md +++ b/services/storage-users/README.md @@ -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=` and `OCIS_SERVICE_ACCOUNT_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=127.0.0.1:9142 + ``` + * Print a list of all trash-bin items of a space ```bash ocis storage-users trash-bin list [command options] ['spaceID' required]