Help Center> ModelArts> Tool Guide> Preparations> Using Access Keys for Login

Using Access Keys for Login

To connect ToolKit to the public cloud, you need to use the access keys of the current account for login authentication.

Prerequisites

  • ToolKit has been installed. If it is not installed, install it by referring to Downloading and Installing ToolKit.
  • The access keys of the current account have been created, and the corresponding AK and SK have been obtained. If they are not created, create them by referring to Creating Access Keys (AK and SK).
  • Before using ToolKit, go to the ModelArts management console to configure access authorization. You are advised to use agency authorization. If the global configuration is not complete on the ModelArts management console, you cannot access and connect to ModelArts after logging in to Toolkit.
  • The current account is not in arrears and has permissions to use OBS and ModelArts.

Logging In to ModelArts

  1. Open PyCharm with ToolKit installed. Choose ModelArts > Edit Credential from the menu bar.
    Figure 1 Edit Credential
  2. In the displayed dialog box, select the region where ModelArts is located, enter the AK and SK, and click OK.
    • Region: Select a region from the drop-down list. Currently, regions CN North-Beijing1, CN North-Beijing4, and CN East-Shanghai1 are supported. The region must be the one where the ModelArts management console is in.
    • Access Key ID: Enter the AK.
    • Secret Access Key: Enter the SK.
    Figure 2 Entering the region and access keys
  3. View the verification result.

    In the Event Log area, if information similar to the following is displayed, the access key has been successfully added:

    16:01	Validate Credential Success: The HUAWEI CLOUD credential is valid.