Azure Blob Storage · Schema

CorsRule

A CORS rule for the Blob service.

AzureBlobsCloud StorageMicrosoftObject StorageStorage

Properties

Name Type Description
AllowedOrigins string Comma-separated list of allowed origin domains, or * for all
AllowedMethods string Comma-separated list of allowed HTTP methods (GET, PUT, etc.)
AllowedHeaders string Comma-separated list of allowed request headers
ExposedHeaders string Comma-separated list of response headers exposed to the client
MaxAgeInSeconds integer Maximum number of seconds the browser should cache the preflight response
View JSON Schema on GitHub

JSON Schema

azure-blob-storage-corsrule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CorsRule",
  "title": "CorsRule",
  "type": "object",
  "description": "A CORS rule for the Blob service.",
  "properties": {
    "AllowedOrigins": {
      "type": "string",
      "description": "Comma-separated list of allowed origin domains, or * for all"
    },
    "AllowedMethods": {
      "type": "string",
      "description": "Comma-separated list of allowed HTTP methods (GET, PUT, etc.)"
    },
    "AllowedHeaders": {
      "type": "string",
      "description": "Comma-separated list of allowed request headers"
    },
    "ExposedHeaders": {
      "type": "string",
      "description": "Comma-separated list of response headers exposed to the client"
    },
    "MaxAgeInSeconds": {
      "type": "integer",
      "description": "Maximum number of seconds the browser should cache the preflight response"
    }
  }
}