interface Key {
    createdAt?: Date;
    description?: string;
    id: string;
    locked: boolean;
    name: string;
    origin: KeyOrigin;
    projectId: string;
    protected: boolean;
    region: Region;
    rotatedAt?: Date;
    rotationCount: number;
    rotationPolicy?: KeyRotationPolicy;
    state: KeyState;
    tags: string[];
    updatedAt?: Date;
    usage?: KeyUsage;
}

Properties

createdAt?: Date

Key creation date.

description?: string

Description of the key.

id: string

ID of the key.

locked: boolean

Returns true if the key is locked.

name: string

Name of the key.

origin: KeyOrigin

Refer to the Key.Origin enum for a description of values.

projectId: string

ID of the Project containing the key.

protected: boolean

Returns true if key protection is applied to the key.

region: Region

Region where the key is stored.

rotatedAt?: Date

Key last rotation date.

rotationCount: number

The rotation count tracks the number of times the key has been rotated.

rotationPolicy?: KeyRotationPolicy

Key rotation policy.

state: KeyState

See the Key.State enum for a description of possible values.

tags: string[]

List of the key's tags.

updatedAt?: Date

Key last modification date.

usage?: KeyUsage

Keys with a usage set to symmetric_encryption can encrypt and decrypt data using the AES-256-GCM key algorithm. Key Manager currently only supports AES-256-GCM.