identityPkinamespacenamespace identityPkiThe typed tables of the identityPki model, generated by IFC Data from the model. Do not edit: change the model and run bun tools/typed.ts --write.
Public-key credentials
identityPkinamespacenamespace identityPkiidentityPki.TrustAnchorRowinterfaceno test imports itinterface TrustAnchorRowWhat certificates and keys are checked against: a certificate authority, or a set of public keys
| Member | Type | What it is |
|---|---|---|
trustAnchorId | string | What identifies the trust anchor, made by the application |
trustDomain | string | The domain of trust it anchors, such as a SPIFFE trust domain |
kind | "jwks" | "x_509" | What it is |
material | string | The public certificate, or the address of the public keys; public by nature |
notAfter | Timestamp | null | When it stops being trusted |
status | "active" | "retired" | Whether it is trusted |
tenantId | string | null | The tenant it is for; empty for the platform's |
identityPki.TrustAnchorInsertinterfaceno test imports itinterface TrustAnchorInsertWhat an insert into trust_anchor takes: what the database fills may be left out.
| Member | Type | What it is |
|---|---|---|
trustAnchorId | string | |
trustDomain | string | |
kind | "jwks" | "x_509" | |
material | string | |
notAfter? | Timestamp | null | |
status | "active" | "retired" | |
tenantId? | string | null |
identityPki.TrustAnchorKeytypeno test imports ittype TrustAnchorKey = { readonly trustAnchorId: string };The key of a row of trust_anchor.
identityPki.trustAnchorconstno test imports itconst trustAnchor: Table<TrustAnchorRow, TrustAnchorInsert, "trustAnchor">What certificates and keys are checked against: a certificate authority, or a set of public keys
identityPki.CertificateRowinterfaceno test imports itinterface CertificateRowA certificate that a principal proves itself with: only the public half is kept
| Member | Type | What it is |
|---|---|---|
credentialId | string | The credential it is |
fingerprint | string | The SHA-256 thumbprint of the certificate, unique; it is also the value mutual TLS binds a token to |
serial | string | The certificate's serial number |
subjectName | string | The name the certificate is for |
sanUri | string | null | The identifier in the certificate's alternative name, such as a SPIFFE ID |
notBefore | Timestamp | When the certificate starts to be valid |
notAfter | Timestamp | When it stops |
keyAlgorithm | string | The algorithm of its key |
revokedReason | string | null | Why it was revoked, where it was |
issuerTrustAnchorId | string | null | The anchor that vouches for it |
identityPki.CertificateInsertinterfaceno test imports itinterface CertificateInsertWhat an insert into certificate takes: what the database fills may be left out.
| Member | Type | What it is |
|---|---|---|
credentialId | string | |
fingerprint | string | |
serial | string | |
subjectName | string | |
sanUri? | string | null | |
notBefore | Timestamp | |
notAfter | Timestamp | |
keyAlgorithm | string | |
revokedReason? | string | null | |
issuerTrustAnchorId? | string | null |
identityPki.CertificateKeytypeno test imports ittype CertificateKey = { readonly credentialId: string };The key of a row of certificate.
identityPki.certificateconstno test imports itconst certificate: Table<CertificateRow, CertificateInsert, "certificate">A certificate that a principal proves itself with: only the public half is kept
identityPki.CertificateSanDnsRowinterfaceno test imports itinterface CertificateSanDnsRowThe domain names in the certificate's alternative name
| Member | Type | What it is |
|---|---|---|
certificateCredentialId | string | A certificate that a principal proves itself with: only the public half is kept |
sanDns | string | The domain names in the certificate's alternative name |
identityPki.CertificateSanDnsInsertinterfaceno test imports itinterface CertificateSanDnsInsertWhat an insert into certificate_san_dns takes: what the database fills may be left out.
| Member | Type | What it is |
|---|---|---|
certificateCredentialId | string | |
sanDns | string |
identityPki.CertificateSanDnsKeytypeno test imports ittype CertificateSanDnsKey = { readonly certificateCredentialId: string; readonly sanDns: string };The key of a row of certificate_san_dns.
identityPki.certificateSanDnsconstno test imports itconst certificateSanDns: Table<CertificateSanDnsRow, CertificateSanDnsInsert, "certificateSanDns">The domain names in the certificate's alternative name