How Can I Create an Agency?¶
Scenarios¶
Create an agency so that the Agent can automatically obtain the AK and SK. This frees you from exposing the AK or SK in the configuration file.
Procedure¶
Log in to the management console.
Click in the upper left to select a region and project.
Click Service List in the upper left corner, and select Identity and Access Management.
In the navigation pane on the left, choose Agencies. In the upper right corner, click Create Agency.
Configure the parameters by referring to Table 1.
¶ Parameter
Description
Agency Name
Specifies the name of the agency.
Example: CESAgentAutoConfigAgency
Agency Type
Select Cloud service.
Cloud Service
Select Elastic Cloud Server (ECS) from the drop-down list.
Validity Period
Select Unlimited.
Description
(Optional) Provides supplementary information about the agency.
In the Permissions area, click Modify in the row where the current region is located.
In the Available Policies area on the left, enter CES. In the search result, select CES and CES Administrator.
Click OK.
Agency Configuration¶
If no agency is configured for a server, perform the following operations to configure an agency:
Log in to the management console.
Choose Service List > Computing > Elastic Cloud Server.
Click the name of the target ECS on which the Agent is installed.
For Agency, select the agency created in 5 and click the green tick to make the agency take effect.