Listing Auxiliary Authentication Policies
Function
Lists auxiliary authentication policies.
Debugging
You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, the following identity policy-based permissions are required.
Action
Access Level
Resource Type (*: required)
Condition Key
Alias
Dependencies
workspace:assistAuthConfigs:listStrategies
List
-
-
-
-
URI
GET /v2/{project_id}/assist-auth-config
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Project ID. |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| config_id | No | String | Policy ID. |
| name | No | String | Policy name. |
| auth_type | No | String | Authentication type. |
| enabled | No | Boolean | Whether the status is enabled. |
| access_mode | No | String | Access mode. |
| priority | No | Integer | Priority. |
| keyword | No | String | Keyword for fuzzy search. |
| offset | No | Integer | Where the pagination query starts. The value starts from 0. |
| limit | No | Integer | This parameter is used for pagination query and restricts the application objects to be returned. The value ranges from 1 to 100. The default value is 20. |
Request Parameters
None
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| configs | Array of AssistAuthConfigStrategy objects | Policy list, sorted by priority in ascending order. |
| count | Integer | Total number of records. |
| Parameter | Type | Description |
|---|---|---|
| config_id | String | Policy ID. |
| name | String | Policy name. |
| priority | Integer | Priority. |
| auth_type | String | Authentication type. |
| access_mode | String | Access mode. |
| description | String | Policy description. |
| enabled | Boolean | Whether the status is enabled. |
| object_count | Integer | Number of application objects. |
Status code: 400
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code. |
| error_msg | String | Error message. |
| error_detail | String | Error details. |
| encoded_authorization_message | String | Encrypted detailed reason for rejection. You can call the API decode-authorization-message of STS to decrypt the reason. |
Status code: 401
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code. |
| error_msg | String | Error message. |
| error_detail | String | Error details. |
| encoded_authorization_message | String | Encrypted detailed reason for rejection. You can call the API decode-authorization-message of STS to decrypt the reason. |
Status code: 403
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code. |
| error_msg | String | Error message. |
| error_detail | String | Error details. |
| encoded_authorization_message | String | Encrypted detailed reason for rejection. You can call the API decode-authorization-message of STS to decrypt the reason. |
Status code: 404
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code. |
| error_msg | String | Error message. |
| error_detail | String | Error details. |
| encoded_authorization_message | String | Encrypted detailed reason for rejection. You can call the API decode-authorization-message of STS to decrypt the reason. |
Status code: 500
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code. |
| error_msg | String | Error message. |
| error_detail | String | Error details. |
| encoded_authorization_message | String | Encrypted detailed reason for rejection. You can call the API decode-authorization-message of STS to decrypt the reason. |
Example Requests
None
Example Responses
Status code: 200
{
"configs" : [ {
"config_id" : "strategy-uuid-001",
"name" : "MFA-required for Extranet",
"priority" : 10,
"auth_type" : "SMS_MFA",
"access_mode" : "INTERNET",
"description" : "SMS-based MFA authentication for extranet users.",
"enabled" : true,
"object_count" : 5
}, {
"config_id" : "strategy-uuid-002",
"name" : "MFA-free for Intranet",
"priority" : 20,
"auth_type" : "NONE",
"access_mode" : "DEDICATED",
"description" : "MFA-free for intranet users.",
"enabled" : true,
"object_count" : 3
} ],
"count" : 2
} Status Codes
| Status Code | Description |
|---|---|
| 200 | Response to the request for querying the auxiliary authentication-based login modes. |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 500 | Internal Server Error. For details, see the error code description. |
Error Codes
See Error Codes.
What is your overall rating for this page?
Thank 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