type
APIKeyInfo
Safe metadata for an existing API key.
Properties
| Property | Type | Description |
|---|---|---|
ID | string | The stable revocable key identifier. |
Name | string | The author-facing key label. |
CreatedAt | time.Time | When the key was created. |
LastUsedAt | time.Time | When the key was last accepted. |
ExpiresAt | time.Time | When the key expires, or the zero time when it does not. |
Full signature
type APIKeyInfo struct {
ID string
Name string
CreatedAt time.Time
LastUsedAt time.Time
ExpiresAt time.Time
}