Skip to content
Cloud Governance Tools

Restrict unencrypted HTTP access to Cloud Storage

Restrict unencrypted HTTP access to Cloud Storage is a Google Cloud guardrail written in organization Policy Service. Explicitly denies HTTP (unencrypted) access to all storage resources. What it breaks: google documents that the Cloud Storage XML API allows unencrypted HTTP by default, so clients using it over HTTP are refused once the constraint is enforced.

More encryption and keys guardrails ยท About Organization Policy Service

constraints/storage.secureHttpTransport
This boolean constraint, when enforced, explicitly denies HTTP (unencrypted) access to all storage resources. By default, the Cloud Storage XML API allows unencrypted HTTP access. Note that the Cloud Storage JSON API, gRPC, and Cloud console only allow encrypted HTTP access to Cloud Storage resources.
Blocks
Explicitly denies HTTP (unencrypted) access to all storage resources. (legacy managed constraint, boolean.)
Breaks
Google documents that the Cloud Storage XML API allows unencrypted HTTP by default, so clients using it over HTTP are refused once the constraint is enforced. (source)
Test before applying
As for every Organization Policy Service guardrail: how to test before enforcing
Mechanism
Organization Policy Service (managed and legacy constraints): Resources in the organization, folder or project where the policy is set and its descendants; Google says application of new policies is usually not retroactive.
Taken from
provider documentation, provider documentation

What the source says

"This boolean constraint, when enforced, explicitly denies HTTP (unencrypted) access to all storage resources." (read 10 Nov 2026).

On what it breaks: "By default, the Cloud Storage XML API allows unencrypted HTTP access."

Sources

  1. Restrict unencrypted HTTP access to Cloud Storage, read 10 Nov 2026
  2. How to test it first, read 10 Nov 2026

Last reviewed 16 Nov 2026.