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: content/docs/guides/(data-access)/proxy-and-plug-in-implementation/4-masking-data-using-the-sql-shim.mdx
-10Lines changed: 0 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,23 +15,13 @@ Once you have re-pointed your application’s database queries or API calls to t
15
15
16
16
### Steps to Mask Outbound Data:
17
17
18
-
**For SQL queries:**
19
-
20
18
1.**Trigger the Query**: Trigger the query in the application if you haven’t already (e.g., by loading a table of data or a user profile).
21
19
2.**Select and Edit the Query**: In the UserClouds Console, go to Accessors (under Access Methods), select the query in your list of data accessors and click "Edit".
22
20
3.**Find the Column to Mask**: Scroll down to the columns section and locate the column you would like to mask, such as SSN or email.
23
21
4.**Apply a Transformer**: Use the dropdown to apply a new transformer and click "Save".
24
22
- If you mask data using a transformer of type `TokenizeByValue` or `TokenizeByReference`, the data will be tokenized (i.e., reversibly masked).
25
23
- In this case, you will need to select a token access policy, which will determine the circumstances under which the token can be resolved back into the raw data.
26
24
27
-
**For API responses:**
28
-
29
-
1.**Trigger the API Call**: Trigger the API call in the application if you haven’t already (e.g., by requesting a user profile or retrieving data from an endpoint).
30
-
2.**Select and Edit the API Connection**: In the UserClouds Console, go to API connections (under User Data Storage), select the API endpoint in your list of data accessors and click "Edit".
31
-
3.**Find the Endpoint**: Scroll down to the endpoints section and locate the endpoint for which you would like to mask outbound data.
32
-
4.**Apply a Transformer**: Use the dropdown to apply a new transformer and click "Save".
33
-
- Unlike SQL queries, tokenization is not supported on API responses.
34
-
35
25
Now, UserClouds will intercept that query and mask the data in the specified column according to the data transformer. You can test this in your application UI to ensure it is working as expected.
36
26
37
27
For more details, see sections on [Transformers](/docs/guides/definitions/transformers), [Access Policies](/docs/guides/definitions/access-policies) and [Accessors](/docs/guides/definitions/accessors-read-apis).
0 commit comments