Use the multi-cloud configuration management feature of Security Center to connect Baidu AI Cloud assets to Alibaba Cloud for unified Cloud Security Posture Management (CSPM). This provides a consolidated security view and risk detection across cloud environments.
Step 1: Create an access key in Baidu AI Cloud
Create an IAM sub-user in Baidu AI Cloud with the minimum permissions required for Security Center integration, and obtain its access key (SecretID and SecretKey).
For more information, see the official Baidu Cloud documents User Management and IAM user operations.
Log on to the Baidu AI Cloud Sub-User Management console and click Create IAM User.
Configure the user information:
Username: Enter a descriptive name, such as
aliyun-security-center-user.Access Mode: Select Programmatic Access.
Quick Authorization: We recommend that you do not select this option to avoid granting excessive permissions.
Set user permissions:
In the user list, click Add Permission in the Operation column for the target user.
Select the required permission policies based on the features you plan to use in Security Center.
Feature
Policy option
Description
CSPM
Option 1 (Recommended):
IAMReadAccessPolicy+GlobalReadPolicyOption 2:
IAMReadAccessPolicy+BCCReadAccessPolicy+ Baidu AI Cloud product permission policies
GlobalReadPolicygrants read-only access to all Baidu AI Cloud products. Use this for quick setup.Use this for fine-grained authorization. Add only the policies for the products you need.
Create and save the access key:
In the user list, click the target user name to go to the user details page.
On the user details page, in the AccessKey section, click Create AccessKey.
After passing security verification, click Download AccessKey in the dialog box to save the AccessKeyID and AccessKeySecret.
WarningAfter you close the dialog box, the AK can no longer be downloaded. Download and securely store your AK immediately.
Step 2: Configure security center onboarding
After you have created the access key in Baidu AI Cloud, go to the Security Center console to complete the onboarding configuration.
Navigate to the authorization page.
You can initiate the Baidu AI Cloud asset onboarding process through either of the following paths:
Recommended path:
Access the Security Center console - System Settings - Feature Settings. In the upper-left corner of the page, select the region where the assets to be protected are located: Chinese Mainland or Outside Chinese Mainland.
On the tab, click Grant Permission, and then select Baidu Cloud.
Alternative path:
On the page, click Add below the
icon in the Multi-cloud Service Integration section.
Configure the onboarding credentials:
In the Add Assets Outside Cloud panel, select the features to onboard in the Select the modules to authorize section, and then click Next.
NoteCurrently, only CSPM is supported.
On the Submit AccessKey Pair page, enter the SecretID and SecretKey that you saved in Step 1.
Click Next. Security Center automatically validates the credentials and permissions.
NoteIf validation fails, see Why can't I see some onboard Baidu AI Cloud resources in Security Center?.
Configure the sync policies:
Select region: Select the region where your Baidu AI Cloud assets are located.
NoteThe synced asset data will be attributed to the data center corresponding to the region selected in the upper-left corner of the Security Center console.
Chinese Mainland: Mainland China data center.
Outside Chinese Mainland: Singapore data center.
Region Management: Recommended. Select this option so that new Baidu AI Cloud products in future regions under this account are automatically synced without manual configuration.
Cloud Service Synchronization Frequency: Set the frequency for automatically syncing Baidu AI Cloud products. Set to Disabled if you do not need automatic syncing.
AK Service Status Check: Set the interval at which Security Center checks the validity of the Baidu AI Cloud account API key. Set to Disabled to skip this check.
Click Synchronize Assets. Security Center automatically syncs the Baidu AI Cloud products under your account.
Step 3: View onboarded assets
On the page of the Security Center console, in the left-side navigation of All Alibaba Cloud Services, click Baidu Cloud to view the onboarded Baidu AI Cloud assets. For more information, see View cloud service information.
There may be a delay in asset syncing after initial onboarding or configuration changes. Wait for the sync to complete before verifying results.
Appendix: Baidu AI Cloud product permission policies
Security Center continues to update the supported Baidu AI Cloud products. For the latest information, see the console.
Policy name | Description |
| Grants read-only access to ApsaraDB for Redis instances, including instance configuration, node status, and slow log queries. |
| Grants read-only access to Kafka instances, including cluster configuration, topic metadata, and consumer group status. |
| Grants read-only access to ApsaraDB for MongoDB instances, including instance details, replica set status, and monitoring metrics. |
| Grants read-only access to ApsaraDB RDS instances, including instance configuration, database lists, and backup status. |
| Grants read-only access to VPC resources, including virtual private cloud configurations, route tables, and vSwitch details. |
| Grants read permissions for Baidu Object Storage (BOS) storage buckets and their objects. |
| Grants read-only access to Baidu Load Balancer (BLB) instances, including listener configurations and backend server status. |
FAQ
Why can't I see some onboard Baidu AI Cloud resources in Security Center?
Region not selected: In the onboarding configuration of Security Center, check whether the Baidu AI Cloud region where the resource is located is selected.
Sync delay: After initial onboarding or configuration changes, asset syncing may experience a delay. Wait for the sync to complete.
What should I do if automatic credential and permission validation fails after entering the AccessKey?
This is usually caused by insufficient sub-user permissions. Refer to Set user permissions: and go to the Baidu AI Cloud console to modify or add the required permission policies.