mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-29 23:39:35 -05:00
Add support for the cs3 metadata storage share manager (#3290)
* Add support for the cs3 share manager * Name the cs3 storage config options generically so they can be reused * Set default value for CS3ServiceUserIdp
This commit is contained in:
@@ -142,6 +142,13 @@ func sharingConfigFromStruct(c *cli.Context, cfg *config.Config) map[string]inte
|
||||
"db_port": cfg.Reva.Sharing.UserSQLPort,
|
||||
"db_name": cfg.Reva.Sharing.UserSQLName,
|
||||
},
|
||||
"cs3": map[string]interface{}{
|
||||
"gateway_addr": cfg.Reva.Gateway.Endpoint,
|
||||
"provider_addr": cfg.Reva.Sharing.CS3ProviderAddr,
|
||||
"service_user_id": cfg.Reva.Sharing.CS3ServiceUser,
|
||||
"service_user_idp": cfg.Reva.Sharing.CS3ServiceUserIdp,
|
||||
"machine_auth_apikey": cfg.Reva.AuthMachineConfig.MachineAuthAPIKey,
|
||||
},
|
||||
},
|
||||
},
|
||||
"publicshareprovider": map[string]interface{}{
|
||||
|
||||
Reference in New Issue
Block a user