Querying Encryption and Masking Configurations
Function
This API is used to query the encryption and masking configurations based on the project ID.
Calling Method
For details, see Calling APIs.
URI
GET /v1/{project_id}/sdg/server/mask/algorithms/encryption-configurations
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Unique project ID. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
algorithm_type |
Yes |
String |
Encryption algorithm type. |
|
configuration_name |
No |
String |
Configuration name. |
|
limit |
Yes |
Integer |
Number of records on each page. |
|
offset |
Yes |
Integer |
Pagination offset. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
access_permission |
Boolean |
Whether you have the access permission |
|
configuration_list |
Array of Configuration objects |
Encryption and masking configuration list |
|
total |
Integer |
Total number of encryption and masking configurations. |
|
Parameter |
Type |
Description |
|---|---|---|
|
algorithm_name |
String |
Name of the encryption and masking algorithm. |
|
algorithm_type |
String |
Encryption and masking algorithm type. The value can be SHA256, SHA512, PRESNM, MASKNM, PRESXY, MASKXY, SYMBOL, KEYWORD, NULL, EMPTY, DATE, NUMERIC, AES, EMBED, SM4, or DECRYPT. |
|
configuration_name |
String |
Name of the encryption and masking configuration. |
|
enable_rotate |
Boolean |
Whether to enable key rotation. |
|
encrypt_mode |
String |
Encryption mode, the value contains 1 to 256 characters. |
|
filling_method |
String |
Padding method, which is used for encryption and masking. |
|
id |
String |
Unique ID of the encryption and masking configuration. |
|
kms_context |
KmsContext object |
KMS context information. |
|
mask_task_num |
Integer |
Number of masking tasks. |
|
rotate_period |
Integer |
Key rotation period (days) |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Query result. |
|
401 |
Unauthorized. |
|
403 |
Access denied. |
|
404 |
Resource not found. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot