Managing a Resource Account
You can edit basic information of resource accounts, verify resource accounts, add resource accounts to resource account groups, and associate resource accounts with users. You can also delete and export resource accounts.
Constraints
- Accounts for application resources cannot be verified online.
- The administrator of a superior department can add an account in the superior department to an account group in a lower-level department.
- If you have permissions for the Account Group module, you can remove an account of superior department out of the account group. However, as a user in a low-level department, you have no permissions to add those removed accounts back to your current account group.
- A resource account can be added to multiple account groups.
Prerequisites
You have the operation permissions for the Host, AppServer, Application, and Account modules.
Searching for and Viewing Resource Account Information
- Log in to your bastion host system.
- Choose Resource > Account in the navigation pane.
- View the resource account list.
Table 1 Parameters in the resource account list Parameter
Description
Account
Name of a resource account.
Status
Status of a resource account.
- Normal: The resource account has been checked by clicking Test and verify, the account and password are correct, and the login is successful.
- Abnormal: The resource account has been checked by clicking Test and verify, but the account or password is incorrect, and the login fails.
- Unknown: The resource account has not been checked by clicking Test and verify after being added.
Resource
Resource associated with the resource account. You can click the resource name to view the resource details.
Host/App Address
IP address of the host or application resource associated with the current resource account.
Port
Port number of the resource associated with the current resource account.
Protocol
Protocol type of the current resource account.
Login Type
Login mode of the current resource account.
Department
Department that the current resource account belongs to.
Operation
Operation that can be performed on the current resource account.
- Search for a target resource account.
- Quick search: Enter a keyword in the search box and select a filter criterion, such as the resource account, associated resource, and host address, to quickly search for users. You can select only one filter criterion for search at a time.
- Advanced search: Click Advanced next to the text box and enter keywords in the corresponding attribute search boxes to search for users. You can select multiple filter criteria for search at a time.
- View the details of a resource account.
- Click the name of the target resource account or click Manage in the Operation column of the account. The resource account details page is displayed.
- In the Basic Info area, you can view the basic information about the resource account, such as the status, creator, and last verification time.
- In the Joined Groups area, you can view information about the account groups to which the resource account has been added.
- In the Joined Equal Secret Account Group area, you can view information about the equivalent-secret account groups that the resource account has been added to.
- In the Authorized Account area, you can view information about the users to whom the resource account has been authorized.
After a user is associated with a resource account, the user can view the corresponding resources after logging in to the system.
Modifying Basic Information About a Resource Account
- Log in to your bastion host system.
- Choose Resource > Account in the navigation pane.
- Click the name of the target resource account or click Manage in the Operation column of the account. The resource account details page is displayed.
- In the right pane of the Basic Information area, click Edit to modify the basic information about the resource account.
For details, see Table 1.
Adding a Resource Account to or Removing a Resource Account from an Account Group
You can add resource accounts to different groups. Then you can manage resource accounts by group. For details about how to add multiple resource accounts to an account group or remove them from an account group in batches, see Adding a Member to or Removing a Member from an Account Group.
Method 1: Perform Operations on the Resource Account List Page
- Log in to your bastion host system.
- Choose Resource > Account in the navigation pane.
- In the Operation column of the target resource account, click Add to Group.
- In the displayed dialog box, add or remove the resource account to or from a group.
- Click OK.
Return to the resource account list page. Click the name of the target resource account to go to the resource account details page. In the Joined Group area, you can view the account groups where the account has been added.
Method 2: Perform Operations on the Resource Account Details Page
- Log in to your bastion host system.
- Choose Resource > Account in the navigation pane.
- Click the name of the target resource account or click Manage in the Operation column of the account. The resource account details page is displayed.
- Add a resource account to or remove a resource account from an account group.
- Add a resource account to an account group: In the Joined Group area, click Edit on the right. In the displayed dialog box, select an account group to which the resource account can be added.
- Remove a resource account from an account group: In the account group list below the Joined Group area, click Remove to remove the resource account from the account group.
Verifying Managed Resource Accounts
The status of a managed resource account is used to identify whether the password of the account is valid. The password cannot be manually changed and can only be updated through account verification.
The managed resource accounts can be manually verified when they are added or automatically verified based on preset schedule.
Account verification is to verify connectivity by logging in to resources in the background. This process will not be recorded in historical sessions.
Notes and Constraints
Accounts for application resources cannot be verified online.
Automatic Verification
The system automatically verifies managed host accounts at 01:00 on the fifth, fifteenth, and twenty-fifth days of each month. After the verification is complete, the admin system administrator will receive a verification result message. No task will be generated. The message is displayed on the Messages page.
Real-Time Verification
You can verify managed resource accounts by account group in just a few clicks.
- Log in to your bastion host system.
- Choose Resource > Account in the navigation pane.
- Select one or more accounts and click Test and verify at the bottom of the list. The verification configuration dialog box is displayed.
- Configure Connect Timeout and Done notification.
- The default Connect Timeout interval is 10 seconds. If the network condition is poor, increase the Connection Timeout interval.
- By default, no task completion notifications will be sent.
- To receive notifications, select Email. Additionally, you can view the verification results on the Tasks page.
- Click OK. Refresh the Account page and view the verification results in the Status column.
Table 2 Resource account status description Status
Description
Normal
If the system verifies that the username and password of the resource account are correct and can be used to log in to the managed resource, the account is in the Normal status.
Abnormal
If the account username or password is incorrect, the resource account cannot be used to log in to the system. The account is in the Abnormal status.
N/A
If a resource account is not verified after it is added, the account is in the N/A status.
Exporting Resource Accounts
You can export resource information in batches from your bastion host so that you can have a local backup and edit basic resource information easily.
- To enhance information security of resources, you can encrypt resource information you export.
- The exported host resource file contains basic information, accounts, and plaintext passwords of managed hosts.
- The exported application server file contains basic information, path, account, and plaintext passwords of application servers.
- The exported application file contains basic information and account information, including plaintext passwords, of managed application resources.
- The exported account file contains basic account information, plaintext passwords, related resources, and related resource addresses.
- Log in to your bastion host system.
- Choose Resource > Account in the navigation pane.
- (Optional) Select the target resource account. If you do not select any resource account, all resource accounts are exported by default.
- Click
in the upper right corner. The configuration window is displayed. Table 3 Exporting resource accounts Parameter
Description
Set encryption password
Set an encryption password for the file to be exported. The file exported to the local PC can be opened only after the encryption password is entered.
Password rules: The password must contain 8 to 32 characters. Only uppercase letters, lowercase letters, digits, and special characters (!@$%^-_=+[{}]:,./?~#*) are allowed. At least three of the four character types described above are used.
User Password
Enter the login password of the current user to ensure the security of the exported data.
If you use an IAM, SAML, or Azure AD account to log in to a bastion host, a local password is required. If it is not configured, configure one in the Profile center or contact the administrator. For details, see Changing Your Password/Setting a Local Password.
Export Format
Select the format of the file to be exported. You can select csv or Excel.
- Click OK.
- Click Go to Download Center to go to the download task list.
- When the Packing Progress of the download task reaches 100%, click Download in the Operation column to download the file to a local PC.
Open the local file and enter the encryption password. After the verification is successful, you can view the exported resource account information.
Deleting One or More Resource Accounts
- If a resource has only one account configured in your bastion host, the resource cannot be accessed through the bastion host once the account is deleted. Exercise caution when performing this operation.
- Before deleting a target resource account, make sure no tasks are in progress or operated on the corresponding resources. The deletion takes effect immediately, and the ongoing operations or sessions will be interrupted immediately. Exercise caution when performing this operation.
- Log in to your bastion host system.
- Choose Resource > Account in the navigation pane.
- Delete a resource account as required.
- Deleting a single resource account
- In the Operation column of the target resource account, click Delete.
- In the displayed dialog box, click OK.
- Deleting resource accounts in batches
- In the resource account list, select multiple resource accounts.
- Click Delete in the lower left corner of the list.
- In the displayed dialog box, click OK.
- Deleting a single resource account