ClickHouse/tests/integration/test_encrypted_disk/configs/storage.xml
2021-05-23 08:43:29 +00:00

62 lines
1.9 KiB
XML

<?xml version="1.0"?>
<yandex>
<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_memory>
<type>memory</type>
</disk_memory>
<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>abcdefghijklmnop</key>
</disk_local_encrypted>
</disks>
<policies>
<encrypted_policy>
<volumes>
<main>
<disk>disk_local_encrypted</disk>
</main>
</volumes>
</encrypted_policy>
<local_policy>
<volumes>
<main>
<disk>disk_local</disk>
</main>
<external>
<disk>disk_local_encrypted</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>
</yandex>