Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fields required to support self-managed certificates #37

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions management/custom_domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ type CustomDomain struct {
// "disabled", "pending", "pending_verification" or "ready"
Status *string `json:"status,omitempty"`

// The origin domain name that the CNAME or reverse proxy should be pointed
// to.
OriginDomainName *string `json:"origin_domain_name,omitempty"`

// For self-managed certificates, when the verification completes for the
// first time, this field will be set to the value the reverse proxy should
// send in the cname-api-key header field.
CNAMEAPIKey *string `json:"cname_api_key,omitempty"`

// The custom domain verification method. The only allowed value is "txt".
VerificationMethod *string `json:"verification_method,omitempty"`

Expand Down
16 changes: 16 additions & 0 deletions management/management.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.