CmdID / az / az storage / az storage account / az storage account blob-service-properties
az storage account blob-service-properties cors-rule
Manage the Cross-Origin Resource Sharing (CORS) rules of a storage account's blob service properties. Azure CLI reference
3 commands 5 options Its page in the Azure CLI reference
Commands
Options
--allowed-headersSpace-separated list of headers allowed to be part of the cross-origin request--allowed-methods, --methodsSpace-separated list of HTTP verbs (methods) allowed to be executed by the origin--allowed-origins, --originsSpace-separated list of origin domains that will be allowed via CORS, or "*" to allow all domains--exposed-headersSpace-separated list of response headers to expose to CORS clients--max-age-in-seconds, --max-ageThe number of seconds that the client/browser should cache a preflight response