ClickHouse/docs/en/engines/table-engines/special
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
..
buffer.md Update buffer.md 2020-06-10 23:07:17 +03:00
dictionary.md [docs] split aggregate function and system table references (#11742) 2020-06-18 11:24:31 +03:00
distributed.md Secure inter-cluster query execution (with initial_user as current query user) [v3] 2020-09-15 01:36:28 +03:00
external-data.md Update external-data.md 2020-06-10 23:19:58 +03:00
file.md [docs] split misc statements (#12403) 2020-07-11 14:05:49 +03:00
generate.md [docs] split aggregate function and system table references (#11742) 2020-06-18 11:24:31 +03:00
index.md [docs] split various kinds of CREATE queries into separate articles (#12328) 2020-07-09 18:10:35 +03:00
join.md Standard join type syntax position (#12520) 2020-07-16 11:56:45 +03:00
materializedview.md fix #13819 2020-08-17 12:05:34 +03:00
memory.md Update memory.md 2020-06-10 23:08:20 +03:00
merge.md [docs] split aggregate function and system table references (#11742) 2020-06-18 11:24:31 +03:00
null.md Update null.md 2020-06-10 23:16:54 +03:00
set.md Update set.md 2020-06-10 23:14:51 +03:00
url.md [docs] split aggregate function and system table references (#11742) 2020-06-18 11:24:31 +03:00
view.md Update view.md 2020-06-10 23:09:39 +03:00