Access Control & Security

Two settings — and one of them ships differently here than on every other product.

deploymentNetworkTemplate

{
  "name": "deploymentNetworkTemplate",
  "options": {
    "secureDeploymentNetwork": false
  }
}

Chooses between Akamai's two HTTPS security levels.

  • false — Standard TLS. Ships as this. A Level 1 certificate network: SOX and ISO compliant, but not PCI or FedRAMP. Edge hostnames use the edgesuite.net suffix.
  • true — Enhanced TLS. A Level 3 certificate network for high-assurance requirements: fully PCI and FedRAMP compliant, best for PII, payment, or financial data, and able to support non-SNI configurations for legacy clients. Edge hostnames use the edgekey.net suffix.

Enhanced TLS depends on your contract. In the product definition, secureIncluded and sharedCertSslIncluded tell you what your contract includes.

📘

Worth a second look on an API

API configurations routinely carry authenticated and transactional traffic, which is what Enhanced TLS exists for. The template ships Standard TLS because it's the level every contract can use — not because it's the right answer for a payments endpoint.

allowMethodsTemplate

{
  "name": "allowMethodsTemplate",
  "options": {
    "allowAllHttpInCacheHierarchy": true,
    "allowPost": true,
    "allowPostWithoutContentLength": false,
    "allowOptions": true,
    "allowPut": true,
    "allowPatch": true,
    "allowDelete": true,
    "allowDeleteWithBody": false
  }
}

GET and HEAD are always permitted and aren't options here. Everything else is explicit — and this is where the API Acceleration template diverges sharply from the web delivery products, which deny PUT, PATCH, and DELETE.

OptionShips asWhy
allowAllHttpInCacheHierarchytruePermits all methods across cache-hierarchy parents, which SiteShield and SureRoute rely on. SureRoute is on in this same template.
allowPosttrueForwards POST to your origin; responses aren't cached. Without it, POST is denied with 403 Forbidden.
allowPostWithoutContentLengthfalseAkamai normally requires Content-Length on POST and returns 411 Length Required without it, even for an empty body. Enabling this affects all write methods in your default settings — turn it on only if your origin can handle undeclared body sizes.
allowOptionstrueBrowsers use OPTIONS to preflight, and full CORS support requires allowing OPTIONS. Blocked, it returns 501 Not Implemented and browser-based API clients break with a CORS error that doesn't mention the real cause.
allowPuttrueAllowed, unlike on the web delivery products. REST APIs use PUT to create and replace resources, so denying it would break ordinary traffic. Note that PUT requests aren't cached.
allowPatchtrueAllowed for the same reason: partial updates are normal API traffic, not an attack.
allowDeletetrueAllowed for the same reason. It makes allowDeleteWithBody available.
allowDeleteWithBodyfalseA DELETE carrying a request body. Off by default because the semantics are poorly specified and most servers ignore the body — enable it only if your API genuinely defines one.
❗️

The edge is not your authorization layer

With the write methods open, the edge forwards PUT, PATCH, and DELETE to your origin and your origin alone decides who may call them. That's the intended division of labor, but it's worth stating plainly: nothing in these default settings authenticates a caller. If some endpoints should never accept writes, deny those methods in a rule scoped to their paths rather than relying on your origin to reject them.