ClickHouse/tests/integration/test_encrypted_disk/configs/storage.xml

80 lines
2.8 KiB
XML

<clickhouse>
<storage_configuration>
<disks>
<disk_s3>
<type>s3</type>
<endpoint>http://minio1:9001/root/data/</endpoint>
<access_key_id>minio</access_key_id>
<secret_access_key>minio123</secret_access_key>
</disk_s3>
<disk_local>
<type>local</type>
<path>/disk/</path>
</disk_local>
<disk_s3_encrypted>
<type>encrypted</type>
<disk>disk_s3</disk>
<path>encrypted/</path>
<key>1234567812345678</key>
</disk_s3_encrypted>
<disk_local_encrypted>
<type>encrypted</type>
<disk>disk_local</disk>
<path>encrypted/</path>
<key>1234567812345678</key>
</disk_local_encrypted>
<disk_local_encrypted2>
<type>encrypted</type>
<disk>disk_local</disk>
<path>encrypted2/</path>
<key>1234567812345678</key>
</disk_local_encrypted2>
<disk_local_encrypted_key192b>
<type>encrypted</type>
<disk>disk_local</disk>
<path>encrypted_key192b/</path>
<algorithm>aes_192_ctr</algorithm>
<key_hex>109105c600c12066f82f1a4dbb41a08e4A4348C8387ADB6A</key_hex>
</disk_local_encrypted_key192b>
</disks>
<policies>
<encrypted_policy>
<volumes>
<main>
<disk>disk_local_encrypted</disk>
</main>
</volumes>
</encrypted_policy>
<encrypted_policy_key192b>
<volumes>
<main>
<disk>disk_local_encrypted_key192b</disk>
</main>
</volumes>
</encrypted_policy_key192b>
<local_policy>
<volumes>
<main>
<disk>disk_local</disk>
</main>
<external>
<disk>disk_local_encrypted</disk>
<disk>disk_local_encrypted2</disk>
<disk>disk_local_encrypted_key192b</disk>
</external>
</volumes>
</local_policy>
<s3_policy>
<volumes>
<main>
<disk>disk_s3</disk>
</main>
<external>
<disk>disk_s3_encrypted</disk>
</external>
</volumes>
</s3_policy>
</policies>
</storage_configuration>
</clickhouse>