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

release-20.1: storage/cloud: fix implicit auth check for gs storage #55091

Merged
merged 1 commit into from
Oct 1, 2020

Conversation

dt
Copy link
Member

@dt dt commented Oct 1, 2020

Backport 1/1 commits from #55067.

/cc @cockroachdb/release


Previously the disable implicit auth flag was checked when AUTH=implicit was passed, but when no auth param
is passed, gs storage will use a shared cluster-wide setting or, if it is not present, fall back to implicit
auth. Either case -- using a cluster-wide setting or a node-wide machine account -- is what is supposed to be
disabled by this flag.

Instead, a safer check (as is done in the admin role requirement check) is that anything other than auth=specified
should be disabled by the flag.

Fixes #55075 .

Release note (security update): fix a case where connecitons to google cloud storage would ignore the --external-io-disable-implicit-credentials flag.

Previously the disable implicit auth flag was checked when AUTH=implicit was passed, but when no auth param
is passed, gs storage will use a shared cluster-wide setting or, if it is not present, fall back to implicit
auth. Either case -- using a cluster-wide setting or a node-wide machine account -- is what is supposed to be
disabled by this flag.

Instead, a safer check (as is done in the admin role requirement check) is that anything other than auth=specified
should be disabled by the flag.

Release note (security update): fix a case where connecitons to google cloud storage would ignore the --external-io-disable-implicit-credentials flag.
@dt dt requested a review from adityamaru October 1, 2020 00:00
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@dt dt merged commit 05fa4f5 into cockroachdb:release-20.1 Oct 1, 2020
@dt dt deleted the backport20.1-55067 branch October 26, 2020 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants