type

APIKey

A newly minted API key including its one-time secret.

Source ridu.go:47

IDstring
The stable revocable key identifier.
Namestring
The author-facing key label.
Keystring
The raw bearer secret, shown only at creation.
CreatedAttime.Time
When the key was created.
ExpiresAttime.Time
When the key expires, or the zero time when it does not.

Key is a bearer secret. Persist it in the caller’s secret store because Ridu cannot display it again.