Password rotation or heartbeat verification for managed devices is possible but requires a Remote Password Changer for each device type, as different devices may have unique password update procedures. This aspect is not covered in detail on this page.
How it works
The managed device Secret has four main variables:
The Hostname/IP of the Device Manager (a Nodegrid).
The name of the managed device is on the Device Manager.
The Username to log in to the managed device.
The Password to log in to the managed device.
The managed device Secret is set in such way that it can get credentials from the device manager Secret.
When a request is made for the Remote Password Changer (RPC) to change the password of a managed device, the custom Password Changer for managed devices uses the device manager credentials to authenticate and get in the CLI.
Once in the CLI, it uses the following commands to setup the credentials:
set settings/devices/<DEVICE_NAME>/access/ credentials=set_now
set settings/devices/<DEVICE_NAME>/access/ username=<DEVICE_USERNAME>
set settings/devices/<DEVICE_NAME>/access/ password=<DEVICE_PASSWORD>
commit
You can now click on the Console button on Nodegrid Web UI to automatically log in.
You only need to set the credentials in Delinea, not Nodegrid. Once a remote password change request is made, the changes in Delinea will automatically update on Nodegrid.
Limitations
Using Remote Password Changer (RPC), it is possible to set up the Username and Password of a managed device. This setup, however, does not allow launching a Direct Access console from the Delinea Secret Server.
Requirements/Pre-requisites:
A device to be managed.
A Nodegrid device with the managed device connected to it.
The Nodegrid device must be setted up in such way that its initial application is CLI (default behavior). The device must also be setted up as a secret on Delinea Secret Server. This will allow the managed device secret to connect using its credentials.
Delinea Secret Server.
Configuration
Adding a custom Password Changer for Managed Devices
Create a custom password changer that uses the Hostname/IP, Username and Password of the Nodegrid device manager (host).
1. Access the path: Administration > Secrets > Configuration > General
and click on Remote Password Changing.
2. Click on Options and then Configure Password Changers.
3. Click on Create Password Changer.
4. Select as the Base Password Changer the field Unix Account Custom (SSH).
5. Set the Name to NodegridOS CLI for Managed Devices and click on Save.
8. Click Back.
Creating a Secret Template for Managed Devices
Follow these steps to create a secret template with the required variables to manage the target device. To do this, follow the next steps.
1. Access the path: Administration > Actions > Secret Templates.
Attention: This path is on the Secret Server panel. If you’re on Delinea panel, access the path: Administration > Secrets > Actions (Core Actions) > Secret Templates.
2. Click on Create Template.
3. Check Import XML box.
4. Paste the NodegridOS (Managed Device).xml
(available in the end of this document) and click Save.
5. Click on Mapping.
6. Under Password Changing, click on Edit.
7. Check Enable RPC box.
8. Select NodegridOS CLI for Managed Devices on Password Type to use the drop-down.
9. For Machine Name, select Device Manager Host/IP.
10. For Password, select Password.
11. For User Name, select Username.
In the end, you must have:
12. Click Save.
Adding a Secret
1. Access the path: Secrets > All Secrets.
Attention: This path is on the Secret Server panel. If you have followed the last steps, you’re already on it. If you are on the Delinea panel, access the path: Vault > All Secrets
.
2. Click Create Secret.
3. Select the NodegridOS (Managed Device) template.
4. On Secret Name, add a name you want to represent the device.
5. On Device Manager Host/IP, set the Hostname or IP of the Device Manager (the Nodegrid Device).
6. On ManagedDeviceName, set the exact name of the managed device on Nodegrid (case-sensitive).
7. On Username, set the user for the managed device.
8. On Password, set the current password for the managed device.
9. Click on Create Secret.
10. In the Remote Password Changing tab, click on Edit by the side of the Associated Secrets.