Configures information about user-based single sign-on (SSO).
Try it now
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:SetUserSsoSettings |
update |
*All Resource
|
None |
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
|
MetadataDocument |
string |
No |
The metadata file, which is Base64-encoded. The file is provided by an identity provider (IdP) that supports Security Assertion Markup Language (SAML) 2.0. |
PD94bWwgdmVy**** |
|
SsoEnabled |
boolean |
No |
Specifies whether to enable SSO for the RAM user. Valid values:
|
true |
|
AuxiliaryDomain |
string |
No |
The auxiliary domain name. |
example.com |
|
SsoLoginWithDomain |
boolean |
No |
Specifies whether the SAML SSO requires a domain name in the
The default value is |
true |
|
AuthnSignAlgo |
string |
No |
The supported signature algorithm. Valid values:
|
rsa-sha1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| UserSsoSettings |
object |
The configurations of user-based SSO. |
|
|
AuxiliaryDomain |
string |
The auxiliary domain name. |
example.com |
|
MetadataDocument |
string |
The metadata file, which is Base64-encoded. |
PD94bWwgdmVy**** |
|
SsoEnabled |
boolean |
Indicates whether user-based SSO is enabled. |
true |
|
SsoLoginWithDomain |
boolean |
Indicates whether the SAML SSO requires a domain name in the
The default value is |
true |
|
AuthnSignAlgo |
string |
The supported signature algorithm. Valid values:
|
rsa-sha1 |
|
RequestId |
string |
The request ID. |
87F2E3F6-28A0-43F3-A77F-F7760E62F61E |
Examples
Success response
JSON format
{
"UserSsoSettings": {
"AuxiliaryDomain": "example.com",
"MetadataDocument": "PD94bWwgdmVy****",
"SsoEnabled": true,
"SsoLoginWithDomain": true,
"AuthnSignAlgo": "rsa-sha1"
},
"RequestId": "87F2E3F6-28A0-43F3-A77F-F7760E62F61E"
}
Error codes
See Error Codes for a complete list.
Release notes
See 变更详情 for a complete list.