CmdID / az / az afd / az afd auth-policy
az afd auth-policy create
Create an authorization policy within the specified profile. Azure CLI extensions reference
6 options Its page in the Azure CLI extensions reference
Options
--actionAction to apply when authorization fails.--associationsResource associations for the authorization policy.--auth-configsAuthorization configurations for the policy.--auth-policy-name, --name, -nName of the authorization policy under the profile.--forward-token-to-origin, --forward-tokenWhether to forward the authentication token to the origin.--profile-nameName of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.