ClickHouse/docs/en
Azat Khuzhin 0159c74f21 Secure inter-cluster query execution (with initial_user as current query user) [v3]
Add inter-server cluster secret, it is used for Distributed queries
inside cluster, you can configure in the configuration file:

  <remote_servers>
      <logs>
          <shard>
              <secret>foobar</secret> <!-- empty -- works as before -->
              ...
          </shard>
      </logs>
  </remote_servers>

And this will allow clickhouse to make sure that the query was not
faked, and was issued from the node that knows the secret. And since
trust appeared it can use initial_user for query execution, this will
apply correct *_for_user (since with inter-server secret enabled, the
query will be executed from the same user on the shards as on initator,
unlike "default" user w/o it).

v2: Change user to the initial_user for Distributed queries if secret match
v3: Add Protocol::Cluster package
v4: Drop Protocol::Cluster and use plain Protocol::Hello + user marker
v5: Do not use user from Hello for cluster-secure (superfluous)
2020-09-15 01:36:28 +03:00
..
commercial [docs] split various kinds of CREATE queries into separate articles (#12328) 2020-07-09 18:10:35 +03:00
development Add more docs about functional tests 2020-08-28 21:02:43 +03:00
engines Secure inter-cluster query execution (with initial_user as current query user) [v3] 2020-09-15 01:36:28 +03:00
faq Update json-import.md 2020-08-25 11:39:38 +08:00
getting-started Fix bash, CC @qoega 2020-08-07 23:41:57 +03:00
guides [docs] split aggregate function and system table references (#11742) 2020-06-18 11:24:31 +03:00
images [ImgBot] Optimize images 2020-05-11 03:31:47 +00:00
interfaces Merge pull request #14333 from hczhcz/patch-0901 2020-09-10 17:54:42 +04:00
introduction Update adopters.md 2020-08-31 21:14:00 +03:00
operations Update clickhouse-benchmark.md 2020-09-14 14:55:40 +02:00
sql-reference Add mapPopulateSeries function (#13166) 2020-09-14 19:11:50 +03:00
whats-new [docs] split various kinds of CREATE queries into separate articles (#12328) 2020-07-09 18:10:35 +03:00
index.md [docs] replace underscores with hyphens (#10606) 2020-04-30 21:19:18 +03:00