keyVaultUri keyVaultKeyName parameters mismatch between SearchResourceEncryptionKey and SearchIndexerSkillset results request is invalid
when creating skillset in azure-search-documents SDK (v11.6.0b5)
#37521
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
issue-addressed
Workflow: The Azure SDK team believes it to be addressed and ready to close.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Search
Describe the bug
While creating a skillset for indexer for Azure AI Search, I encounter an error indicating missing parameters for the encryption key:
However, when defining parameters
keyVaultUri
andkeyVaultKeyName
from the error message in encryptionKey and removing parameterskey_name
andvault_uri
which Microsoft documentation specifies are the available properties of classSearchResourceEncryptionKey
, I get the following error (as expected):NB: Error persisted even when these parameter name variations were tried:
key_vault_uri
andkey_vault_key_name
I also tried defining all of these parameters in encryptionKey , however I get the following warning and my original error of missing parameters:
To Reproduce
Steps to reproduce the behaviour:
Assuming Blob Storage Account , Azure OpenAI Instance, Azure AI Search, Index and indexer all already exist and managed identity enabled with storage blob data read role (or necessary perms).
Additional context
I use this encryption key in other places too i.e. when creating index, data source connection, indexer so it would be helpful if it can be checked this encryption key works for this version in the other places as i already found 1 bug while trying to create data source connection too. Thanks!
The text was updated successfully, but these errors were encountered: