Hi Team,
I am trying to create an index on a search service that has enforced the encryption policy. I am able to create an index on the 2024-05-01-preview version when I provide the details of the encryption in the index definition. However when I use the same details and try to create an index with the 2024-07-01 I get the following error.
Cannot find nested property 'identity' on the resource type 'Microsoft.Azure.Search.V2024_07_01.EncryptionKey
I can see as per the docs here https://learn.microsoft.com/en-us/rest/api/searchservice/indexes/create?view=rest-searchservice-2024-07-01&tabs=HTTP#searchresourceencryptionkey
and here https://learn.microsoft.com/en-us/rest/api/searchservice/indexes/create?view=rest-searchservice-2024-05-01-preview&tabs=HTTP#searchresourceencryptionkey
the latest version(2024-07-01) does not include the "identity" parameter in the encryption definition but the preview version(2024-05-01-preview) does include it.
My question is will this be included in the latest version?
If not then what can be done here since as per the encryption policy that has been setup for my resource I need to use the 'identity' property as we are using managed-identity for accessing the keyvault. Without this I I cannot use the latest version and would have to use the preview version which seems fine for now but since it is in preview I am assuming that it is going to be deprecated sometime in the future.