Skip to content

Commit 44191a1

Browse files
authored
feat(secret-manager): add is_latest field to SecretVersion (#1628)
1 parent b947bc6 commit 44191a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/secret/v1alpha1/secret_sdk.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ type SecretVersion struct {
232232
// * `destroyed`: the version is permanently deleted. It is not possible to recover it.
233233
// Default value: unknown
234234
Status SecretVersionStatus `json:"status"`
235+
// IsLatest: true if the version is the latest one.
236+
IsLatest bool `json:"is_latest"`
235237
// CreatedAt: date and time of the version's creation.
236238
CreatedAt *time.Time `json:"created_at"`
237239
// UpdatedAt: last update of the version.

0 commit comments

Comments
 (0)