Configuring Data Access for an IoT Domain Group
Add a Virtual Cloud Network OCID or OCIDs to an IoT domain group to define the IP address range or ranges allowed to access the database for an IoT domain group.
If you configure a direct database connection or a connection to Oracle Analytics Cloud, both configuration options require adding the VCN or VCNs to the IoT domain group to allow the IoT domain group to access the database. A maximum number of VCNs allowed is 5. If configured, you can view the database connection string and the database token scope.
The maximum number of VCNs you can associate to an IoT domain group is 5.
Use the
oci iot domain-group configure-data-access
command and required parameters to configure data access for an IoT domain group. Replace the<vcn-OCID>
with the OCIDs for the VCNs for your IoT domain group. Depending on your configuration, you can add one VCN OCID or multiple VCN OCIDs. The VCN must be in the same region as the IoT database. Replace the<iot-domain-group-OCID>
with the OCID for the IoT domain group you want to update:oci iot domain-group configure-data-access --db-allow-listed-vcn-ids '["vcn-OCID","vcn-OCID"]' --iot-domain-group-id <iot-domain-group-OCID>
Run the ConfigureIotDomainGroupDataAccess operation to configure the data access for the IoT domain group.