mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
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:
@@ -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',
|
||||
),
|
||||
),
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user