IDaaS EIAM provides SDKs for machine-to-machine (M2M) applications across four scenarios: Generic OAuth 2.0, Akless (no AccessKey), credential management, and Agent ID. Review the tables below to select the right SDK for your scenario, then follow the SDK-specific setup guide.
Available SDKs
The following table describes each IDaaS EIAM SDK, its capabilities, dependencies, and supported languages.
SDK | Capabilities | Language |
IDaaS Core SDK |
| |
IDaaS Akless Alibabacloud Adapter |
| |
IDaaS Core Alibabacloud Authentication Plugin |
| |
IDaaS Pam Client |
|
Scenarios and Required SDKs
Each scenario maps to one or more SDKs. Identify your scenario below, then install the listed SDKs.
Scenario | Description | Required SDKs |
Generic OAuth | M2M client applications authenticate using standard or federated methods to obtain access tokens. Supported authentication methods:
Supported environments: local development, Alibaba Cloud ECS, Kubernetes, Function Compute, and others. In environments where federated credentials (PKCS#7, OIDC) are unavailable — such as serverless functions or restricted runtimes,IDaaS supports OpenAPI-based authentication.Add the IDaaS Core Alibabacloud Authentication Plugin to authenticate using Alibaba Cloud AccessKey/SecretKey or Security Token Service (STS) tokens instead. |
|
Akless | Associate Resource Access Management (RAM) roles with IDaaS. At runtime, your application obtains STS tokens through IDaaS to access cloud resources securely — no static AccessKeys required. |
|
Credential Management | Create credentials or credential providers (OAuth 2.0, JSON Web Token (JWT)) in IDaaS. At runtime, your application retrieves and uses these credentials securely through IDaaS. |
|
Agent ID | An agent acts as a client application, authenticating through multiple methods to obtain outbound credentials securely. |
|
Prerequisites and Setup Notes
Before you begin, ensure that you have:
An active IDaaS EIAM instance
An M2M application registered in IDaaS
(For OpenAPI authentication) The required RAM permission policy configured in Alibaba Cloud
IDaaS Core SDK requires a configuration file to specify IDaaS settings. See the documentation for your language:
Language
Documentation
Java
Python
When using IDaaS OpenAPI authentication, complete the RAM permission policy configuration in Alibaba Cloud. For details, see Alibaba Cloud OpenAPI authentication.
In the Agent ID scenario, configure the agent as a client application:
In the configuration file, set
client_idto the agent's Agent ID and configure the agent's authentication method.If using IDaaS OpenAPI authentication, set the
ApplicationIdfield in theResourceof the permission policy to the agent's Agent ID.