Skip to content

Commit 9488256

Browse files
committed
Add lines 47-50
1 parent 580615e commit 9488256

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

articles/spring-cloud/spring-cloud-tutorial-custom-domain.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ Or using CLI to import certificate:
4444
```
4545
az spring-cloud certificate add --name <cert name> --vault-uri <key vault uri> --vault-certificate-name <key vault cert name>
4646
```
47+
>[!IMPORTANT]
48+
> Please ensure you grant Azure Spring Cloud to access your key vault before executing the above import certificate CLI. If you haven't, please execute the follow CLI to grant the access right.
49+
50+
```
51+
az keyvault set-policy -g <key vault resource group> -n <key vault name> --object-id 938df8e2-2b9d-40b1-940c-c75c33494239 --certificate-permissions get list
52+
```
53+
4754
When you have successfully imported your certificate, you'll see it on the list of **Private Key Certificates**.
4855

4956
![Private key certificate](./media/custom-dns-tutorial/key-certificates.png)

0 commit comments

Comments
 (0)