You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-foundry/concepts/encryption-keys-portal.md
+45-9Lines changed: 45 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,16 +22,22 @@ Customer-managed keys (CMKs) in [Azure AI Foundry portal](https://ai.azure.com/?
22
22
23
23
## About encryption in Azure AI Foundry
24
24
25
-
Azure AI Foundry is a service in the Microsoft Azure cloud. By default, services use Microsoft-managed encryption keys to encrypt data in transit and at rest.
25
+
Azure AI Foundry is a service in the Microsoft Azure cloud. By default, services use Microsoft-managed encryption keys to encrypt data in transit and at rest.
26
26
27
27
::: zone pivot="hub-project"
28
28
29
-
Hub and [!INCLUDE [hub](../includes/hub-project-name.md)] resources are implementations of the Azure Machine Learning workspace and encrypt data in transit and at rest. For details, see [Data encryption with Azure Machine Learning](../../machine-learning/concept-data-encryption.md).
29
+
Azure AI Hub resource takes a dependency on Azure AI Foundry resource as a dependency. Both resources are managed in your Azure subscription. You must configure customer-managed key encryption on both.
30
+
31
+
* AI Foundry resources, data is encrypted and decrypted using [FIPS 140-2](https://en.wikipedia.org/wiki/FIPS_140-2) compliant [256-bit AES](https://en.wikipedia.org/wiki/Advanced_Encryption_Standard) encryption. Encryption and decryption are transparent, meaning encryption and access are managed for you. Your data is secure by default and you don't need to modify your code or applications to take advantage of encryption.
32
+
33
+
* AI Hub resources, and [!INCLUDE [hub](../includes/hub-project-name.md)] resources are implementations of the Azure Machine Learning workspace and encrypt data in transit and at rest. For details, see [Data encryption with Azure Machine Learning](../../machine-learning/concept-data-encryption.md).
30
34
31
35
::: zone-end
32
36
33
37
::: zone pivot="fdp-project"
34
38
39
+
When an Azure AI Foundry resource is created, you can update from Microsoft-managed keys to customer-managed keys. However, you cannot switch back from customer-managed keys to Microsoft-managed keys.
40
+
35
41
Data is encrypted and decrypted using [FIPS 140-2](https://en.wikipedia.org/wiki/FIPS_140-2) compliant [256-bit AES](https://en.wikipedia.org/wiki/Advanced_Encryption_Standard) encryption. Encryption and decryption are transparent, meaning encryption and access are managed for you. Your data is secure by default and you don't need to modify your code or applications to take advantage of encryption.
36
42
37
43
::: zone-end
@@ -130,7 +136,7 @@ Customer-managed key encryption is configured via Azure portal in a similar way
130
136
## Limitations
131
137
132
138
* The customer-managed key for encryption can only be updated to keys in the same Azure Key Vault instance.
133
-
* After deployment, your [!INCLUDE [fdp](../includes/fdp-project-name.md)] can't switch from Microsoft-managed keys to customer-managed keys or vice versa.
139
+
* After deployment, your [!INCLUDE [fdp](../includes/fdp-project-name.md)] can't switch from customer-managed keys to Microsoft managed keys.
134
140
* Azure charges for the AI Foundry resource will continue to accrue during the soft delete retention period. Charges for projects don't continue to accrue during the soft delete retention period.
135
141
136
142
::: zone-end
@@ -149,16 +155,46 @@ Alternatively, use infrastructure-as-code options for automation. Example Bicep
149
155
1.[CMK encryption for hub](https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.machinelearningservices/aifoundry-cmk).
150
156
1.[Service-side CMK encryption preview for hub](https://github.com/azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.machinelearningservices/aistudio-cmk-service-side-encryption).
151
157
158
+
::: zone-end
159
+
160
+
## Encryption Key Rotation
161
+
162
+
If you're using [customer-managed key encryption](../concepts/encryption-keys-portal.md), Azure AI Foundry allows you to rotate the encryption key used to protect your data. This applies to data stored in Microsoft-managed infrastructure, encrypted using your Azure Key Vault key.
163
+
164
+
Rotation Limitations
165
+
166
+
***Same Key Vault Requirement**
167
+
168
+
You can only rotate encryption keys to another key within the same Azure Key Vault instance. Cross-vault key rotation is not supported.
169
+
170
+
***Scope of Rotation**
171
+
172
+
The new key must be compatible with the existing encryption configuration. Ensure that the new key is properly configured with the necessary access policies and permissions.
173
+
174
+
***Updating from customer-managed to Microsoft-managed**
175
+
176
+
When an Azure AI Foundry resource or/and AI Hub is created, you can update from Microsoft-managed keys to customer-managed keys. However, you cannot switch back from customer-managed keys to Microsoft-managed keys.
177
+
178
+
How to Rotate Encryption Keys
179
+
180
+
* In your Azure Key Vault, create or identify the new key you want to use for encryption.
181
+
182
+
* From Azure Portal or template options, update the resource configuration to reference the new key within the same Key Vault.
183
+
184
+
* Your resource will take a few minutes to wrap data using your new encryption key. During this period, certain service operations are available.
185
+
186
+
* The service will begin using the new key for encryption of newly stored data. Existing data remains encrypted with the previous key unless reprocessed.
187
+
152
188
## Limitations
153
189
154
190
* The customer-managed key for encryption can only be updated to keys in the same Azure Key Vault instance.
155
-
* After deployment, hubs can't switch from Microsoft-managed keys to Customer-managed keys or vice versa.
191
+
* After deployment, you can't switch from Customer-managed keys to Microsoft managed keys.
156
192
*[Azure AI Foundry Customer-Managed Key Request Form](https://aka.ms/cogsvc-cmk) is required to use customer-managed keys in combination with Azure Speech and Content Moderator capabilities.
157
-
*[Azure AI Foundry Customer-Managed Key Request Form](https://aka.ms/cogsvc-cmk) is still required for Speech and Content Moderator.
158
-
* If your AI Foundry resource is in a soft-deleted state(#preview-service-side-storage-of-encrypted-data-when-using-customer-managed-keys), any additional Azure charges will continue to accrue during the soft delete retention period.
159
-
160
-
::: zone-end
193
+
*[Azure AI Foundry Customer-Managed Key Request Form](https://aka.ms/cogsvc-cmk) is required for Speech and Content Moderator.
194
+
* If your AI Foundry resource is in a soft-deleted state, any additional Azure charges will continue to accrue during the soft delete retention period.
Copy file name to clipboardExpand all lines: articles/ai-services/rotate-keys.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,9 @@ ms.date: 5/19/2025
12
12
ms.author: pafarley
13
13
---
14
14
15
-
# Rotate keys in Azure AI services
15
+
# Rotate API keys
16
16
17
-
Each Azure AI Foundry resource has two API keys to enable secret rotation. This is a security precaution that lets you regularly change the keys that can be used to access your service, protecting the privacy of your resource if a key gets leaked.
17
+
Each resource has two API keys to enable secret rotation. This is a security precaution that lets you regularly change the keys that can be used to access your service, protecting the privacy of your resource if a key gets leaked.
18
18
19
19
## How to rotate keys
20
20
@@ -32,5 +32,4 @@ You can rotate keys using the following procedure:
32
32
33
33
## See also
34
34
35
-
*[What are Azure AI services?](./what-are-ai-services.md)
36
-
*[Azure AI services security features](./security-features.md)
0 commit comments