You can create or Import Your Key in Azure Key Vault:
- Go to the Azure portal.
- Navigate to Azure Key Vault.
- Create a new key vault if you don't already have one.
- In the key vault, you can either generate a new key or import an existing one.
Then set Up Access Policies:
- In your Key Vault, configure the access policies to grant permissions to the necessary Azure AI services.
- Ensure that the appropriate identities (e.g., service principals, managed identities) have permissions like
get
,unwrapKey
, andwrapKey
.
Then configure Azure AI Service to Use the Key:
- When setting up your Azure AI service (e.g., Azure Cognitive Services), configure it to use the key stored in Azure Key Vault.
- During the setup or configuration of the AI service, you will specify the Key Vault URL and the key to be used.
Check the documentation : https://learn.microsoft.com/en-us/azure/key-vault/keys/byok-specification