Forum Discussion
thiezn_180250
Nimbostratus
Jun 07, 2016iControl REST Access to specific partitions only
Hello,
We would like to create a user account for the iControl REST API that is only allowed to access/create resources in a specific partition. This would allow us to give specific application gro...
thiezn_180250
Nimbostratus
Jun 07, 2016Hello Arnaud, thanks for the reply
I tried this indeed but it seems the rights assigned to the user during user creation has no effect on the permissions on the iControl REST API. The user is created in partition VPN and only has manager permissions on the VPN partition.
Then when I retrieve for instance /mgmt/tm/ltm/pool I am still getting back pool members in the Common partition:
curl -k -u api-test:password -X GET https://f5apm01/mgmt/tm/ltm/pool
{"kind":"tm:ltm:pool:poolcollectionstate",
"selfLink":"https://localhost/mgmt/tm/ltm/pool?ver=12.1.0",
"items":[{"kind":"tm:ltm:pool:poolstate",
"name":"test-pool-api-common",
"partition":"Common"},
{"kind":"tm:ltm:pool:poolstate",
"name":"euremoteuat.rabobank.com-AD_Auth-pool",
"partition":"VPN","fullPath":"/VPN/euremoteuat.rabobank.com-AD_Auth-pool", ...}]
...data trunkated...}
Arnaud_Lemaire
Employee
Jun 07, 2016That is expected behavior Common partition is available to everyone. The user has access to common and VPN partition, the REST call will respond with everything like in the gui if you had selected partition VPN = common + VPN.
Now i better understand, you are looking for a way that a partition user can accesses only the partition and not the Common, is that correct ?
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