Fixed documentation.

This commit is contained in:
Vladimir Chebotarev 2021-01-26 11:33:21 +03:00
parent 25037edfa6
commit 68a671f009

View File

@ -114,6 +114,10 @@ CREATE TABLE big_table (name String, value UInt32) ENGINE = S3('https://storage.
- `_path` — Path to the file.
- `_file` — Name of the file.
**See Also**
- [Virtual columns](../../../engines/table-engines/index.md#table_engines-virtual_columns)
## S3-related settings {#settings}
The following settings can be set before query execution or placed into configuration file.
@ -124,7 +128,7 @@ The following settings can be set before query execution or placed into configur
Security consideration: if malicious user can specify arbitrary S3 URLs, `s3_max_redirects` must be set to zero to avoid [SSRF](https://en.wikipedia.org/wiki/Server-side_request_forgery) attacks; or alternatively, `remote_host_filter` must be specified in server configuration.
### Endpoint-based settings {#s3endpointsettings}
### Endpoint-based settings {#endpointsettings}
The following settings can be specified in configuration file for given endpoint (which will be matched by exact prefix of a URL):
@ -147,10 +151,6 @@ Example:
<!-- <header>Authorization: Bearer SOME-TOKEN</header> -->
</endpoint-name>
</s3>
**See Also**
- [Virtual columns](../../../engines/table-engines/index.md#table_engines-virtual_columns)
```
[Original article](https://clickhouse.tech/docs/en/operations/table_engines/s3/) <!--hide-->