Forum Discussion
seamlessfirework
Nov 23, 2023Cirrus
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/...
- 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
seamlessfirework
Cirrus
Hey Michael_Saleem
It worked out. Thanks a lot!
Jan 03, 2024
Awesome. I'm glad it worked for you 🙂
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects