CloudBridge Agent Configuration
CloudBridge agents establish a network security tunnel between the internal services of your enterprise and OneAccess. This prevents your internal services from being exposed to the public network and protecting network entities from interception and repeated attacks.
Currently, CloudBridge agents can be used only with the AD authentication provider. This section describes how to connect an AD authentication provider to OneAccess through a CloudBridge agent.
Prerequisites
Ensure that you have the capabilities required to deploy CloudBridge agents.
Procedure
- Deploy the AD service, and create a domain account to establish an enterprise management system. For details, see Setting Up an AD Server and Creating a Domain Account.
- Add a CloudBridge agent.
- Log in to the administrator portal.
- In the top navigation pane, choose Settings > CloudBridge Agents.

- On the CloudBridge Agents page, click Add CloudBridge Agent. Then set the agent name and type, and click OK.

- The system automatically generates a client ID and secret for the CloudBridge agent you created. Keep the client ID and secret properly.
- If you have forgotten the client secret, click Reset Secret next to the target agent to generate a new one. The original secret will become invalid after the resetting. Exercise caution when performing this operation.
- To view the connection logs, click Logs.
- To delete the CloudBridge agent, click Delete.
- Deploy the CloudBridge agent. If the deployment is successful, the agent status is displayed as Online on the CloudBridge Agents page.
The following procedure uses CentOS Linux release 8.0.1905 as an example to describe how to deploy the CloudBridge agent.
- Download the deployment package.

- Upload the deployment package to the target server.
- Run unzip -od {Directory for storing decompressed files} cloudAgent.zip to decompress the deployment package. Specify a unique directory to ensure successful deployment. For details about the deployment package, see Table 1.
Table 1 Directory structure Name
Description
agent.sh
Automatically runs the CloudBridge agent upon startup.
cloudAgent.jar
Deployment package of the CloudBridge agent.
cloudBridge.sh
Used to manually run the CloudBridge agent.
config
Directory for storing the configuration file (application.yml) of the CloudBridge agent.
log
Directory for storing the log file (agent.log) of the CloudBridge agent.
- Go to the directory where the decompressed files are stored, and configure the application.yml file in the config directory. Add a space in front of each attribute value.

Table 2 Configuration parameters Parameter
Description
* serverAddress
wss://{Domain name of the tenant who needs to use the CloudBridge agent}/api/v1/ws
* agentId
Automatically generated by the system after the CloudBridge agent is added. For details, see 2.
* agentSecret
Automatically generated by the system after the CloudBridge agent is added. For details, see 2.
* urls
Address of the AD server. To obtain this parameter, see Adding an AD Authentication Provider in OneAccess.
* rootDn
AD node used to authenticate users. To obtain this parameter, see Adding an AD Authentication Provider in OneAccess.
domain
If the tenant domain name contains the AD domain name, set this parameter to the AD domain name. Otherwise, do not set this parameter.
* searchFilter
Query condition. To obtain this parameter, see Adding an AD Authentication Provider in OneAccess.
- Once configured, run ./cloudBridge.sh start for the cloudBridge.sh. The message "Starting Agent Success." indicates that the agent is started successfully.
- Ensure that you have permissions for the deployment package.
- The message "Starting Agent Fail." indicates that the startup fails. Check the configuration file.
- To enable automatic running upon startup, run ./agent.sh install for the agent.sh file. The message "The Agent service installed successfully, need to reboot will take effect." indicates that the installation is successful.
- To uninstall the agent, run ./agent.sh uninstall. The message "uninstall Agent Success." indicates that the agent is uninstalled successfully.
- Obtain logs from the log/agent.log file.
- Download the deployment package.
- Add an AD authentication provider.
- Log in to the administrator portal.
- In the top navigation pane, choose Authentication > Authentication Providers. Then click AD.
- On the AD Authentication Providers page, click Add Authentication Provider in the upper right and set the required parameters.
Table 3 Configuration parameters Parameter
Description
* Display Name
Display name of the authentication provider, for example, AD.
* Connection Mode
Select Connect by CloudBridge agent.
* CloudBridge Agent
Select the CloudBridge agent added in 2. You can select a maximum of five CloudBridge agents.
* Source Attribute
AD user attribute, for example, sAMAccountName.
* Related User Attribute
The only text type attribute, such as userName, to map the AD user attribute.
* No User Associated
Operation that will be performed if a user logs in successfully but fails to be associated with a system user.
* Update Existing Attribute
Determine whether to update the existing user attribute value when a user logs in successfully through AD and is associated with a system user.
To map other attributes, such as name, set No User Associated to Automatically create users, and add the desired mappings. For details, see Table 4.
- Enter a test account and password and click Test to check the connectivity.
If you have selected multiple CloudBridge agents (see Figure 1), the system checks the connectivity of each agent after you click Test. If the check fails, view the cause.

- Enable AD authentication for an application. For details, see Enabling AD Authentication in OneAccess.
- Verify login using an AD account. For details, see Verifying Login Through AD Authentication.
Last Article: Service Configuration
Next Article: Common User Guide

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.