Sharing iOS Platform Configurations Among Tenants
Want to share the super tenant iOS platform configurations with your tenants too? This document guides you to share the iOS platform configurations among tenants.
Note
This approach is not recommended for your production environment. If you want to enable multi-tenancy for iOS platform configurations in a production environment, you need to configure the platform configuration for each tenant via the device management console. For more information, see iOS Platform Configurations.
Before you begin!
Configure the iOS platform configurations of the super tenant. For more information, see iOS Platform Configurations. The default super tenant username is admin
and the password is admin
.
Follow the steps given below:
- Copy the iOS platform configurations of the super tenant:
Log in to the IoT server's core carbon console:
https://<IOTS_HOST>:9443/carbon
The default HTTPS port of the core profile is 9443. If you port offset WSO2 IoT Server, make sure to use the correct port to access the carbon console.
- Click Main > Resources > Browse.
- Enter
/_system/config/ios
 as the Location and click Display as text.
- Copy the content that appears in the text area.
- Create an XML file namedÂ
ios-default-platform-configuration.xml
in theÂ<IOTS_HOME>/conf/etc/device-mgt-plugin-configs/mobile
directory. - Paste the content you copied in step 1 to the
ios-default-platform-configuration.xml
 file you created in step 2. - Restart WSO2 IoT Server.
What's next?
To ensure that the super tenant's iOS platform configurations are enabled for the other tenants:
- Sign in to WSO2 IoT Server using the tenant's username and password.Â
- Click the  icon > CONFIGURATION MANAGEMENT > PLATFORM CONFIGURATIONS and select the iOS Configurations.Â
You can see the same configurations being enabled for the tenant too.
Now your tenants can start enrolling your iOS device. For more information on how to enroll a device, see Enrolling an iOS device.