ClickHouse/docs/en/engines/table-engines
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
..
integrations Merge pull request #12761 from kssenii/rabbitmq-improvements 2020-09-08 09:38:25 +03:00
log-family [docs] split the ALTER article (#12502) 2020-07-15 00:02:41 +03:00
mergetree-family Merge pull request #14213 from BayoNet/docs/CLICKHOUSEDOCS-744-collapsing-merge-tree 2020-09-02 04:59:22 +03:00
special Secure inter-cluster query execution (with initial_user as current query user) [v3] 2020-09-15 01:36:28 +03:00
index.md Update index.md 2020-06-23 10:22:52 +03:00