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/api-management/redirect-content-urls-policy.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.author: danlep
11
11
---
12
12
13
13
# Mask URLs in content
14
-
The `redirect-content-urls` policy rewrites (masks) links in the response body so that they point to the equivalent link via the gateway. Use in the outbound section to rewrite response body links to make them point to the gateway. Use in the inbound section for an opposite effect.
14
+
The `redirect-content-urls` policy rewrites (masks) links in the response body so that they point to the equivalent link via the gateway. Use in the outbound section to rewrite response body links to the backend service to make them point to the gateway. Use in the inbound section for an opposite effect.
15
15
16
16
> [!NOTE]
17
17
> This policy does not change any header values such as `Location` headers. To change header values, use the [set-header](set-header-policy.md) policy.
@@ -40,4 +40,4 @@ The `redirect-content-urls` policy rewrites (masks) links in the response body s
Copy file name to clipboardExpand all lines: articles/azure-arc/kubernetes/tutorial-akv-secrets-provider.md
+26-17Lines changed: 26 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Use Azure Key Vault Secrets Provider extension to fetch secrets into Azure Arc-enabled Kubernetes clusters
3
3
description: Learn how to set up the Azure Key Vault Provider for Secrets Store CSI Driver interface as an extension on Azure Arc enabled Kubernetes cluster
4
4
ms.custom: ignite-2022
5
-
ms.date: 10/12/2022
5
+
ms.date: 03/06/2023
6
6
ms.topic: tutorial
7
7
author: mayurigupta13
8
8
ms.author: mayg
@@ -12,7 +12,7 @@ ms.author: mayg
12
12
13
13
The Azure Key Vault Provider for Secrets Store CSI Driver allows for the integration of Azure Key Vault as a secrets store with a Kubernetes cluster via a [CSI volume](https://kubernetes-csi.github.io/docs/). For Azure Arc-enabled Kubernetes clusters, you can install the Azure Key Vault Secrets Provider extension to fetch secrets.
14
14
15
-
Benefits of the Azure Key Vault Secrets Provider extension include the following:
15
+
Capabilities of the Azure Key Vault Secrets Provider extension include:
16
16
17
17
- Mounts secrets/keys/certs to pod using a CSI Inline volume
18
18
- Supports pod portability with the SecretProviderClass CRD
@@ -33,7 +33,7 @@ Benefits of the Azure Key Vault Secrets Provider extension include the following
33
33
- Elastic Kubernetes Service
34
34
- Tanzu Kubernetes Grid
35
35
- Azure Red Hat OpenShift
36
-
- Ensure you have met the [general prerequisites for cluster extensions](extensions.md#prerequisites). You must use version 0.4.0 or newer of the `k8s-extension` Azure CLI extension.
36
+
- Ensure you've met the [general prerequisites for cluster extensions](extensions.md#prerequisites). You must use version 0.4.0 or newer of the `k8s-extension` Azure CLI extension.
37
37
38
38
> [!TIP]
39
39
> When using this extension with [AKS hybrid clusters provisioned from Azure](extensions.md#aks-hybrid-clusters-provisioned-from-azure-preview) you must set `--cluster-type` to use `provisionedClusters` and also add `--cluster-resource-provider microsoft.hybridcontainerservice` to the command. Installing Azure Arc extensions on AKS hybrid clusters provisioned from Azure is currently in preview.
@@ -56,7 +56,7 @@ You can install the Azure Key Vault Secrets Provider extension on your connected
56
56
57
57
[](media/tutorial-akv-secrets-provider/extension-install-new-resource.jpg)
58
58
59
-
1. Follow the prompts to deploy the extension. If needed, you can customize the installation by changing the default options on the **Configuration** tab.
59
+
1. Follow the prompts to deploy the extension. If needed, customize the installation by changing the default options on the **Configuration** tab.
60
60
61
61
### Azure CLI
62
62
@@ -67,13 +67,13 @@ You can install the Azure Key Vault Secrets Provider extension on your connected
67
67
export RESOURCE_GROUP=<resource-group-name>
68
68
```
69
69
70
-
2. Install the Secrets Store CSI Driver and the Azure Key Vault Secrets Provider extension by running the following command:
70
+
2. Install the Secrets Store CSI Driver and the Azure Key Vault Secrets Provider extension by running the following command:
You should see output similar to the example below. Note that it may take several minutes before the secrets provider Helm chart is deployed to the cluster.
76
+
You should see output similar to this example. Note that it may take several minutes before the secrets provider Helm chart is deployed to the cluster.
77
77
78
78
```json
79
79
{
@@ -204,7 +204,7 @@ To confirm successful installation of the Azure Key Vault Secrets Provider exten
204
204
az k8s-extension show --cluster-type connectedClusters --cluster-name $CLUSTER_NAME --resource-group $RESOURCE_GROUP --name akvsecretsprovider
205
205
```
206
206
207
-
You should see output similar to the example below.
207
+
You should see output similar to this example.
208
208
209
209
```json
210
210
{
@@ -251,14 +251,14 @@ You should see output similar to the example below.
251
251
252
252
Next, specify the Azure Key Vault to use with your connected cluster. If you don't already have one, create a new Key Vault by using the following commands. Keep in mind that the name of your Key Vault must be globally unique.
253
253
254
-
255
254
Set the following environment variables:
256
255
257
256
```azurecli-interactive
258
257
export AKV_RESOURCE_GROUP=<resource-group-name>
259
258
export AZUREKEYVAULT_NAME=<AKV-name>
260
259
export AZUREKEYVAULT_LOCATION=<AKV-location>
261
260
```
261
+
262
262
Next, run the following command
263
263
264
264
```azurecli
@@ -280,11 +280,11 @@ Before you move on to the next section, take note of the following properties:
280
280
281
281
## Provide identity to access Azure Key Vault
282
282
283
-
Currently, the Secrets Store CSI Driver on Arc-enabled clusters can be accessed through a service principal. Follow the steps below to provide an identity that can access your Key Vault.
283
+
Currently, the Secrets Store CSI Driver on Arc-enabled clusters can be accessed through a service principal. Follow these steps to provide an identity that can access your Key Vault.
284
284
285
-
1. Follow the steps [here](../../active-directory/develop/howto-create-service-principal-portal.md#register-an-application-with-azure-ad-and-create-a-service-principal) to create a service principal in Azure. Take note of the Client ID and Client Secret generated in this step.
286
-
1. Provide Azure Key Vault GET permission to the created service principal by following the steps[here](../../key-vault/general/assign-access-policy.md).
287
-
1. Use the client ID and Client Secret from step 1 to create a Kubernetes secret on the Arc connected cluster:
285
+
1. Follow the steps [to create a service principal in Azure](../../active-directory/develop/howto-create-service-principal-portal.md#register-an-application-with-azure-ad-and-create-a-service-principal). Take note of the Client ID and Client Secret generated in this step.
286
+
1. Provide Azure Key Vault GET permission to the created service principal by [following these steps](../../key-vault/general/assign-access-policy.md).
287
+
1. Use the client ID and Client Secret from the first step to create a Kubernetes secret on the connected cluster:
The following configuration settings are frequently used with the Azure Key Vault Secrets Provider extension:
378
380
379
381
| Configuration Setting | Default | Description |
380
382
| --------- | ----------- | ----------- |
381
383
| enableSecretRotation | false | Boolean type. If `true`, periodically updates the pod mount and Kubernetes Secret with the latest content from external secrets store |
382
-
| rotationPollInterval | 2m |Specifies the secret rotation poll interval duration if `enableSecretRotation` is `true`. This duration can be adjusted based on how frequently the mounted contents for all pods and Kubernetes secrets need to be resynced to the latest. |
384
+
| rotationPollInterval | 2m |If `enableSecretRotation` is `true`, specifies the secret rotation poll interval duration. This duration can be adjusted based on how frequently the mounted contents for all pods and Kubernetes secrets need to be resynced to the latest. |
383
385
| syncSecret.enabled | false | Boolean input. In some cases, you may want to create a Kubernetes Secret to mirror the mounted content. If `true`, `SecretProviderClass` allows the `secretObjects` field to define the desired state of the synced Kubernetes Secret objects. |
384
386
385
387
These settings can be specified when the extension is installed by using the `az k8s-extension create` command:
@@ -388,12 +390,19 @@ These settings can be specified when the extension is installed by using the `az
You can use other configuration settings as needed for your deployment. For example, to change the kubelet root directory while creating a cluster, modify the az k8s-extension create command:
## Uninstall the Azure Key Vault Secrets Provider extension
398
407
399
408
To uninstall the extension, run the following command:
@@ -411,11 +420,11 @@ To confirm that the extension instance has been deleted, run the following comma
411
420
az k8s-extension list --cluster-type connectedClusters --cluster-name $CLUSTER_NAME --resource-group $RESOURCE_GROUP
412
421
```
413
422
414
-
If the extension was successfully removed, you won't see the the Azure Key Vault Secrets Provider extension listed in the output. If you don't have any other extensions installed on your cluster, you'll see an empty array.
423
+
If the extension was successfully removed, you won't see the Azure Key Vault Secrets Provider extension listed in the output. If you don't have any other extensions installed on your cluster, you'll see an empty array.
415
424
416
425
## Reconciliation and troubleshooting
417
426
418
-
The Azure Key Vault Secrets Provider extension is self-healing. If somebody tries to change or delete an extension component that was deployed when the extension was installed, that component will be reconciled to its original state. The only exceptions are for Custom Resource Definitions (CRDs). If CRDs are deleted, they won't be reconciled. To restore deleted CRDs, use the `az k8s-exstension create` command again with the existing extension instance name.
427
+
The Azure Key Vault Secrets Provider extension is self-healing. If somebody tries to change or delete an extension component that was deployed when the extension was installed, that component will be reconciled to its original state. The only exceptions are for Custom Resource Definitions (CRDs). If CRDs are deleted, they won't be reconciled. To restore deleted CRDs, use the `az k8s-extension create` command again with the existing extension instance name.
419
428
420
429
For more information about resolving common issues, see the open source troubleshooting guides for [Azure Key Vault provider for Secrets Store CSI driver](https://azure.github.io/secrets-store-csi-driver-provider-azure/docs/troubleshooting/) and [Secrets Store CSI Driver](https://secrets-store-csi-driver.sigs.k8s.io/troubleshooting.html).
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/management/move-limitations/networking-move-limitations.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,10 @@ If you want to move networking resources to a new region, see [Tutorial: Move Az
18
18
> [!NOTE]
19
19
> Any resource, including a VPN Gateway, that is associated with a public IP Standard SKU address can't be moved across subscriptions. For virtual machines, you can [disassociate the public IP address](../../../virtual-network/ip-services/remove-public-ip-address-vm.md) before moving across subscriptions.
20
20
21
-
When moving a resource, you must also move its dependent resources (for example - public IP addresses, virtual network gateways, all associated connection resources). Local network gateways can be in a different resource group.
21
+
When moving a resource, you must also move its dependent resources (for example - public IP addresses, virtual network gateways, all associated connection resources). The virtual network assigned to the AKS instance can also be moved, and local network gateways can be in a different resource group.
22
+
23
+
> [!WARNING]
24
+
> Please refrain from moving the virtual network for an AKS cluster. The AKS cluster will stop working if its virtual network is moved.
22
25
23
26
To move a virtual machine with a network interface card to a new subscription, you must move all dependent resources. Move the virtual network for the network interface card, all other network interface cards for the virtual network, and the VPN gateways.
Copy file name to clipboardExpand all lines: articles/azure-vmware/attach-azure-netapp-files-to-azure-vmware-solution-hosts.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,16 +166,18 @@ To attach an Azure NetApp Files volume to your private cloud using Azure CLI, fo
166
166
167
167
## Service level change for Azure NetApp Files datastore
168
168
169
-
Based on the performance requirements of the datastore, you can change the service level of the Azure NetApp Files volume used for the datastore by following the instructions to [dynamically change the service level of a volume for Azure NetApp Files](../azure-netapp-files/dynamic-change-volume-service-level.md)
170
-
This has no impact to the Datastore or private cloud as there is no downtime involved and the IP address/mount path remain unchanged. However, the volume Resource ID will be changed due to the capacity pool change. Therefore to avoid any metadata mismatch re-issue the datastore create command via Azure CLI as follows: `az vmware datastore netapp-volume create`.
169
+
Based on the performance requirements of the datastore, you can change the service level of the Azure NetApp Files volume used for the datastore by following the instructions to [dynamically change the service level of a volume for Azure NetApp Files](../azure-netapp-files/dynamic-change-volume-service-level.md).
170
+
Changing the service level has no impact on the datastore or private cloud. There is no downtime and the volume's IP address/mount path remain unchanged. However, the volume's resource ID will change as a result of the capacity pool change. To correct any metadata mismatch, re-run the datastore creation in Azure CLI for the existing datastore with the new Resource ID for the Azure NetApp Files volume:
171
+
```azurecli
172
+
az vmware datastore netapp-volume create \
173
+
--name <name of existing datastore> \
174
+
--resource-group <resource group containing AVS private cloud> \
> The input values for **cluster** name, datastore **name**, **private-cloud** (SDDC) name, and **resource-group** must be **exactly the same as the current one**, and the **volume-id** is the new Resource ID of the volume.
173
-
174
-
-**cluster**
175
-
-**name**
176
-
-**private-cloud**
177
-
-**resource-group**
178
-
-**volume-id**
180
+
> The parameters for datastore **name**, **resource-group**, **cluster**, and **private-cloud** (SDDC) must be **exactly the same as those on the existing datastore in the private cloud**. The **volume-id** is the updated Resource ID of the Azure NetApp Files volume after the service level change.
179
181
180
182
## Disconnect an Azure NetApp Files-based datastore from your private cloud
Copy file name to clipboardExpand all lines: articles/cosmos-db/configure-periodic-backup-restore.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -172,6 +172,8 @@ If you have accidentally deleted or corrupted your data, you should contact [Azu
172
172
> * VNET access control lists
173
173
> * Stored procedures, triggers and user-defined functions
174
174
> * Multi-region settings
175
+
> * Managed identity settings
176
+
175
177
176
178
If you provision throughput at the database level, the backup and restore process in this case happen at the entire database level, and not at the individual containers level. In such cases, you can't select a subset of containers to restore.
Copy file name to clipboardExpand all lines: articles/cosmos-db/configure-synapse-link.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,9 @@ The first step to use Synapse Link is to enable it for your Azure Cosmos DB data
35
35
> [!NOTE]
36
36
> If you want to use Full Fidelity Schema for API for NoSQL accounts, you can't use the Azure portal to enable Synapse Link. This option can't be changed after Synapse Link is enabled in your account and to set it you must use Azure CLI or PowerShell. For more information, check [analytical store schema representation documentation](analytical-store-introduction.md#schema-representation).
37
37
38
+
> [!NOTE]
39
+
> You need [Contributor role](role-based-access-control.md) to enable Synapse Link at account level. And you need at least [Operator role](role-based-access-control.md) to enable Synapse Link in your containers or collections.
40
+
38
41
### Azure portal
39
42
40
43
1. Sign into the [Azure portal](https://portal.azure.com/).
Copy file name to clipboardExpand all lines: articles/cosmos-db/how-to-setup-customer-managed-keys.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -516,7 +516,7 @@ Not available
516
516
517
517
## Restore a continuous account that is configured with managed identity
518
518
519
-
System identity is tied to one specific account and can't be reused in another account. So, a new user-assigned identity is required during the restore process.
519
+
A user-assigned identity is required in the restore request because the source account managed identity (User-assigned and System-assigned identities) cannot be carried over automatically to the target database account.
520
520
521
521
### [Azure CLI](#tab/azure-cli)
522
522
@@ -525,7 +525,6 @@ Use the Azure CLI to restore a continuous account that is already configured usi
525
525
> [!NOTE]
526
526
> This feature is currently under Public Preview and requires Cosmos DB CLI Extension version 0.20.0 or higher.
527
527
528
-
The newly created user assigned identity is only needed during the restore and can be cleaned up once the restore has completed. First, to restore a source account with system-assigned identity.
529
528
530
529
1. Create a new user-assigned identity (or use an existing one) for the restore process.
531
530
@@ -563,9 +562,7 @@ The newly created user assigned identity is only needed during the restore and c
563
562
564
563
1. Once the restore has completed, the target (restored) account will have the user-assigned identity. If desired, user can update the account to use System-Assigned managed identity.
565
564
566
-
By default, when you trigger a restore for an account with user-assigned managed identity, the user-assigned identity will be passed to the target account automatically.
567
565
568
-
If desired, the user can also trigger a restore using a different user-assigned identity than the source account by specifying it in the restore parameters.
0 commit comments