interface SecretVersion {
    createdAt?: Date;
    description?: string;
    ephemeralProperties?: Secret.v1alpha1.EphemeralProperties;
    isLatest: boolean;
    revision: number;
    secretId: string;
    status: Secret.v1alpha1.SecretVersionStatus;
    updatedAt?: Date;
}

Properties

createdAt?: Date

Date and time of the version's creation.

description?: string

Description of the version.

ephemeralProperties?: Secret.v1alpha1.EphemeralProperties

Returns the version's expiration date, whether it expires after being accessed once, and the action to perform (disable or delete) once the version expires.

isLatest: boolean

Returns true if the version is the latest.

revision: number

The first version of the secret is numbered 1, and all subsequent revisions augment by 1.

secretId: string

ID of the secret.

  • unknown: the version is in an invalid state. enabled: the version is accessible. disabled: the version is not accessible but can be enabled. destroyed: the version is permanently deleted. It is not possible to recover it.
updatedAt?: Date

Last update of the version.