Skip to content
Start here

Custom Csrs

List Custom CSRs
client.CustomCsrs.List(ctx, params) (*V4PagePaginationArray[CustomCsrListResponse], error)
GET/{accounts_or_zones}/{account_or_zone_id}/custom_csrs
Create Custom CSR
client.CustomCsrs.New(ctx, params) (*CustomCsrNewResponse, error)
POST/{accounts_or_zones}/{account_or_zone_id}/custom_csrs
Custom CSR Details
client.CustomCsrs.Get(ctx, customCsrID, query) (*CustomCsrGetResponse, error)
GET/{accounts_or_zones}/{account_or_zone_id}/custom_csrs/{custom_csr_id}
Delete Custom CSR
client.CustomCsrs.Delete(ctx, customCsrID, body) (*CustomCsrDeleteResponse, error)
DELETE/{accounts_or_zones}/{account_or_zone_id}/custom_csrs/{custom_csr_id}
ModelsExpand Collapse
type CustomCsr struct{…}

A custom Certificate Signing Request (CSR).

ID string

Custom CSR identifier tag.

maxLength36
CreatedAt Time

When the CSR was created.

formatdate-time
KeyType CustomCsrKeyType

The key algorithm used to generate the CSR.

One of the following:
const CustomCsrKeyTypeRsa2048 CustomCsrKeyType = "rsa2048"
const CustomCsrKeyTypeP256v1 CustomCsrKeyType = "p256v1"
CommonName stringOptional

The common name (domain) for the CSR.

maxLength64
Country stringOptional

Two-letter ISO 3166-1 alpha-2 country code.

Csr stringOptional

The PEM-encoded Certificate Signing Request.

Locality stringOptional

City or locality name.

Organization stringOptional

Organization name.

OrganizationalUnit stringOptional

Organizational unit for the CSR subject.

Sans []stringOptional

Subject Alternative Names included in the CSR.

State stringOptional

State or province name.