Mengkueri informasi tentang Security Assertion Markup Language (SAML) service provider (SP).
Deskripsi operasi
During SAML 2.0-based single sign-on (SSO) logon, CloudSSO is an SP, and the identity management system of an enterprise is an identity provider (IdP).
This topic provides an example on how to query information about the SP within the directory d-00fc2p61****.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:GetDirectorySAMLServiceProviderInfo |
get |
*Directory
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DirectoryId |
string |
Yes |
ID direktori. |
d-00fc2p61**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
4632107D-BCE1-5A96-B30B-182EE0709625 |
| SAMLServiceProvider |
object |
The information about the SP. |
|
| EntityId |
string |
The entity ID of the SP. |
https://signin-cn-shanghai.alibabacloudsso.com/saml/sp/d-00fc2p61**** |
| DirectoryId |
string |
The ID of the directory. |
d-00fc2p61**** |
| EncodedMetadataDocument |
string |
The metadata file of the SP. The value of this parameter is Base64-encoded. |
PD94bWwgdmVyc2lv**** |
| AcsUrl |
string |
The Assertion Consumer Service (ACS) URL of the SP. |
https://signin-cn-shanghai.alibabacloudsso.com/saml/acs/51d298a9-2a3f-4e23-97c7-7ad1cfa9**** |
| AuthnSignAlgo |
string |
The signature algorithm supported by the AuthNRequest initiated by Alibaba Cloud. Value:
|
rsa-sha256 |
| CertificateType |
string |
The certificate type used by Alibaba Cloud for signing during the SSO process. Value:
|
public |
| SupportEncryptedAssertion |
boolean |
Whether to support Assertion encryption on the IdP side. |
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "4632107D-BCE1-5A96-B30B-182EE0709625",
"SAMLServiceProvider": {
"EntityId": "https://signin-cn-shanghai.alibabacloudsso.com/saml/sp/d-00fc2p61****",
"DirectoryId": "d-00fc2p61****",
"EncodedMetadataDocument": "PD94bWwgdmVyc2lv****",
"AcsUrl": "https://signin-cn-shanghai.alibabacloudsso.com/saml/acs/51d298a9-2a3f-4e23-97c7-7ad1cfa9****",
"AuthnSignAlgo": "rsa-sha256",
"CertificateType": "public",
"SupportEncryptedAssertion": true
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.