Merge pull request #9971 from owncloud/mini_fix

[docs-only] Small fix for ocm envvar description text
This commit is contained in:
Martin
2024-09-03 09:54:30 +02:00
committed by GitHub
2 changed files with 3 additions and 9 deletions
+2 -8
View File
@@ -15,18 +15,12 @@ Internal GRPC APIs:
## Enable OCM
To enable OpenCloudMesh, you have to set the following environment variables. The path `/etc/ocis/` in the example below depends on the installation type and derives, if not otherwise defined, from the `OCIS_CONFIG_DIR` envvar.
To enable OpenCloudMesh, you have to set the following environment variable.
```console
export OCIS_ENABLE_OCM=true
export OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE="/etc/ocis/ocmproviders.json"
OCIS_ENABLE_OCM=true
```
{{< hint info >}}
Point `OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE` to a file as described below.
{{< /hint >}}
## Trust Between Instances
The `ocm` services implements an invitation workflow which needs to be followed before creating federated shares. Invitations are limited to trusted instances, however.
+1 -1
View File
@@ -103,7 +103,7 @@ type OCMInviteManagerDrivers struct {
}
type OCMInviteManagerJSONDriver struct {
File string `yaml:"file" env:"OCM_OCM_INVITE_MANAGER_JSON_FILE" desc:"Path to the JSON file where OCM invite data will be stored. This file is maintained by the instance and must not be changed manually. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/storage." introductionVersion:"5.0"`
File string `yaml:"file" env:"OCM_OCM_INVITE_MANAGER_JSON_FILE" desc:"Path to the JSON file where OCM invite data will be stored. This file is maintained by the instance and must not be changed manually. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/storage/ocm." introductionVersion:"5.0"`
}
type OCMProviderAuthorizerDrivers struct {