AuthorityPage

Properties

PropertyTypeDescription
pki_organizations_id string (snowflake) Required The organization's ID.
pki_organizations_name string Required Name of the organization (a customer, product, or team that owns authorities, certificates, and machines), up to 100 characters.
pki_agencies_id string (snowflake) Required The agency ID, or for an organization, the ID of its parent agency.
pki_agencies_name string Required Name of your company or agency (up to 100 characters) that owns its organizations.
authorities_id string (snowflake) Required The authority's ID.
authorities_name string Required Display name for the authority in ZanPKI (up to 100 characters). Exported files use this name.
authorities_common_name string Required The authority's subject common name (CN), such as Acme Internal Root CA.
authorities_created_at integer (int64) Required When the authority certificate becomes valid (Not Before), in seconds since the Unix epoch.
authorities_expires_at integer (int64) Required When the authority certificate expires (Not After), in seconds since the Unix epoch.
serial string Required Serial number of the authority certificate, formatted as colon-separated uppercase hex pairs.
authorities_key_type one of: 1, 2, 3, 4, 5, 6, 7, 8, 9 Required RSA 4096 is the default, because every browser and almost all software accept it. ML-DSA-87 is the strongest level of ML-DSA, the post-quantum signature standard. In our tests, Chrome accepted ML-DSA certificates, but Safari and Java refused them, and Firefox hasn't been tested, so use ML-DSA only where you control the software that checks the certificates. Choose an elliptic curve only for clients that need one.
key_type_label string Required Display label for the key type: RSA 2048, RSA 3072, RSA 4096, EC P-256, EC P-384, EC P-521, ML-DSA-44, ML-DSA-65, or ML-DSA-87.
authorities_digest one of: 1, 2, 3, 4 Required Signature hash algorithm for the authority certificate. Leave it blank to match the signing key: SHA-384 for RSA 4096 and EC P-384, SHA-512 for EC P-521, and SHA-256 for RSA 2048, RSA 3072, and EC P-256. ML-DSA keys always sign with pure ML-DSA, which has no separate hash.
digest_label string Required Display label for the signature hash algorithm: SHA-256, SHA-384, SHA-512, or pure ML-DSA.
authorities_status one of: 1, 2 Required Authority status: 1 (active, valid until expiration) or 2 (revoked, published on the issuer's CRL). An active authority past its expiration date is shown as expired in status_label.
status_label string Required Display label for the authority's status: Active, Revoked, or Expired (for an active authority past its expiration date).
authorities_revoked_at integer (int64), or null Required When the authority was revoked, in seconds since the Unix epoch, or null if not revoked.
authorities_revocation_reason one of: 0, 1, 2, 3, 4, 5, 9, null Required Revocation reason recorded on the issuer's CRL: 0 (unspecified), 1 (key compromised), 2 (authority compromised), 3 (affiliation changed), 4 (superseded), 5 (no longer in use), or 9 (privilege withdrawn). Null if not revoked.
revocation_reason_label string, or null Required Display label for the revocation reason (such as Key compromised), or null if not revoked.
revocation_list_url string (uri), or null Required Public HTTP URL of the authority's certificate revocation list (CRL), or null if none has been published yet.
revocation_list_next_update integer (int64), or null Required When the next CRL update is due, in seconds since the Unix epoch, or null if no CRL exists or an update is due now.
revocation_list_due boolean Required Whether a CRL publish is due now (no CRL exists yet, the current CRL has expired, or a revocation is not yet included). True only for an active, unexpired authority whose private key is stored in ZanPKI.
may_publish_revocation_list boolean Required Whether you can publish this authority's CRL now. Requires an active, unexpired authority with its private key stored in ZanPKI, plus the authorities:manage or certificates:issue permission.
authorities_issuer_authority_id string (snowflake), or null Required ID of the organization's authority that signed this authority, or null if it is self-signed or signed by an external issuer.
issuer_name string, or null Required Name of the signing authority in ZanPKI, or null if this authority is self-signed or signed by an external issuer.
revoked_above_name string, or null Required Name of the nearest revoked authority in the issuer chain, or null if none is revoked. Clients reject all certificates beneath a revoked authority.
signs_itself boolean Required Whether this is a self-signed root authority (the certificate's issuer matches its subject).
authorities_origin one of: 1, 2, 3, 4 Required Origin of the authority: 1 (internal, created by ZanPKI), 2 (imported), or 3 (public authority representing a public CA such as Let's Encrypt, ZeroSSL, or Google, with no private key stored in ZanPKI).
origin_label string Required Display label for the authority's origin: Internal, Imported, or Public authority.
holds_private_key boolean Required Whether ZanPKI stores this authority's private key so it can sign certificates and CRLs. False for authorities imported without a key and for public authorities.
country string, or null Required Two-letter ISO country code, such as US.
state string, or null Required The subject's state or province, up to 64 characters; empty for none.
city string, or null Required The subject's city or locality, up to 64 characters; empty for none.
organization string, or null Required Company or organization name in the certificate subject (up to 64 characters), or empty if none.
unit string, or null Required A department or team within the subject's organization, up to 64 characters; empty for none.
email string, or null Required Email address in the certificate subject, or empty if none. Must be permitted by the signing authority and its issuer chain.
permitted_names list of string Required Permitted name constraints from the authority certificate, formatted in OpenSSL style, such as DNS:example.com or IP:192.0.2.0/24. Only these names may be certified by this authority and its intermediates. Empty if unconstrained.
excluded_names list of string Required Excluded name constraints from the authority certificate, formatted in OpenSSL style (for example, DNS:every name when only IP ranges are permitted); empty if none.
may_create_intermediate boolean Required Whether you can create an intermediate authority under this authority now. Requires authorities:manage, an active and unexpired authority with its private key stored in ZanPKI, no revoked issuer in the chain, and remaining path length capacity.
may_revoke boolean Required Whether you can revoke this authority now. Requires authorities:manage, an active authority, and an active, unexpired issuer whose private key is stored in ZanPKI.
fingerprint_sha256 string Required SHA-256 fingerprint of the authority certificate, formatted as colon-separated uppercase hex pairs.
may_export_private_key boolean Required Whether your roles allow exporting this authority's private key (authorities:manage). Exporting also requires the private key to be stored in ZanPKI.
may_delete boolean Required Whether your roles allow deleting this authority (authorities:manage).
revocation_list_named string, or null Required External CRL distribution URL embedded in the authority certificate when it differs from the issuer's ZanPKI CRL (for example, if signed before the issuer was imported). Null if it matches ZanPKI's CRL, has none, or the issuer is not in ZanPKI.
members list of MemberLine Required Users and machines assigned a role directly on this authority, each with a DELETE path to remove those roles. Empty if the caller only has roles scoped below the organization level.
organization_members list of MemberLine Required Organization members and machines eligible to be assigned a role on this authority (deduplicated). Populated only for callers who can manage members here.
may_manage_members boolean Required Whether your roles allow assigning and removing roles on this authority (members:manage).

Used by

MethodPathSummary
GET /organizations/{organizationId}/authorities/{authorityId} Show details for a certificate authority.

All documentation