types.NodeIdentity
CredentialValidUntil is the wall-clock deadline after which the enrollment credential is no longer trusted. Enforced at every credential-issuance check. Zero value means no expiry (e.g. legacy bootstrap-token enrollments retained for backward compatibility).
EnrolledAt is when the identity row was first written.
EnrolledBy identifies the principal that triggered enrollment when
applicable (e.g. the operator who minted a bootstrap token, formatted as
"user:
EnrollmentClaims is the verifier-specific JSON of attributes extracted from the credential at enrollment, preserved as raw bytes so claim shape remains source-faithful for audit and downstream policy.
EnrollmentIdentityURI is the canonical identity string extracted from the verified credential at enrollment (e.g. an x509 SAN, an OIDC sub claim, a cloud instance ARN). Used to detect identity drift on refresh.
EnrollmentSourceID is a logical reference to the trust-anchor record that authorized this enrollment. Empty for bootstrap_token enrollments, which carry no anchor.
EnrollmentSourceType identifies the trust authority that validated the node at enrollment (e.g. bootstrap_token, x509_ca, oidc_issuer).
Possible values: [bootstrap_token, x509_ca, oidc_issuer, aws_iid, gcp_iit, azure_msi, tpm_ek, spire_bundle]
LastRevocationCheckAt is the timestamp of the most recent successful poll against the source's revocation mechanism (CRL/OCSP for x509, JWKS-availability for OIDC). Zero value means the source has no explicit revocation channel or has never been polled.
PublicKey is the node's locally-generated Ed25519 public key (32 bytes raw). The matching private key never leaves the node and is used to sign proof-of-possession on credential requests.
PublicKeyFingerprint is the lowercase hex SHA-256 of PublicKey, indexed for fast lookup. Set whenever PublicKey is set.
Status is the lifecycle state of this identity binding (active, suspended, or revoked). See NodeIdentityStatus for transition rules.
Possible values: [active, suspended, revoked]
StatusChangedAt is when Status was last updated.
StatusChangedBy identifies the actor that drove the most recent status
change (e.g. "user:
{
"credential_valid_until": "string",
"enrolled_at": "string",
"enrolled_by": "string",
"enrollment_claims": [
0
],
"enrollment_identity_uri": "string",
"enrollment_source_id": "string",
"enrollment_source_type": "bootstrap_token",
"last_revocation_check_at": "string",
"public_key": [
0
],
"public_key_fingerprint": "string",
"status": "active",
"status_changed_at": "string",
"status_changed_by": "string"
}