All Products
Search
Document Center

Resource Access Management:Create an application secret

Last Updated:Jan 28, 2026

An OAuth 2.0 application requires a client secret to authenticate its identity when requesting an access token to call Alibaba Cloud APIs. This process applies only to OAuth 2.0 applications, as OAuth 2.1 applications use other authentication mechanisms. This topic describes how to create a client secret for your application.

Procedure

  1. Log on to the RAM console as a RAM administrator.

  2. In the left-side navigation pane, choose Integrations > OAuth (Preview).

  3. On the Enterprise Application tab, click the name of the target application.

  4. On the Application Secret tab, click Create Secret.

    image

  5. In the Create Secret dialog box, copy the new secret and save it in a secure location. After you have saved the secret, click Close.

    Note
    • The application secret is displayed only once and cannot be retrieved later. You must store it in a secure location immediately.

    • An application can have a maximum of two active secrets. This allows you to rotate secrets without causing downtime.