ListIdentityProviders

Updated at:

Queries the list of identity providers.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

eiam:ListIdentityProviders

list

*IdentityProvider

acs:eiam:{#regionId}:{#accountId}:instance/{#InstanceId}/identityprovider/*

None None

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The instance ID.

idaas_ue2jvisn35ea5lmthk267xxxxx

PageNumber

integer

No

The page number.

1

PageSize

integer

No

The page size.

20

Direction

string

No

The direction of the identity provider.

Valid values:

  • pull :

    Inbound.

  • push :

    Outbound.

pull

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

0441BD79-92F3-53AA-8657-F8CE4A2B912A

TotalCount

integer

The total number of entries.

100

IdentityProviders

array<object>

The list of identity providers.

object

The identity provider information.

InstanceId

string

The instance ID.

idaas_pbf4dth34l2qb7mydpntXXX

IdentityProviderId

string

The identity provider ID.

idp_m5b5wd5s2hpq4t6iaehhXXX

IdentityProviderExternalId

string

The external ID of the identity provider.

test_123

Description

string

The description of the identity provider.

None

IdentityProviderName

string

The name of the identity provider.

test

UdPullStatus

string

Specifies whether the inbound synchronization feature is supported. Valid values:

  • disabled: Disabled.

  • enabled: Enabled.

disabled

AuthnSourceType

string

The authentication method type, which can be OIDC or SAML. Valid values:

  • urn:alibaba:idaas:authntype:oidc: OIDC.

  • urn:alibaba:idaas:authntype:saml2: SAML.

urn:alibaba:idaas:authntype:oidc

AuthnSourceSupplier

string

The authentication source product, such as Okta, Google, or Azure AD. Valid values:

  • urn:alibaba:idaas:idp:alibaba:dingtalk: DingTalk.

  • urn:alibaba:idaas:idp:unknown:ldap: LDAP.

  • urn:alibaba:idaas:idp:alibaba:idaas: Alibaba Cloud IDaaS.

  • urn:alibaba:idaas:idp:tencent:wecom: WeCom.

  • urn:alibaba:idaas:idp:bytedance:lark: Lark.

  • urn:alibaba:idaas:idp:microsoft:ad: Active Directory.

  • urn:alibaba:idaas:idp:microsoft:aad: Azure Active Directory.

  • urn:alibaba:idaas:idp:alibaba:sase: Alibaba Cloud SASE.

urn:alibaba:idaas:idp:bytedance:lark

AuthnStatus

string

Specifies whether the IdP supports authentication. Valid values:

  • disabled: Disabled.

  • enabled: Enabled.

disabled

IncrementalCallbackStatus

string

The incremental callback status, which specifies whether to process incremental callback data from the IdP. Valid values:

  • disabled: Disabled.

  • enabled: Enabled.

enabled

UdPullTargetScope

string

The synchronization target node.

ou_2buqmxsa3ltyqkjgpwfijurXXX

IdentityProviderType

string

The identity provider synchronization type. Valid values:

  • urn:alibaba:idaas:idp:alibaba:dingtalk:pull: Inbound DingTalk.

  • urn:alibaba:idaas:idp:alibaba:dingtalk:push: Outbound DingTalk.

  • urn:alibaba:idaas:idp:tencent:wecom:pull: Inbound WeCom.

  • urn:alibaba:idaas:idp:bytedance:lark:pull: Inbound Lark.

  • urn:alibaba:idaas:idp:microsoft:ad:pull: Inbound Active Directory.

  • urn:alibaba:idaas:idp:unknown:ldap:pull: Inbound LDAP.

  • urn:alibaba:idaas:idp:standard:oidc: Standard OIDC.

  • urn:alibaba:idaas:idp:alibaba:sase: SASE custom OIDC.

urn:alibaba:idaas:idp:bytedance:lark:pull

AdvancedStatus

string

Specifies whether the advanced configuration capability is enabled. Valid values:

  • disabled: Disabled.

  • enabled: Enabled.

disabled

UdPushStatus

string

Specifies whether the outbound synchronization capability is enabled. Valid values:

  • disabled: Disabled.

  • enabled: Enabled.

disabled

LockReason

string

The lock reason.

financial

LastStatusCheckJobResult

string

The result of the last status check. A synchronization task can be triggered only when the identity provider status check result is success before synchronization.

success

CreateTime

integer

The creation time. The value is a UNIX timestamp in milliseconds.

1712561597000

UpdateTime

integer

The update time. The value is a UNIX timestamp in milliseconds.

1712561597000

LogoUrl

string

The custom logo URL of the identity provider.

https://cdn-cn-hangzhou.aliyunidaas.com/xx/logos/xx

PeriodicSyncStatus

string

The periodic verification status, which specifies whether to periodically verify data differences between EIAM and the identity provider.

disabled

Examples

Success response

JSON format

{
  "RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
  "TotalCount": 100,
  "IdentityProviders": [
    {
      "InstanceId": "idaas_pbf4dth34l2qb7mydpntXXX",
      "IdentityProviderId": "idp_m5b5wd5s2hpq4t6iaehhXXX",
      "IdentityProviderExternalId": "test_123",
      "Description": "None",
      "IdentityProviderName": "test",
      "UdPullStatus": "disabled",
      "AuthnSourceType": "urn:alibaba:idaas:authntype:oidc",
      "AuthnSourceSupplier": "urn:alibaba:idaas:idp:bytedance:lark",
      "AuthnStatus": "disabled",
      "IncrementalCallbackStatus": "enabled",
      "UdPullTargetScope": "ou_2buqmxsa3ltyqkjgpwfijurXXX",
      "IdentityProviderType": "urn:alibaba:idaas:idp:bytedance:lark:pull",
      "AdvancedStatus": "disabled",
      "UdPushStatus": "disabled",
      "LockReason": "financial",
      "LastStatusCheckJobResult": "success",
      "CreateTime": 1712561597000,
      "UpdateTime": 1712561597000,
      "LogoUrl": "https://cdn-cn-hangzhou.aliyunidaas.com/xx/logos/xx",
      "PeriodicSyncStatus": "disabled"
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.