Creates a System for Cross-domain Identity Management (SCIM) credential.
Operation description
SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
This topic provides an example on how to create a SCIM credential within the directory d-00fc2p61****.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:CreateSCIMServerCredential |
create |
*SCIMServerCredential
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DirectoryId |
string |
Yes |
The ID of the directory. |
d-00fc2p61**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
2D2E5180-7ACF-57FF-A56C-26A49ABEBFF7 |
| SCIMServerCredential |
object |
The information about the SCIM credential. |
|
| Status |
string |
The status of the SCIM credential. The value is fixed as Enabled, which indicates that the SCIM credential is enabled. |
Enabled |
| DirectoryId |
string |
The ID of the directory. |
d-00fc2p61**** |
| CredentialId |
string |
The ID of the SCIM credential. |
scimcred-004whl0kvfwcypbi**** |
| CreateTime |
string |
The time when the SCIM credential was created. |
2021-11-09T08:12:52Z |
| CredentialType |
string |
The type of the SCIM credential. |
BearerToken |
| ExpireTime |
string |
The time when the SCIM credential expires. |
2022-11-09T08:12:52Z |
| CredentialSecret |
string |
The SCIM credential. Note
The SCIM credential is returned only when it is created. After the SCIM credential is created, you cannot query it. Keep the SCIM credential confidential. |
8aAJCtpbyPJ8saXeYDgyw**** |
Examples
Success response
JSON format
{
"RequestId": "2D2E5180-7ACF-57FF-A56C-26A49ABEBFF7",
"SCIMServerCredential": {
"Status": "Enabled",
"DirectoryId": "d-00fc2p61****",
"CredentialId": "scimcred-004whl0kvfwcypbi****",
"CreateTime": "2021-11-09T08:12:52Z",
"CredentialType": "BearerToken",
"ExpireTime": "2022-11-09T08:12:52Z",
"CredentialSecret": "8aAJCtpbyPJ8saXeYDgyw****"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.