---
title: "ezgh certificates domains create"
description: "Authorize a domain."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh certificates domains create

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh certificates domains create <domain> [--dns-zone zone|auto] [flags]
```

Authorize a domain for public certificates. With `--dns-zone`, EZGH writes the validation records into that zone (needs dns.records.update on it); auto picks the project's zone that covers the domain. If the organization already has an authorization for the domain, it is returned, and linked when `--dns-zone` is given.

Part of [`ezgh certificates domains`](/cli/reference/certificates-domains).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--dns-zone` | string |  | write the validation records into this EZGH DNS zone (zon\_… ID, domain, or auto) |
| `--name` | string |  | a name for the authorization |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/certificates-domains-create/index.mdx
