You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/cloud/security/accessing-s3-data-securely.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ Trust policy (Please replace `{ClickHouse_IAM_ARN}` with the IAM Role arn belon
92
92
93
93
IAM policy (Please replace `{BUCKET_NAME}` with your bucket name):
94
94
95
-
```
95
+
```json
96
96
{
97
97
"Version": "2012-10-17",
98
98
"Statement": [
@@ -126,15 +126,15 @@ IAM policy (Please replace `{BUCKET_NAME}` with your bucket name):
126
126
127
127
ClickHouse Cloud has a new feature that allows you to specify `extra_credentials` as part of the S3 table function. Below is an example of how to run a query using the newly created role copied from above.
Below is an example query that uses the `role_session_name` as a shared secret to query data from a bucket. If the `role_session_name` is not correct, this operation will fail.
Copy file name to clipboardExpand all lines: docs/en/cloud/security/cloud-access-management/cloud-access-management.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ To change the password assigned to the `default` account in the console, go to t
40
40
41
41
We recommend creating a new user account associated with a person and granting the user the default_role. This is so activities performed by users are identified to their user IDs and the `default` account is reserved for break-glass type activities.
42
42
43
-
```
43
+
```sql
44
44
CREATEUSERuserID IDENTIFIED WITH sha256_hash by 'hashed_password';
45
45
GRANT default_role to userID;
46
46
```
@@ -88,7 +88,7 @@ Custom roles may be created and associated with SQL console users. Since SQL con
88
88
To create a custom role for a SQL console user and grant it a general role, run the following commands. The email address must match the user's email address in the console.
89
89
1. Create the database_developer role and grant SHOW, CREATE, ALTER, and DELETE permissions.
90
90
91
-
```
91
+
```sql
92
92
CREATE ROLE OR REPLACE database_developer;
93
93
GRANT SHOW ON* TO database_developer;
94
94
GRANT CREATE ON* TO database_developer;
@@ -98,14 +98,14 @@ GRANT DELETE ON * TO database_developer;
98
98
99
99
2. Create a role for the SQL console user [email protected] and assign it the database_developer role.
Copy file name to clipboardExpand all lines: docs/en/cloud/security/cloud-access-management/cloud-authentication.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,6 +124,6 @@ Use the SHA256_hash method when [creating user accounts](/docs/en/sql-reference/
124
124
**TIP:** Since users with less than administrative privileges cannot set their own password, ask the user to hash their password using a generator
125
125
such as [this one](https://tools.keycdn.com/sha256-online-generator) before providing it to the admin to setup the account. Passwords should follow the [requirements](#password-settings) listed above.
126
126
127
-
```
127
+
```sql
128
128
CREATEUSERuserName IDENTIFIED WITH sha256_hash BY 'hash';
Copy file name to clipboardExpand all lines: docs/en/cloud/security/cloud-endpoints-api.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ If you are using an integration like the MySQL or PostgreSQL Engine, it is possi
101
101
102
102
For example, to allow access from a ClickHouse Cloud service hosted on AWS in the region `ap-south-1`, you can add the `egress_ips` addresses for that region:
0 commit comments