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.
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:
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.
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 firstname.lastname@example.org to register an Alibaba Cloud account. Her account name is email@example.com after registration.
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.
You must configure the AccessKey in the configuration file conf/odps_config.ini before you use odpscmd to log on. For example:
access_id=<Input the AccessKeyID here, excluding the angle brackets>
access_key=<Input the AccessKey here, excluding the angle brackets>
- Enabling or disabling an AccessKey on the Alibaba Cloud website takes effect 15 minutes after the operation.