Updated on 2025-05-29 GMT+08:00

Application Authentication

Description

After you enable application authentication, ModelArts registers an API that supports application authentication for the service. After this API is authorized to an application, you can call this API using the AppKey/AppSecret or AppCode of the application.

  • AppKey/AppSecret-based authentication: The AppKey and AppSecret are used to encrypt a request, identify the sender, and prevent the request from being modified. When using AppKey/AppSecret-based authentication, use a dedicated signing SDK to sign requests.
    • AppKey: access key ID of the application, which is a unique identifier used together with a secret access key to sign requests cryptographically.
    • AppSecret: application secret access key, used together with the Access Key ID to encrypt the request, identify the sender, and prevent the request from being tempered.

    AppKeys can be used for simple authentication. When an API is called, the apikey parameter (value: AppKey) is added to the HTTP request header to accelerate authentication.

  • AppCode-based authentication: Requests are authenticated using AppCodes.

    In AppCode-based authentication, the X-Apig-AppCode parameter (value: AppCode) is added to the HTTP request header for an API call. The request content does not need to be signed. The API gateway only verifies the AppCode, achieving quick response.

FAQs

Learn More

Access Authenticated Using an Application: Manage created applications, including viewing, resetting, or deleting applications, binding or unbinding corresponding real-time services, and obtaining AppKey/AppSecret or AppCode.