Security in Domains & certificates

Who may add, verify, use and delete a domain (IAM), what is recorded in the audit log, and who may hold a name.

Last updated 30 November 2026View as Markdown

IAM actions

A domain's resource name has no region and carries the domain's name: rn:ews::<organization id>:domains:domain/<name>, so a policy can say domain/*.example.com. Listing domains is checked against rn:ews::<organization id>:domains:*.

ActionAccessWhat it allows
domains:ListDomainsReadList the organization’s own domains with their verification and certificate state
domains:GetDomainReadRead a domain: the record that proves it, its certificate and where it is used
domains:CreateDomainWriteAdd a domain (and optionally every name one label under it) to be proven
domains:VerifyDomainWriteLook for the domain’s proof now and, once proven, issue its certificate
domains:UseDomainWriteServe a name of the domain on an endpoint (with the endpoint’s own permission)
domains:DeleteDomainWrite · destructiveDelete a domain that is not used anywhere, and its certificate

Generated from the service’s IAM descriptor. Sensitive reads hand over secret material or source code and are recorded in the audit log like writes; destructive writes delete, overwrite or revoke.

  • Serving a name of a domain on an endpoint needs domains:UseDomain on the domain and the endpoint's own permission. A person who may change a function but not use the domain cannot put the domain on it.
  • Verify now needs domains:VerifyDomain; it also retries a failed certificate.

Audit

Every add, verify, use and delete, allowed or refused, is recorded in the audit log with the domain's resource name.

Who may hold a name

Only a verified domain holds a name, and only for one organization: no other organization can verify the same name, a name under it or a name above it. An organization may add a name another one has verified, but it stays Waiting for proof. A domain that is added and never proven holds nothing.

Cookies under a shared domain

Every name under a domain belongs to the same site in a browser: a page served at one name can set a cookie for the whole domain, and the browser sends cookies set for the domain to every name under it. Serve code you do not trust under a registrable domain of its own, or have that domain listed on the Public Suffix List, so each name under it is its own site.

Did this page help you?