Documentation
¶
Index ¶
Constants ¶
View Source
const MaxTTLInSeconds = 21600
MaxTTLInSeconds defines the maximum duration of a session token
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type V2 ¶
type V2 struct { // Expire contains a time and date of when this token will expire, // resulting in all IMDSv2 bases requests to be rejected Expire time.Time `json:"expire"` }
V2 defines a session orientated token that embeds a TTL for expiration checks
Click to show internal directories.
Click to hide internal directories.