Request payload for POST /v1/tls-certificates/ (control-plane host) —
issues a new mTLS client certificate.
Build one with new/1 rather than constructing the struct directly.
Summary
Functions
Builds and validates a TLS certificate request.
Types
@type t() :: %Triple.Types.TLSCertificateRequest{ lifetime: pos_integer() | nil, public_key: String.t() | nil }
Functions
@spec new(map() | keyword()) :: {:ok, t()} | {:error, Triple.Error.t()}
Builds and validates a TLS certificate request.
:public_key— PEM-encoded RSA (>= 2048-bit) or ECDSA public key (required):lifetime— validity in days,60..365(required)
Returns {:ok, t()} or {:error, %Triple.Error{type: :validation}}.