diff --git a/admin_manual/configuration_files/primary_storage.rst b/admin_manual/configuration_files/primary_storage.rst index 0d6be0ae8..87edddc40 100644 --- a/admin_manual/configuration_files/primary_storage.rst +++ b/admin_manual/configuration_files/primary_storage.rst @@ -86,22 +86,37 @@ V3 Authentication: :: - 'objectstore' => array( + 'objectstore' => + array ( 'class' => 'OC\\Files\\ObjectStore\\Swift', - 'arguments' => array( + 'arguments' => + array ( 'autocreate' => true, - 'user' => [ + 'user' => + array ( 'name' => 'swift', 'password' => 'Secr3tPaSSWoRdt7', - 'domain' => [ - 'name' => 'default' - ] - ], + 'domain' => + array ( + 'name' => 'Default', + ), + ), + 'scope' => + array ( + 'project' => + array ( + 'name' => 'OS_PROJECT_NAME', + 'domain' => + array ( + 'name' => 'Default', + ), + ), + ), 'serviceName' => 'swift', 'region' => 'regionOne', - 'url' => "http://example.com/v3", - 'bucket' => 'nextcloud' - ) + 'url' => 'http://example.com/v3', + 'bucket' => 'nextcloud', + ), ), ~~~~~~~~~~~~~~~~~~~~~~~~~~~