Security operations

Updated at:

MaxCompute provides a data protection mechanism to ensure the data security of your projects. This topic describes common commands for security operations.

The following table lists common commands for security operations. For more information, see Security parameter list.

Type

Feature

Role

Tool

Enable data protection for a project

Enables the data protection mechanism for a project.

Project owner or a user with the Super_Administrator role

Run this command on the MaxCompute client.

Add a trusted project

Adds a trusted project to the current project.

Run these commands on the following platforms:

Remove a trusted project

Removes a trusted project from the current project.

View trusted projects

Views trusted projects in the current project.

Project owner or a user with the Super_Administrator or Admin role

View the secure configuration of a project

Views the secure configuration properties of the current project.

Enable data protection for a project

You can enable the data protection mechanism for a project. This mechanism improves data security by ensuring that data can be accessed and can flow only within the project. The command format is as follows:

set ProjectProtection={True|False};

Add a trusted project

You can add a trusted project to the current project. This operation establishes mutual trust between projects to allow data to flow between them.

  • Command format

    add trustedproject <project_name>;
  • Parameter description

    project_name: Required. The name of the trusted project to add.

Remove a trusted project

You can remove a trusted project from the current project.

  • Command format

    remove trustedproject <project_name>;
  • Parameter description

    project_name: Required. The name of the trusted project to remove.

View trusted projects

You can view the trusted projects in the current project. The command format is as follows:

list trustedprojects;

View the secure configuration of a project

You can view the secure configuration properties of the current project. The command format is as follows:

show SecurityConfiguration;