For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

seamlessfirework's avatar
seamlessfirework
Icon for Cirrostratus rankCirrostratus
Nov 23, 2023
Solved

Creating device trust / trust-domain through iControl REST Call(s)

Hey there Currently I try to implement basic configuration through iControl REST calls. A personal deadend is building a device trust. The API tells me how to do that: https://clouddocs.f5.com/api/...
  • Michael_Saleem's avatar
    Nov 28, 2023

    Hi,

    I don't use Postman (I use cURL instead).

    You just need to send a REST API call to BIG-IP 1 to add the peer unit (BIGIP-2) to the existing root trust domain:

    curl -sk -u <ADMIN USERNAME>:<ADMIN PASSWORD> -H "Content-Type: application/json" -X PATCH -d \
    '{"addDevice":{"deviceIp":"<BIGIP-2 MGMT IP ADDRESS>","deviceName":"<BIGIP-2 HOSTNAME>","username":"<ADMIN USERNAME>","password":"<ADMIN PASSWORD>"}}' \
    https://<BIGIP-1 MGMT IP>/mgmt/tm/cm/trust-domain/Root