Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support swift v3 authentication #8359

Merged
merged 8 commits into from Feb 26, 2018

Some swift v3 example config

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
  • Loading branch information
rullzer authored and icewind1991 committed Feb 22, 2018
commit ae720b3881cd1b85c88375f873b41bd5490783c1
@@ -1214,6 +1214,28 @@
],
],

/**
* To use swift V3
*/
'objectstore' => [
'class' => 'OC\\Files\\ObjectStore\\Swift',
'arguments' => [
'autocreate' => true,
'user' => [
'name' => 'swift',
'password' => 'swift',
'domain' => [
'name' => 'default',
]

This comment has been minimized.

Copy link
@oparoz

oparoz Mar 12, 2018

Member

@rullzer missing comma?

This comment has been minimized.

Copy link
@MorrisJobke

MorrisJobke Mar 12, 2018

Member

This is optional for the last element of an array (we usually add it to make the possible diff better readable).

],
'tenantName' => 'service',
'serviceName' => 'swift',
'region' => 'regionOne',
'url' => "http://yourswifthost:5000/v3",
'bucket' => 'nextcloud'
],
],


/**
* Sharing
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.