Sets the identity provider (IdP) settings for user-based single sign-on (SSO).
Try it now
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. The file must be Base64-encoded. The file is provided by an identity provider (IdP) that supports the Security Assertion Markup Language (SAML) 2.0 protocol. |
PD94bWwgdmVy**** |
| SsoEnabled |
boolean |
No |
Specifies whether to enable user-based SSO for Resource Access Management (RAM) users. Valid values:
|
true |
| AuxiliaryDomain |
string |
No |
The auxiliary domain name. |
example.com |
| SsoLoginWithDomain |
boolean |
No |
Specifies whether the
The default value is |
true |
| AuthnSignAlgo |
string |
No |
The signature algorithm that is supported by the Alibaba Cloud service provider (SP). Valid values:
|
rsa-sha1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| UserSsoSettings |
object |
The user-based SSO settings. |
|
| AuxiliaryDomain |
string |
The auxiliary domain name. |
example.com |
| MetadataDocument |
string |
The metadata file. The file is Base64-encoded. |
PD94bWwgdmVy**** |
| SsoEnabled |
boolean |
Indicates whether user-based SSO is enabled. |
true |
| SsoLoginWithDomain |
boolean |
Indicates whether the
The default value is |
true |
| AuthnSignAlgo |
string |
The signature algorithm that is supported by the Alibaba Cloud SP. 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 Release Notes for a complete list.