open

Package
github.com/cs3org/reva/v3/pkg/ocm/provider/authorizer/open
Source
pkg/ocm/provider/authorizer/open · Go reference

Enable it

Select the driver in the service that uses it, and put its settings in the driver's own table:

[grpc.services.ocmproviderauthorizer]
driver = "open"

[grpc.services.ocmproviderauthorizer.drivers.open]
# settings below
This package has no documentation yet. Add a package doc comment or a README.md in pkg/ocm/provider/authorizer/open, then run make gen-doc.

Configuration

KeyTypeDefaultDescription
providersstring-Users holds a path to a file containing json conforming the Users struct source
insecurebool-Insecure skips TLS verification when discovering an unknown provider. Off by default; turning it on exposes discovery to MITM. source
ocm_client_use_env_proxybool-OCMClientUseEnvProxy lets open discovery honor HTTP_PROXY, HTTPS_PROXY, and NO_PROXY. Off by default; public-only discovery stays direct unless operators opt in. The policy dialer stays installed. source
allowed_federation_cidrs[]string-AllowedFederationCIDRs is an explicit private-network exception list for open discovery of peers in a controlled network. Empty by default; any invalid entry aborts initialization. Loopback is never admitted by this list and stays on its separate flag (off here). source