Creates a SCIM credential.
Operation description
A SCIM credential is required for SCIM synchronization. You can create up to two SCIM credentials.
This topic provides an example on how to create a SCIM credential in 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 directory ID. |
d-00fc2p61**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
2D2E5180-7ACF-57FF-A56C-26A49ABEBFF7 |
| SCIMServerCredential |
object |
The SCIM credential information. |
|
| Status |
string |
The status of the SCIM credential. Valid values:
|
Enabled |
| DirectoryId |
string |
The directory ID. |
d-00fc2p61**** |
| CredentialId |
string |
The ID of the SCIM credential. |
scimcred-004whl0kvfwcypbi**** |
| CreateTime |
string |
The time when the SCIM credential was created. The time is displayed in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format. |
2021-11-09T08:12:52Z |
| CredentialType |
string |
The type of the SCIM credential. |
BearerToken |
| ExpireTime |
string |
The time when the SCIM credential expires. The time is displayed in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format. |
2022-11-09T08:12:52Z |
| CredentialSecret |
string |
The SCIM credential secret. Note
The SCIM credential secret is returned only when the credential is created and cannot be queried later. Keep it secure. |
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.