统一身份认证服务 IAM-按条件查询账号密码强度策略:响应示例

时间:2024-07-27 09:21:20

响应示例

状态码为 200 时:

请求成功。

示例1:option为password_regex。

示例2:option为password_regex_description。

  • 示例 1
    {
        "config": {
            "password_regex": "^(?![A-Z]*$)(?![a-z]*$)(?![\\d]*$)(?![^\\W]*$)\\S{6,32}$"
        }
    }
  • 示例 2
    {
        "config": {
            "password_regex_description": "The password must contain at least two of the following character types: uppercase letters, lowercase letters, digits, and special characters, and be a length between 6 and 32."
        }
    }
support.huaweicloud.com/api-iam/iam_02_0113.html