Azure Cognitive Search currently supports RBAC authentication on searches as explained here :
However I could not find support for these API access control via terraform
Question : How can I terraform these controls ?
Azure Cognitive Search RBAC API Access control is currently in preview. Please ensure you are using the 2021-04-01-preview API version. You can find these controls under the DataPlaneAuthOptions section using "aadOrApiKey".
You can find the Azure Cognitive Search RBAC API documentation below: https://learn.microsoft.com/en-us/azure/search/search-security-rbac?tabs=config-svc-rest%2Croles-portal%2Ctest-portal%2Ccustom-role-portal#enable-rbac-preview-for-data-plane-operations