All Products
Search
Document Center

API Gateway:API security issues

Last Updated:Dec 04, 2026

Answers to common questions about securing APIs in API Gateway.

API security issues

API security

How do I ensure AppKey security for mobile terminals?

An AppKey is your identity when you call an API. It is highly sensitive and must be kept secure. If you lose it, change it in the Alibaba Cloud Management Console as soon as possible.

How do I ensure security for a call from API Gateway to the backend server?

You can configure a security key in API Gateway, or use HTTPS to encrypt requests.

  • Backend signature: Set a security key on the API. API Gateway signs outbound requests using a specified method, and your backend verifies the signature to confirm the request originates from the gateway.

  • HTTPS: Encrypt the connection between the gateway and your backend.

    • Before you use HTTPS, make sure that you have the corresponding SSL certificate.

Do I need to republish an API after I change the backend key for it?

No. Create the new key and bind it to the API in the console. The change takes effect without republishing.

How do I replace a backend key without interrupting services?

This procedure requires at least two backend servers. To rotate the key with zero downtime:

  1. Update your backend service to accept both the old and new keys simultaneously.

  2. Update the backend key in your gateway instance.

  3. Remove support for the old key from your backend service.

How do I open an API to a specific user?

Configure access permissions for the API in the API Gateway console to control which users or applications can call it.