Retrieve Agent Credential
If you have an agent that is already registered, you can manually retrieve its credential to repair the installation.
Prerequisites
- DataCloud or Avalanche Subscription
- Registered Agent 3.1.1 or later
- API Password enabled (or valid bearer token)
Step 1: Retrieve the Agent Credential
- Open the browser.
- Navigate to:
https://api.im.actiandatacloud.com/v2/api/agents/[agent id or hostname]/credential
where[agent id or hostname]
is your agent id or hostname. - You will be asked to authenticate with Username and API Password (see Prerequisites above).
RESPONSE:
# Integration Manager Connection Info
im.base-url=[base url]
im.client-id=[client id]
im.client-secret=[client secret]
im.device-code=[device code]
im.user-code=[user code]
Step 2: Update the Agent
- Copy and paste connection info into the
/IntegrationAgent/conf/application.properties
file. Make sure to delete/overwrite any existing im.* values that may be present. Duplicate entries will yield inconsistent results. - Start/restart Agent. It will now register itself.