Last active
December 9, 2024 15:38
-
-
Save fabiocannas/5ebaa4002b068d38453930017bd659f7 to your computer and use it in GitHub Desktop.
Azure Application Gateway - Create SSL certificate with Azure Key vault secret reference using Azure Application Gateway's user assigned managed identity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
az login --tenant <tenant-id> | |
az keyvault set-policy --name <kv-name> -g <resource-group-name> --object-id <user-assigned-managed-identity-object-id> --certificate-permissions get list | |
az network application-gateway ssl-cert create -g <resource-group-name> --gateway-name <agw-name> -n <ssl-cert-name> --key-vault-secret-id <kv-secret-id> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment