CreatePublicAuthorityBody

Properties

PropertyTypeDescription
authorities_name string Required What you call the authority in ZanPKI, up to 100 characters; its exported files are named after it.
public_authority_settings_directory one of: 1, 2, 3, 4 Required Who signs its certificates. Let's Encrypt staging signs certificates no client trusts: try it there first.
public_authority_settings_eab_key_id string Optional ZeroSSL and Google only: the account-binding key id from your account there.
public_authority_settings_eab_mac_key string (secret) Optional, write-only ZeroSSL and Google only: the account-binding MAC key that goes with it. Kept sealed; used once, when the account is opened.
public_authority_settings_domains string Optional The public domains whose DNS your provider below holds, separated by spaces, commas or lines: ZanPKI proves names under them with a DNS record. Leave empty for an authority that only takes certificate requests for hostnames ZFrame serves, proved over HTTP.
public_authority_settings_dns_provider one of: 1, 2 Optional Where the domains' DNS is held, so ZanPKI can prove names under them with a DNS record: 1 DNSimple, with your account there and an API token, or 2 ZanNS, ZanHosting's own. It is needed with domains; with none, the authority proves names only over HTTP, for hostnames ZFrame serves.
public_authority_settings_dns_account string Optional The provider's account whose zones hold the domains, such as DNSimple's account id. ZanNS needs none: its zones name the organization that may prove names in them.
public_authority_settings_dns_token string (secret) Optional, write-only An API token that may change the domains' records, kept sealed, opened only while proving names. ZanNS needs none.

Used by

MethodPathSummary
POST /organizations/{organizationId}/authorities/public Add a public certificate authority (Let's Encrypt, ZeroSSL or Google Trust Services) as one of the organization's authorities.

All documentation

0 database statements · 13 reads from the cache · 0.0 ms waiting for the database · 28.0 MiB peak memory
public.settingsSELECTfrom the cache
public.mesh_nodesSELECTfrom the cache
public.fqdnsSELECTfrom the cache
public.sitesSELECTfrom the cache
public.api_buildsSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.api_buildsSELECTfrom the cache
public.docs_guidesSELECTfrom the cache