SDK reference / Models / Network

ApiKey

Kind: class

Namespace: Egulu.Sdk.Models.Network

An API key (founder, 22 Nov 2026; proposed ADR-0699): made by :issue, which returns the key once. The platform keeps the SHA-256 of the key and itsprefix, never the key: no read gives the key or its hash back. The edge compares in constant time. The key is sent in the place the API chose.

Properties

NameTypeJSON nameDescription
AnnotationsModels.Network.ApiKey_annotations?annotationsAt most 256 KiB in all; never policy input.
Consumerstring?consumerThe ID of the consumer the key belongs to.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
ExpireTimestring?expireTimeWhen the key stops working (RFC 3339, UTC); never when omitted.
LabelsModels.Network.ApiKey_labels?labelsAt most 64.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
Prefixstring?prefixThe first 11 characters of the key (`ak_` and 8 more): enough to recognise it.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
RevokeTimestring?revokeTimeWhen the key was revoked.
Revokedbool?revokedWhether the key was revoked. A revoked key stays revoked.
StateModels.Network.NetworkState?stateCurrent lifecycle state.
StateDetailsstring?stateDetailsWhat is not carried yet, or what the edge refused, when something is not.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property