Type Alias ApiKeyWithToken

type ApiKeyWithToken = {
    created?: string;
    createdByUser: string;
    description: string;
    expiry: string;
    id: string;
    lastUpdated?: string;
    status: "active" | "expired" | "revoked";
    sub: string;
    subType: "user";
    tenantId: string;
    token: string;
}
Index

Properties

created?: string

When the API key was created.

createdByUser: string

The id of the user who created the key.

description: string

A description for the API key.

expiry: string

When the API key will expire and no longer be a valid authentication token.

id: string

The unique ID for the resource.

lastUpdated?: string

When the API key was last updated.

status: "active" | "expired" | "revoked"

The status of the API key.

sub: string

The ID of the subject for the API key.

subType: "user"

Type of the subject.

tenantId: string

The tenant ID.

token: string

The generated signed JWT.