All Products
Search
Document Center

Identity as a Service:Identity as a Service:Manage credentials

Last Updated:Mar 31, 2026

IDaaS centralizes credentials that are otherwise scattered across code, configurations, or passed manually between teams. It encrypts them at rest, enforces least-privilege access, and lets applications retrieve credentials at runtime through an API or SDK — eliminating plaintext storage on disk and hard-coded secrets.

Credential types

In IDaaS, a credential is data or a key used to prove the identity of an entity — a user, device, or application service. IDaaS manages two categories:

Long-term credentialShort-term credential
ExamplesAPI key, AK/SKJSON Web Token (JWT), OAuth token
ValidityLong-term; requires manual rotationShort-term; expires automatically
ManagementManage the key itself (create, view, revoke)Manage issuance rules (algorithm, validity period, issuer)
How clients get itManually obtained from the issuer and saved to the clientThe client fetches it automatically from the credential provider using JWT or OAuth
Security modelRelies on confidentiality; higher risk if leakedRelies on signatures and time limits; leak risk is bounded

IDaaS maps these two categories to two configuration areas:

Choose a credential type

Warning

Short-term credentials (credential providers) offer stronger security. Short-lived tokens limit the blast radius of a leak, support fine-grained scope control, and expire automatically. Use long-term credentials only when the external service does not support short-lived tokens.

Use short-term credentials (credential providers) when:

  • Your application can request a new token at runtime.

  • You need fine-grained scope control.

  • Security posture is a priority.

Use long-term credentials when:

  • The external service issues a fixed API key that cannot be replaced with a short-lived token.

  • You are managing credentials for a Large Language Model (LLM) or an external service in an agent workflow.

Access the credential management interface

  1. Log on to the Application Identity Management console.Application Identity Management Console

  2. Click EIAM.

  3. Locate the target EIAM instance and click Console in the Actions column.

  4. In the navigation bar, click Asset Management > Credential.

Manage credential providers

Credential providers control how IDaaS issues short-term credentials to applications. IDaaS supports OAuth and JWT providers.

Create a credential provider

  1. Access the credential management interface.

  2. Select the Credential Provider tab.

  3. Hover over Create Credential Provider and select OAuth or JWT.

  4. Fill in the configuration fields for your chosen type.

OAuth configuration

FieldDescription
Credential Provider NameDisplay name in the console. Not used during authentication.
DescriptionOptional description. Not used during authentication.
Credential Provider IdentifierUnique identifier for this provider.
Client IDThe client identifier assigned by your OAuth provider. IDaaS sends this when requesting tokens.
Client SecretThe client key paired with the Client ID. Generated by your OAuth provider.
Token EndpointThe endpoint IDaaS calls to exchange an authorization code for a token.
ScopeDefault permissions granted to clients. Press Enter after each scope to add it. You can add multiple scopes. If a client request includes a scope, that scope takes precedence; otherwise, this default applies.

JWT configuration

FieldDescription
Credential Provider NameDisplay name in the console. Not used during authentication.
DescriptionOptional description. Not used during authentication.
Credential Provider IdentifierUnique identifier for this provider.
Generate Short TokenWhen enabled, IDaaS generates a short token alongside the standard JWT when this provider is called.
Jwt Token ExpirationToken validity period. Set in minutes, hours, or days.
Issuer WhitelistRestricts which issuers can make JWT requests to this provider. Requests from issuers not on the list are denied.

View a credential provider

  1. Access the credential management interface.

  2. Select the Credential Provider tab.

  3. Click Details in the Actions column for the target provider.

Edit a credential provider

  1. Access the credential management interface.

  2. Select the Credential Provider tab.

  3. Click Edit in the Actions column for the target provider.

Delete a credential provider

A credential provider must be disabled before deletion.

  1. Access the credential management interface.

  2. Select the Credential Provider tab.

  3. In the Status column, disable the target provider.

  4. Click Delete in the Actions column.

Manage credentials

Credentials store third-party API keys and similar long-term secrets in IDaaS. All credentials are encrypted using Alibaba Cloud KMS Secrets Manager by default.

Create a credential

  1. Access the credential management interface.

  2. Click the Credential tab.

  3. Hover over Create Credential and select API Key.

  4. Fill in the following fields:

FieldDescription
Credential NameDisplay name in the console.
DescriptionOptional description.
Business TypeSelect Large Language Model (LLM) or External Service. These map to the corresponding node types in the Agent identity security configuration guide.
API key IDUnique identifier for this hosted API key.
API KeyThe API key value to store.
Secure StorageFixed to Default Encrypted Credential. The key is saved in Alibaba Cloud KMS Secrets Manager. This cannot be changed.

View a credential

  1. Access the credential management interface.

  2. Click the Credential tab.

  3. Click Details in the Actions column for the target credential.

Edit a credential

  1. Access the credential management interface.

  2. Click the Credential tab.

  3. Click Edit in the Actions column for the target credential.

Important

The original API Key value is not shown during editing. Leave the field blank to keep the existing key, or enter a new value to replace it.

Delete a credential

A credential must be disabled before deletion.

  1. Access the credential management interface.

  2. Click the Credential tab.

  3. In the Status column, disable the target credential.

  4. Click Delete in the Actions column.

FAQ

Why do I see "You cannot host credentials in KMS Secrets Manager because the required IDaaS EIAM service-linked role is missing"?

Click Create in the prompt to create the required service-linked role. Once the role is in place, you can create credentials normally. Skipping this step causes an error when you try to create a credential.