Authentication Mode Selection
API Providers
The following authentication methods are available for calling APIs:
- App authentication (recommended)
API callers will be authenticated using the AppKey and AppSecret issued by API Gateway.
- App authentication is oriented to the tenants of API Gateway.
- IAM authentication
Token and AK/SK authentication is supported.
- Token authentication: Requests are authenticated using a token. This authentication mode is recommended because it requires no SDK signatures.
- AK/SK authentication: Requests are signed using an AK and SK in the same way as in App authentication mode.
IAM authentication is oriented to the tenants of API Gateway.
- Custom authentication
You can compile a function in FunctionGraph and use it for authentication. For details about API calling, see Creating a Function for Frontend Custom Authentication.
- None
APIs with None authentication require no authentication of users accessing these APIs.
- It is intended for all public network users.
API Callers
- If you obtain an API from an offline channel, contact the API provider to confirm the authentication mode, and then call the API according to the instructions in this document.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot