mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
add example for swift v3
This commit is contained in:
parent
162743fb3e
commit
3bedba9640
@ -46,6 +46,10 @@ Openstack Swift
|
||||
|
||||
The Swift backend mounts a container on an OpenStack Object Storage 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(
|
||||
@ -67,6 +71,28 @@ The Swift backend mounts a container on an OpenStack Object Storage server into
|
||||
),
|
||||
),
|
||||
|
||||
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'
|
||||
)
|
||||
),
|
||||
|
||||
Amazon S3
|
||||
---------
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user