Skip to main content

Interface: X509SVID

Defined in: src/types/interfaces/zero-trust.interface.ts:27

SPIFFE Verifiable Identity Document (SVID).

Remarks​

X.509 certificate containing SPIFFE ID.

Properties​

certChain​

readonly certChain: readonly string[]

Defined in: src/types/interfaces/zero-trust.interface.ts:44

X.509 certificate chain (PEM encoded).

Remarks​

First certificate is the SVID, followed by intermediate CAs.


expiresAt​

readonly expiresAt: Date

Defined in: src/types/interfaces/zero-trust.interface.ts:57

Certificate expiration timestamp.


notBefore​

readonly notBefore: Date

Defined in: src/types/interfaces/zero-trust.interface.ts:62

Certificate not-before timestamp.


privateKey?​

readonly optional privateKey: string

Defined in: src/types/interfaces/zero-trust.interface.ts:52

Private key (PEM encoded).

Remarks​

Only available when fetching own SVID.


spiffeId​

readonly spiffeId: string

Defined in: src/types/interfaces/zero-trust.interface.ts:36

SPIFFE ID.

Remarks​

Format: spiffe://trust-domain/path

Example​

"spiffe://chive.pub/ns/production/sa/appview-service"