Skip to content

public.jwt_keys

Description

Labels

svc-portal

Columns

NameTypeDefaultNullableChildrenParentsComment
key_idvarchar(64)falseKey identifier used as 'kid' in JWT header.
key_typevarchar(50)falseKey type: HUMAN or DEVICE.
private_key_encryptedtextfalseEncrypted EC P-256 private key (PEM).
public_key_pemtextfalseEC P-256 public key (PEM).
is_activebooleanfalseKey active status. Inactive keys cannot sign new tokens.
created_attimestamp with time zonefalseKey creation timestamp.
rotated_attimestamp with time zonetrueKey rotation timestamp.

Viewpoints

NameDefinition
Authentication & SessionsUser authentication, MFA, sessions, and audit logs

Constraints

NameTypeDefinition
jwt_keys_pkeyPRIMARY KEYPRIMARY KEY (key_id)

Indexes

NameDefinition
jwt_keys_pkeyCREATE UNIQUE INDEX jwt_keys_pkey ON public.jwt_keys USING btree (key_id)
ix_jwt_keys_is_activeCREATE INDEX ix_jwt_keys_is_active ON public.jwt_keys USING btree (is_active)
ix_jwt_keys_key_typeCREATE INDEX ix_jwt_keys_key_type ON public.jwt_keys USING btree (key_type)

Relations


Generated by tbls

MPAC — MP-Solution Advanced Cloud Service