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: README.md
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -112,8 +112,8 @@ CipherStash Proxy refreshes the configuration every 60 seconds. To force an imme
112
112
SELECT cs_refresh_encrypt_config();
113
113
```
114
114
115
-
>Note: This statement must be executed when connected to CipherStash Proxy.
116
-
When connected to the PostgreSQL database directly, it is a no-op.
115
+
>Note: This statement must be executed when connected to CipherStash Proxy.
116
+
> When connected to the database directly, it is a no-op.
117
117
118
118
## Storing data
119
119
@@ -175,14 +175,14 @@ Data is returned as:
175
175
}
176
176
```
177
177
178
-
>Note: If you execute this query directly on the PostgreSQL database, you will not see any plaintext data but rather the `jsonb` payload with the ciphertext.
178
+
>Note: If you execute this query directly on the database, you will not see any plaintext data but rather the `jsonb` payload with the ciphertext.
179
179
180
180
## Configuring indexes for searching data
181
181
182
182
In order to perform searchable operations on encrypted data, you must configure indexes for the encrypted columns.
183
183
184
184
> **IMPORTANT:** If you have existing data that's encrypted and you add or modify an index, all the data will need to be re-encrypted.
185
-
This is due to the way CipherStash Proxy handles searchable encryption operations.
185
+
> This is due to the way CipherStash Proxy handles searchable encryption operations.
186
186
187
187
### Adding an index (`cs_add_index_v1`)
188
188
@@ -205,9 +205,9 @@ You can read more about the index configuration options [here](docs/reference/IN
205
205
206
206
```sql
207
207
SELECT cs_add_index_v1(
208
-
'users',
209
-
'encrypted_email',
210
-
'unique',
208
+
'users',
209
+
'encrypted_email',
210
+
'unique',
211
211
'text'
212
212
);
213
213
```
@@ -233,9 +233,9 @@ Enable equality search on encrypted data.
0 commit comments