Skip to content

Commit 96bec82

Browse files
Updating azure credentials documentation (#519)
1 parent 06785f4 commit 96bec82

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

docs/config/azure_plugin.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,24 @@ AZURE_TENANT_ID=${AZURE_TENANT_ID}
1010
AZURE_CLIENT_ID=${AZURE_CLIENT_ID}
1111
AZURE_CLIENT_SECRET=${AZURE_CLIENT_SECRET}
1212
AZURE_RESOURCE_GROUP=${AZURE_RESOURCE_GROUP}
13-
AZURE_STORAGE_ACCOUNT_ACCESS_KEY=${AZURE_STORAGE_ACCOUNT_ACCESS_KEY}
1413
AZURE_CLOUD_NAME=AzurePublicCloud
1514
EOF
1615
```
1716

1817
<b>Note:</b>
19-
- Make sure to include `AZURE_STORAGE_ACCOUNT_ACCESS_KEY` in the credentails file, as it is required by the Azure registry pod to perform registry related operations.
18+
- Servical Principal credentials does not support backing up of images.
19+
- If you are looking for that feature, please add storage access key to the credentials as follows,
20+
```
21+
cat << EOF > ./credentials-velero
22+
AZURE_SUBSCRIPTION_ID=${AZURE_SUBSCRIPTION_ID}
23+
AZURE_TENANT_ID=${AZURE_TENANT_ID}
24+
AZURE_CLIENT_ID=${AZURE_CLIENT_ID}
25+
AZURE_CLIENT_SECRET=${AZURE_CLIENT_SECRET}
26+
AZURE_RESOURCE_GROUP=${AZURE_RESOURCE_GROUP}
27+
AZURE_STORAGE_ACCOUNT_ACCESS_KEY=${AZURE_STORAGE_ACCOUNT_ACCESS_KEY}
28+
AZURE_CLOUD_NAME=AzurePublicCloud
29+
EOF
30+
```
2031

2132
2. Once you have the credentials file, create the secret using the following command,
2233

0 commit comments

Comments
 (0)