Add example Swift v3 scope

Add an example of Swift V3 with a configuration scope following this commit :
https://github.com/nextcloud/server/pull/9280
This commit is contained in:
Charles Provent
2020-02-27 13:36:02 +01:00
committed by GitHub
parent e993c17358
commit e145a0bcbb

View File

@@ -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',
),
),
~~~~~~~~~~~~~~~~~~~~~~~~~~~