diff --git a/admin_manual/configuration_files/primary_storage.rst b/admin_manual/configuration_files/primary_storage.rst index bc5c366a2cb..0d6be0ae85c 100644 --- a/admin_manual/configuration_files/primary_storage.rst +++ b/admin_manual/configuration_files/primary_storage.rst @@ -57,6 +57,10 @@ server into the virtual filesystem. The class to be used is :code:`\\OC\\Files\\ObjectStore\\Swift` +Both openstack v2 and v3 authentication are supported, + +V2 Authentication: + :: 'objectstore' => array( @@ -78,6 +82,28 @@ The class to be used is :code:`\\OC\\Files\\ObjectStore\\Swift` ), ), +V3 Authentication: + +:: + + 'objectstore' => array( + 'class' => 'OC\\Files\\ObjectStore\\Swift', + 'arguments' => array( + 'autocreate' => true, + 'user' => [ + 'name' => 'swift', + 'password' => 'Secr3tPaSSWoRdt7', + 'domain' => [ + 'name' => 'default' + ] + ], + 'serviceName' => 'swift', + 'region' => 'regionOne', + 'url' => "http://example.com/v3", + 'bucket' => 'nextcloud' + ) + ), + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Simple Storage Service (S3) ~~~~~~~~~~~~~~~~~~~~~~~~~~~