Skip to content

Instantly share code, notes, and snippets.

@fabiocannas
Last active December 9, 2024 15:38
Show Gist options
  • Save fabiocannas/5ebaa4002b068d38453930017bd659f7 to your computer and use it in GitHub Desktop.
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
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