User authentication

Last Updated: Oct 28, 2017

Currently, MaxCompute supports the Alibaba Cloud account system and RAM account system.

Note: MaxCompute can only identify the RAM account system but cannot identify the RAM permission system. That is, users can add any of their RAM sub-accounts to a project of MaxCompute, but MaxCompute skips the RAM permission definitions when it verifies the permissions of the RAM sub-account.

By default, MaxCompute projects can only identify the Alibaba Cloud account system.

  1. list accountproviders;

Users can run the preceding command to view the account system that the project supports. Generally, only Alibaba Cloud accounts are displayed. To add the RAM account system, run the following command:

  1. add accountprovider ram;

After the RAM account system is added, you can run “list accountproviders;” to check whether it is successfully added to the supported account systems.

Apply for an Alibaba Cloud account

If you do not have an Alibaba Cloud account, visit here to apply for one. You need a valid email address when you apply for an Alibaba Cloud account. The email address is used as the account name after registration. For example, Alice can use her email address to register an Alibaba Cloud account. Her account name is after registration.

Apply for an AccessKey

Click here to create or manage your AccessKey list after you obtain an Alibaba Cloud account. An AccessKey consists of the AccessKeyID and AccessKeySecret. The AccessKeyID is used to retrieve the AccessKey, and the AccessKeySecret is used to sign the computing message. Therefore, you must protect your AccessKey from disclosure. When an AccessKey needs update, you can create a new AccessKey and disable the existing AccessKey.

Log on to MaxCompute with an Alibaba Cloud account

You must configure the AccessKey in the configuration file conf/odps_config.ini before you use odpscmd to log on. For example:

  1. project_name=myproject
  2. access_id=<Input the AccessKeyID here, excluding the angle brackets>
  3. access_key=<Input the AccessKey here, excluding the angle brackets>
  4. end_point=


  • Enabling or disabling an AccessKey on the Alibaba Cloud website takes effect 15 minutes after the operation.
Thank you! We've received your feedback.