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
> Attention: Currently, we just support use Key Vault in static provisioning scenario.
4
+
5
+
## Prepare Key Vault
6
+
7
+
1. Create a Key Vault in the [portal](https://ms.portal.azure.com/#blade/HubsExtension/BrowseResourceBlade/resourceType/Microsoft.KeyVault%2Fvaults).
8
+
9
+
2. Store `storage account key` or `SAS token` in Key Vault's Secret.
10
+
11
+
3. Ensure the service principal has all the required permissions to access content in your Azure key vault instance. If not, you can run the following using the Azure CLI:
12
+
13
+
```console
14
+
# Assign Reader Role to the service principal for your keyvault
15
+
az role assignment create --role Reader --assignee <aadClientId> --scope /subscriptions/<subscriptionid>/resourcegroups/<resourcegroup>/providers/Microsoft.KeyVault/vaults/<keyvaultname>
16
+
17
+
az keyvault set-policy -n $KV_NAME --key-permissions get --spn <YOUR SPN CLIENT ID>
18
+
az keyvault set-policy -n $KV_NAME --secret-permissions get --spn <YOUR SPN CLIENT ID>
19
+
az keyvault set-policy -n $KV_NAME --certificate-permissions get --spn <YOUR CLIENT ID>
20
+
```
21
+
22
+
## Install Blobfuse CSI Driver
23
+
24
+
### Option #1
25
+
26
+
Use the [script](https://github.com/csi-driver/blobfuse-csi-driver/blob/master/deploy/install-driver.sh) to install.
27
+
28
+
### Option #2
29
+
30
+
Use [helm](https://github.com/csi-driver/blobfuse-csi-driver/blob/master/charts/README.md) to install.
0 commit comments