GetApplicationProvisioningConfig

Updated at:

Queries the account synchronization configuration of an EIAM application.

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:GetApplicationProvisioningConfig

get

*Application

acs:eiam:{#regionId}:{#accountId}:instance/{#InstanceId}/application/{#ApplicationId}

None None

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The instance ID.

idaas_ue2jvisn35ea5lmthk267xxxxx

ApplicationId

string

Yes

The application ID.

app_mkv7rgt4d7i4u7zqtzev2mxxxx

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

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

ApplicationProvisioningConfig

object

The account synchronization configuration of the application.

InstanceId

string

The instance ID.

idaas_ue2jvisn35ea5lmthk267xxxxx

ApplicationId

string

The application ID.

app_mkv7rgt4d7i4u7zqtzev2mxxxx

ProvisionProtocolType

string

The application synchronization protocol type. Valid values:

  • idaas_callback: IDaaS custom event callback protocol.

  • scim2: System for Cross-domain Identity Management protocol.

idaas_callback

ProvisionJwksEndpoint

string

The public key endpoint for verifying the signature of application synchronization callback information.

https://eiam-api-cn-hangzhou.aliyuncs.com/v2/idaas_ue2jvisn35ea5lmthk267xxxxx/app_mkv7rgt4d7i4u7zqtzev2mxxxx/provisioning/jwks

CallbackProvisioningConfig

object

The configuration parameters for the IDaaS custom event callback protocol.

CallbackUrl

string

The destination address for the application to receive IDaaS event callbacks.

https://example.com/event/callback

EncryptKey

string

The symmetric encryption and decryption key for IDaaS event callbacks. The key uses the AES256 algorithm and is encoded in Hex format.

1adfdfdfd******111

EncryptRequired

boolean

Specifies whether IDaaS event callback messages are encrypted. Valid values:

  • true: Encrypted.

  • false: Not encrypted. Messages are transmitted in plaintext.

true

ListenEventScopes

array

The list of message types listened to by IDaaS event callbacks.

string

The message types listened to by IDaaS event callbacks. For valid values, see References: Address book events.

urn:alibaba:idaas:app:event:ud:user:create

ProvisionPassword

boolean

Specifies whether to synchronize passwords in IDaaS user event callbacks. Valid values:

  • true: Synchronize passwords.

  • false: Do not synchronize passwords.

true

ScimProvisioningConfig

object

The configuration parameters for IDaaS System for Cross-domain Identity Management protocol synchronization.

ScimBaseUrl

string

The base URL for the application to receive IDaaS System for Cross-domain Identity Management protocol synchronization.

https://example.com/scim

AuthnConfiguration

object

The configuration parameters related to System for Cross-domain Identity Management protocol synchronization.

AuthnMode

string

The authorization pattern for System for Cross-domain Identity Management protocol APIs. Valid values:

  • oauth2: OAuth2 pattern.

oauth2

GrantType

string

The authorization pattern for the System for Cross-domain Identity Management protocol. Valid values:

  • client_credentials: Client credentials pattern.

  • bearer_token: Bearer token pattern.

bearer_token

AuthnParam

object

The authorization configuration parameters. Usage:

  • If GrantType is set to client_credentials, you must specify ClientId, ClientSecret, and AuthnMethod.

  • If GrantType is set to bearer_token, you must specify AccessToken.

AccessToken

string

The access token. This field is required when the bearer_token mode is used.

k52x2ru63rlkflina5utgkxxxx

TokenEndpoint

string

The token endpoint.

https://www.example.com/oauth/token

ClientId

string

The client ID of the application.

mkv7rgt4d7i4u7zqtzev2mxxxx

ClientSecret

string

The client secret of the application.

CSEHDcHcrUKHw1CuxkJEHPveWRXBGqVqRsxxxx

AuthnMethod

string

The authentication pattern for the System for Cross-domain Identity Management protocol. Valid values:

  • client_secret_basic: Pass the secret in the request header.

  • client_secret_post: Pass the secret in the request body.

client_secret_basic

ProvisioningActions

array

The operations on target resources for the System for Cross-domain Identity Management protocol. Valid values:

  • urn:alibaba:idaas:app:scim:User:CREATE: Create an account.

  • urn:alibaba:idaas:app:scim:User:UPDATE: Update an account.

  • urn:alibaba:idaas:app:scim:User:DELETE: Delete an account.

string

The operations on target resources for the System for Cross-domain Identity Management protocol.

urn:alibaba:idaas:app:scim:User:CREATE

FullPushScopes

array

The full push scope for the System for Cross-domain Identity Management protocol. Valid values:

  • urn:alibaba:idaas:app:scim:User:PUSH: Full user synchronization.

string

The full push scope for the System for Cross-domain Identity Management protocol.

urn:alibaba:idaas:app:scim:User:PUSH

Status

string

The enabling status of the IDaaS account synchronization feature. Valid values:

  • enabled: Enabled.

  • disabled: Disabled.

enabled

ConfigOperateMode

string

The rendering mode of the account synchronization page. Valid values:

  • standard: Standard mode.

  • template: Template mode.

standard

NetworkAccessEndpointId

string

The network endpoint ID.

nae_examplexxxx

Examples

Success response

JSON format

{
  "RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
  "ApplicationProvisioningConfig": {
    "InstanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
    "ApplicationId": "app_mkv7rgt4d7i4u7zqtzev2mxxxx",
    "ProvisionProtocolType": "idaas_callback",
    "ProvisionJwksEndpoint": "https://eiam-api-cn-hangzhou.aliyuncs.com/v2/idaas_ue2jvisn35ea5lmthk267xxxxx/app_mkv7rgt4d7i4u7zqtzev2mxxxx/provisioning/jwks",
    "CallbackProvisioningConfig": {
      "CallbackUrl": "https://example.com/event/callback",
      "EncryptKey": "1adfdfdfd******111",
      "EncryptRequired": true,
      "ListenEventScopes": [
        "urn:alibaba:idaas:app:event:ud:user:create"
      ]
    },
    "ProvisionPassword": true,
    "ScimProvisioningConfig": {
      "ScimBaseUrl": "https://example.com/scim",
      "AuthnConfiguration": {
        "AuthnMode": "oauth2",
        "GrantType": "bearer_token",
        "AuthnParam": {
          "AccessToken": "k52x2ru63rlkflina5utgkxxxx",
          "TokenEndpoint": "https://www.example.com/oauth/token",
          "ClientId": "mkv7rgt4d7i4u7zqtzev2mxxxx",
          "ClientSecret": "CSEHDcHcrUKHw1CuxkJEHPveWRXBGqVqRsxxxx\n",
          "AuthnMethod": "client_secret_basic"
        }
      },
      "ProvisioningActions": [
        "urn:alibaba:idaas:app:scim:User:CREATE"
      ],
      "FullPushScopes": [
        "urn:alibaba:idaas:app:scim:User:PUSH"
      ]
    },
    "Status": "enabled",
    "ConfigOperateMode": "standard",
    "NetworkAccessEndpointId": "nae_examplexxxx"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.