Skip to content

Commit

Permalink
Add fields required to support self-managed certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
impl committed Apr 1, 2022
1 parent 7d73f02 commit 0874e7b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
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.

0 comments on commit 0874e7b

Please sign in to comment.