SetPasswordPolicy
设置云SSO用户的密码策略
服务地址:
华东2(上海)
输入参数
只看必填
DirectoryId目录ID
MinPasswordLength最小密码长度
MinPasswordDifferentChars密码中最少包含的不同字符数量
PasswordNotContainUsername密码中是否不允许包含用户名
请选择布尔值
MaxPasswordAge密码有效期
PasswordReusePrevention历史密码检查策略
MaxLoginAttempts密码重试次数
插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

请求参数

字段名称字段详情
DirectoryIdstring

目录 ID。

示例值:d-00fc2p61****参考取值来源:
    UpdateDirectory
    CreateDirectory
MinPasswordLengthinteger<int32>

最小密码长度。展开详情

示例值:8
MinPasswordDifferentCharsinteger<int32>

密码中最少包含的不同字符数量。展开详情

示例值:8
PasswordNotContainUsernameboolean

密码中是否不允许包含用户名。取值:展开详情

示例值:true
MaxPasswordAgeinteger<int32>

密码有效期。展开详情

示例值:90
PasswordReusePreventioninteger<int32>

历史密码检查策略。展开详情

示例值:1
MaxLoginAttemptsinteger<int32>

密码重试次数。展开详情

示例值:5

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:768F908D-A66A-5A5D-816C-20C93CBBFEE3
变更历史
暂无变更历史