Config
Introduction
Config is used to configure an agent by connecting the user, access token, agent mode, and the policy applied to the protected folders or files. Through this config, only authorized users and applications can access the files, primarily to safeguard the security of encrypted files.
This configuration is performed after a Policy has been created, because every agent needs to apply a policy that is already available. Therefore, make sure the required policy has already been created in the Policy submenu before performing this configuration.
Below is a guide for managing config in the system. This guide covers the process of creating new data, viewing the data list, searching, editing, and deleting data.
1. Create New Config
Follow the steps below to create a new config in the system:
1. Enter the Config menu
- Open the Agent menu in the navigation panel.
- Select the Config submenu from the options that appear.
- Click the Create New button located on the right side of the screen to begin the process of creating a new config.
The Create Agent page opens as a three-step wizard: General Info, Add Mount Point Protection, and Confirmation.
2. General Info
At this stage, enter the general information for the Config as follows:
- Agent Name: Enter the agent name.
- Account: Select the account to be assigned to this configuration.
- Access Token: Select the access token (application API key) to be used in this configuration.
- Agent Mode: Select the type of storage the agent will use. Two options are available:
- Directory: Protects files and folders on the mounted path.
- Object Storage: Protects objects in an S3-compatible bucket.
- Description: Provide a brief description of the agent being created (optional).
Click Next to continue to the Add Mount Point Protection step.
3. Add Mount Point Protection
After clicking Next, you will be directed to the Add Mount Point Protection form.
a. Policy List
- The system will display the list of available policies.
- Select a policy by clicking the circle next to the policy name.
If no suitable policy is available, click the Create Policy button to create a new policy.
b. Path
Enter the path of the folder to be protected. The path is the directory location that will be secured using the selected policy.
c. Add Mount Point
After selecting a policy and entering the path, click the + Add to Table Mount Point button.
The selected policy and path will be added to the Mount Points table at the bottom.
- Click the Next button to proceed to the Confirmation stage.
- Click the Back button to return to the previous stage (General Info).
4. Confirmation
- After configuring the General Info and Mount Point Protection, the system will display the Confirmation page.
- At this stage, all the entered data will be displayed for review.
5. Save the Configuration
- If all the data is correct, click the Save button to save the config.
- If you want to make changes, click the Back button to return to the previous stage.
After clicking Save, a pop-up will appear indicating that the config has been successfully created.
2. List Config
Once the data has been successfully created, users can view the list of Agent Config data that has been saved in the system.
Below is an explanation of each table column displayed on the Config page:
- Agent Name: The name of the agent that has been created.
- Account: The account assigned to the agent.
- Access Token: The access token used by the agent for authentication.
- Status: Displays whether the agent is active or inactive.
- Last Seen: Displays the last time the agent was seen.
- Last Sync: The last time the agent performed a synchronization.
- Last Update: The last time the agent was updated.
- Action: Contains a button with a three-dot icon, allowing users to manage the config, such as editing or deleting it.
At the bottom of the table, users can set the number of rows displayed via Rows per page, and navigate between pages using the available pagination.
3. Search Config
The search feature makes it easier for users to find a specific Config without having to browse through the entire list manually.
Below are the steps for using the search feature:
- Open the Agent menu in the navigation panel.
- Select the Config submenu from the options that appear.
- Locate the Search field at the top right of the table.
- Enter a keyword in the Search field. The keyword can be an agent name.
- The system will automatically display the list of Configs that match the entered keyword.
- To display all data again, manually clear the keyword from the Search field.
4. Edit Config
On the Config page, users can update agent information as needed. The Edit feature allows changes to data such as general info and mount point protection.
Below are the steps for using the Edit feature on Config:
1. Open the Config Menu
Open the Agent menu in the navigation panel, then select the Config submenu to display the list of available agent configs.
2. Open the Action Menu
- In the Action column of the config row you want to edit, click the three-dot icon.
- Click Manage from the options that appear, or click the agent name to open the agent detail page.
3. Agent Detail Page
On this page, users can view complete information about the agent, including:
a. General Information
Basic information about the agent, covering data, security, and access settings:
- Agent ID: A unique ID to identify the agent (accompanied by a copy button).
- Agent Name: The agent name.
- Account: The account assigned to the agent.
- Access Token: The access token used for agent authentication.
- Description: Additional notes or details about the agent.
b. Runtime
Information reported by the agent on each heartbeat:
- Last Heartbeat: The last time the agent sent a heartbeat.
- Hostname: The name of the host on which the agent runs.
- Agent Version: The version of the agent in use.
- Config Version: The version of the configuration currently applied.
This section also displays the following metadata:
- Created: The date, time, and user who created the agent.
- Updated: The date, time, and the last user who updated the agent.
- Last Config Sync: The last time the configuration was synchronized.
c. Mount Point Protection
Displays the folders protected by the agent along with the condition (health) reported on the last heartbeat:
- Policy: The name of the policy applied to each mount point.
- Protected Path: The folder or directory location protected by the selected policy.
- Health: The health status of the mount point.
- Checks: The results of the mount point checks.
4. Edit Agent Data
- Click the Edit Agent button at the top right to update the agent information.
- The same form as when creating the agent will appear. Update the data as needed to change the agent information.
5. Save Changes
- After making changes, click the Update button to save the updated data.
- The system will display a notification that the data has been successfully updated.
5. Delete Config
On the Config page, users can delete configs that are no longer needed.
Below are the steps for deleting a Config:
1. Open the Config Menu
Open the Agent menu in the navigation panel, then select the Config submenu to display the list of available agent configs.
2. Open the Action Menu
- Find the config you want to delete in the Config table.
- In the Action column of the config row you want to delete, click the three-dot icon.
- Click Remove from the options that appear.
3. Confirm the Deletion
- After clicking the remove button, the system will display a confirmation window to delete the config.
- Click the Yes, Delete button to confirm the deletion.
Be sure to double-check before deleting a config, as this action cannot be undone.
By following the steps above, users can easily manage config as needed on the TAKAKRYPT platform.