Authentication
Authentication is required to use service SDKs. Currently, authentication using AK/SK and the username and password is supported.
AK/SK-based Authentication
You are advised to use AK/SK-based authentication, which requires you to obtain the AK and SK as follows.
- Register with and log in to the HUAWEI CLOUD management console.
- Hover the cursor on the username and select My Credentials from the drop-down list box.
- Click the Access Keys tab and then click Create Access Key.
- Enter the login password of the current user and the verification code received through email or SMS.
- Click OK to download the AK/SK. Keep the AK/SK properly.
Username and Password-based Authentication
You can use the HUAWEI CLOUD username and password to access APIs. Enter the username, password, and account in the constructor for creating the corresponding tool class to call the method, and access NLP.
Last Article: SDK Introduction
Next Article: Obtaining SDKs
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.