type
APIKey
A newly minted API key including its one-time secret.
Properties
| Property | Type | Description |
|---|---|---|
ID | string | The stable revocable key identifier. |
Name | string | The author-facing key label. |
Key | string | The raw bearer secret, shown only at creation. |
CreatedAt | time.Time | When the key was created. |
ExpiresAt | time.Time | When the key expires, or the zero time when it does not. |
How it works
Key is a bearer secret. Persist it in the caller’s secret store because Ridu cannot display it again.