CreateIdentityProvider
Creates an identity provider.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:CreateIdentityProvider |
create |
*IdentityProvider
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| IdentityProviderName |
string |
Yes |
The name of the identity provider. |
test |
| IdentityProviderType |
string |
Yes |
The synchronization type of the identity provider. Valid values:
|
urn:alibaba:idaas:idp:alibaba:dingtalk:push |
| UdPushConfig |
object |
No |
The outbound synchronization configuration. |
|
| IncrementalCallbackStatus |
string |
No |
Specifies whether to process incremental callback data from the identity provider (IdP). This field is not enabled. Ignore this field. |
disabled |
| PeriodicSyncStatus |
string |
No |
Specifies whether to periodically verify data differences between EIAM and the identity provider. This field is not enabled. Ignore this field. |
disabled |
| UdSyncScopeConfigs |
array<object> |
No |
The outbound synchronization configuration. |
|
|
object |
No |
|||
| SourceScopes |
array |
No |
The list of source synchronization nodes. |
|
|
string |
No |
The source synchronization node. Enter the organization ID. |
ou_lyhyy6p7yf7mdrdiq5xxxx |
|
| TargetScope |
string |
No |
The target synchronization node. |
ou_lyhyy6p7yf7mdrdiq5xxxx |
| PeriodicSyncConfig |
object |
No |
The periodic verification configuration. |
|
| PeriodicSyncType |
string |
No |
The type. Valid values:
|
cron |
| PeriodicSyncCron |
string |
No |
The cron expression. |
0 45 1 * * ? |
| PeriodicSyncTimes |
array |
No |
The set of execution time points. |
|
|
integer |
No |
The execution time point. |
3 |
|
| UdPullConfig |
object |
No |
The inbound synchronization configuration. |
|
| GroupSyncStatus |
string |
No |
Specifies whether to enable group synchronization. Default value: disabled. Valid values:
|
disabled |
| IncrementalCallbackStatus |
string |
No |
Specifies whether to process incremental callback data from the IdP. Valid values:
|
disabled |
| PeriodicSyncStatus |
string |
No |
Specifies whether to periodically verify data differences between EIAM and the identity provider. Valid values:
|
disabled |
| UdSyncScopeConfig |
object |
No |
The synchronization scope configuration. |
|
| SourceScopes |
array |
No |
The list of source synchronization nodes. |
|
|
string |
No |
The source synchronization node. |
ou_lyhyy6p7yf7mdrdiq5xxxx |
|
| TargetScope |
string |
No |
The target synchronization node. Enter the IDaaS organization ID. |
ou_lyhyy6p7yf7mdrdiq5xxxx |
| PeriodicSyncConfig |
object |
No |
The periodic verification configuration. |
|
| PeriodicSyncType |
string |
No |
The type. Valid values:
|
cron |
| PeriodicSyncCron |
string |
No |
The cron expression. |
0 45 1 * * ? |
| PeriodicSyncTimes |
array |
No |
The set of execution time points. |
|
|
integer |
No |
The execution time point. |
3 |
|
| AuthnConfig |
object |
No |
The authentication configuration. |
|
| AuthnStatus |
string |
No |
Specifies whether the corresponding IdP supports authentication. Valid values:
|
enabled |
| AutoUpdatePasswordStatus |
string |
No |
Specifies whether to support automatic password updates. Valid values:
|
enabled |
| BindingConfig |
object |
No |
The account binding rule configuration for the OIDC identity provider. |
|
| AutoMatchUserProfileExpressions |
array<object> |
No |
The list of rules for automatic account matching. |
|
|
object |
No |
|||
| ExpressionMappingType |
string |
No |
The type of the expression. Valid values:
|
field |
| SourceValueExpression |
string |
No |
The expression for retrieving the source attribute value. |
idpUser.phoneNumber |
| TargetField |
string |
No |
The name of the target attribute. |
user.username |
| TargetFieldDescription |
string |
No |
The name of the target attribute. |
username |
| AutoMatchUserStatus |
string |
No |
Specifies whether to enable automatic account matching. Valid values:
|
disabled |
| MappingBindingStatus |
string |
No |
Specifies whether manual account binding is enabled. Valid values:
|
enabled |
| DingtalkAppConfig |
object |
No |
The DingTalk configuration information. |
|
| AppKey |
string |
No |
The AppKey of the first-party DingTalk application. |
Xczngvfemo4e |
| AppSecret |
string |
No |
The AppSecret of the first-party DingTalk application. |
5d405a12a6f84ad4ab05ee09axxxx |
| CorpId |
string |
No |
The CorpId of the first-party DingTalk application. |
307568042478613xxxx |
| DingtalkVersion |
string |
No |
The DingTalk version. Valid values:
|
public_dingtalk |
| EncryptKey |
string |
No |
The EncryptKey of the DingTalk application. |
VkdWw91mdkrjVFr3ObNwefap21dfxxxx |
| VerificationToken |
string |
No |
The VerificationToken of the DingTalk application. |
myDingApp_VerifyTokenxxxxx |
| LdapConfig |
object |
No |
The AD/LDAP configuration information. |
|
| AdministratorPassword |
string |
No |
The administrator password. |
123456 |
| AdministratorUsername |
string |
No |
The administrator username. |
DC=example,DC=com |
| CertificateFingerprintStatus |
string |
No |
Specifies whether to verify the certificate fingerprint. Valid values:
|
enabled |
| CertificateFingerprints |
array |
No |
The list of certificate fingerprints. |
|
|
string |
No |
The certificate fingerprint of the public key in SHA-256 format. |
asdasd2221asdawqeda |
|
| GroupMemberAttributeName |
string |
No |
The group member identifier. |
member |
| GroupObjectClass |
string |
No |
The group objectClass. |
group |
| GroupObjectClassCustomFilter |
string |
No |
The custom group filter. |
(|(cn=test)(group=test@test.com)) |
| LdapProtocol |
string |
No |
The communication protocol. |
ldap |
| LdapServerHost |
string |
No |
The AD/LDAP server address. |
123.xx.xx.89 |
| LdapServerPort |
integer |
No |
The AD/LDAP port number. |
636 |
| OrganizationUnitObjectClass |
string |
No |
The organization objectClass. |
organizationUnit,top |
| StartTlsStatus |
string |
No |
Specifies whether StartTLS is enabled. Valid values:
|
enabled |
| UserLoginIdentifier |
string |
No |
The user logon identifier. |
userPrincipalName, mail |
| UserObjectClass |
string |
No |
The user objectClass. |
person,user |
| UserObjectClassCustomFilter |
string |
No |
The custom user filter. |
(|(cn=test)(mail=test@test.com)) |
| PasswordSyncStatus |
string |
No |
Specifies whether password synchronization is enabled. Valid values:
|
enabled |
| UserRdn |
string |
No |
The user RDN. |
cn |
| OrganizationalUnitRdn |
string |
No |
The organization RDN. |
ou |
| WeComConfig |
object |
No |
The WeCom configuration information. |
|
| AgentId |
string |
No |
The AgentId of the custom WeCom application. |
278231941749863339 |
| AuthorizeCallbackDomain |
string |
No |
The authorization callback domain. |
https://xxx.aliyunidaas.com/xxxx |
| CorpId |
string |
No |
The CorpId of the custom WeCom application. |
3756043633237690761 |
| CorpSecret |
string |
No |
The CorpSecret of the custom WeCom application. |
CSEHDddddddxxxxuxkJEHPveWRXBGqVqRsxxxx |
| TrustableDomain |
string |
No |
The trusted domain. |
https://xxx.aliyunidaas.com/ |
| ContactSecret |
string |
No |
The WeCom contacts secret. |
mPLLiWv-_9wittxxxEJCpk1xkF5hOgBzpRt4kBkxxx |
| OidcConfig |
object |
No |
The OIDC IdP configuration. |
|
| AuthnParam |
object |
No |
The OIDC client authentication configuration. |
|
| AuthnMethod |
string |
No |
The OIDC authentication method. Valid values:
|
client_secret_post |
| ClientId |
string |
No |
The OIDC client ID. |
mkv7rgt4d7i4u7zqtzev2mxxxx |
| ClientSecret |
string |
No |
The OIDC client secret. |
CSEHDddddddxxxxuxkJEHPveWRXBGqVqRsxxxx |
| EndpointConfig |
object |
No |
The OIDC endpoint configuration. |
|
| AuthorizationEndpoint |
string |
No |
The OIDC authorization endpoint. |
https://example.com/auth/authorize |
| Issuer |
string |
No |
The OIDC issuer information. |
https://example.com/auth |
| JwksUri |
string |
No |
The OIDC JWKS URL. |
https://example.com/auth/jwks |
| TokenEndpoint |
string |
No |
The OIDC token endpoint. |
https://example.com/auth/token |
| UserinfoEndpoint |
string |
No |
The OIDC userinfo endpoint. |
https://example.com/auth/userinfo |
| GrantScopes |
array |
No |
The collection of OIDC grant scopes. |
["openid"] |
|
string |
No |
The OIDC grant scope, which can be an organization ID or a group ID. |
ou_lyhyy6p7yf7mdrdiq5xxxx |
|
| GrantType |
string |
No |
The OIDC grant type. |
authorization_code |
| PkceChallengeMethod |
string |
No |
The PKCE algorithm. Valid values:
|
S256 |
| PkceRequired |
boolean |
No |
Specifies whether to use PKCE in authorization code mode. |
true |
| NetworkAccessEndpointId |
string |
No |
The network endpoint ID. |
nae_examplexxxx |
| AutoCreateUserConfig |
object |
No |
The automatic account creation rule configuration. |
|
| AutoCreateUserStatus |
string |
No |
Specifies whether automatic account creation is enabled. Valid values:
|
disabled |
| TargetOrganizationalUnitIds |
array |
No |
The collection of target organizational unit IDs. |
|
|
string |
No |
The target organizational unit ID. |
ou_lyhyy6p7yf7mdrdiq5xxxx |
|
| AutoUpdateUserConfig |
object |
No |
The automatic user update rule configuration. |
|
| AutoUpdateUserStatus |
string |
No |
Specifies whether automatic user update is enabled. Valid values:
|
disabled |
| LarkConfig |
object |
No |
The Lark configuration information. |
|
| AppId |
string |
No |
The AppId of the Lark application. |
cli_xxxx |
| AppSecret |
string |
No |
The secret of the Lark application. |
KiiLzh5Dueh4wbLxxxx |
| EnterpriseNumber |
string |
No |
The Lark enterprise code. |
FSX123111xxx |
| EncryptKey |
string |
No |
The encryptKey of the custom Lark application. |
VkdWw91mdkrjVFr3ObNwefap21dfxxxx |
| VerificationToken |
string |
No |
The verificationToken of the custom Lark application. |
feishuVerifyTokenxxxxx |
| LogoUrl |
string |
No |
The URL of the application logo. |
xxxx-image://xxxx_23aqr2ye554csg33dqpch5eu3q/tmp/d17d9adc-a943-45e7-ba0c-2838dddea678 |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can generate a parameter value on your client to ensure that the value is unique across different requests. The ClientToken parameter supports only ASCII characters. If you do not specify this parameter, the system automatically uses the RequestId of the API request as the ClientToken. The RequestId of each API request may be different. |
clientToken_20250704_Axxxxx |
| SamlConfig |
object |
No |
The SAML IdP configuration. |
|
| IdPEntityId |
string |
No |
The EntityId of the IdP. |
http://dc.test.com/adfs/services/trust |
| IdPSsoUrl |
string |
No |
The logon URL of the IdP. |
https://dc.test.com/adfs/ls/ |
| Certificates |
array<object> |
No |
The list of certificates for the IdP. |
|
|
object |
No |
The certificate information. |
||
| Content |
string |
No |
The certificate content. |
-----BEGIN CERTIFICATE----- MIIC0jCCAbqgAwIBAgIQXXXXX-----END CERTIFICATE----- |
| RequireRequestSigned |
boolean |
No |
Specifies whether the request must be signed. |
true |
| BindingMethod |
string |
No |
The binding type. Valid values:
|
HTTP-REDIRECT |
| MaxClockSkew |
integer |
No |
The maximum clock skew. |
180 |
| WantResponseSigned |
boolean |
No |
Specifies whether the external IdP is required to sign the response. |
|
| WantAssertionsSigned |
boolean |
No |
Specifies whether the external IdP is required to sign the assertion. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The request parameters. |
||
| RequestId |
string |
The request ID. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| IdentityProviderId |
string |
The identity provider ID. |
idp_mwpcwnhrimlr2horxXXXX |
Examples
Success response
JSON format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"IdentityProviderId": "idp_mwpcwnhrimlr2horxXXXX"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.OidcIssuer | OidcIssuer format check failed, it must be an address that starts with http or https. | OidcIssuer format check failed, it must be an address that starts with http or https. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.