Skip to content

Remove objectstore credentials - #17696

Merged
rullzer merged 3 commits into
masterfrom
enh/17659/hide-objectstore-credentials
Nov 7, 2019
Merged

Remove objectstore credentials#17696
rullzer merged 3 commits into
masterfrom
enh/17659/hide-objectstore-credentials

Conversation

@kesselb

@kesselbkesselb commented Oct 26, 2019

Copy link
Copy Markdown
Contributor

Close#17659

S3: key and secret
Swift v2: also remove the username
Swift v3: user.name and user.password

S3: key and secret
Swift v3: user.name and user.password
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Also remove the username for Swift v2 and add todo for unclear keys.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Comment threadlib/private/SystemConfig.php Outdated
'objectstore' => [
'arguments' => [
'password' => true,
// @Todo: Is this still valid?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah keep it

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a change request? 🤔 Todo refers to options => ['credentials => [...]]. password is still there just moved it below to Swift v2. I could not find any usage for the options syntax.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah it is ancient swift code but could still be in use

@rullzer
rullzer requested a review from skjnldsvOctober 31, 2019 15:15
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Comment threadlib/private/SystemConfig.php

@nickvergessennickvergessen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine in general, but I would keep the password thingy just to be sure

@rullzer
rullzer merged commit 03d9e05 into masterNov 7, 2019
@rullzer
rullzer deleted the enh/17659/hide-objectstore-credentials branch November 7, 2019 08:14
@kesselb

Copy link
Copy Markdown
ContributorAuthor

/backport to stable17

@backportbot-nextcloud

Copy link
Copy Markdown

backport to stable17 in #18075

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsenhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nextcloud.occ config:list prints object storage credentials

3 participants

@kesselb@rullzer@nickvergessen