Inttegro.Keys.SecretKeyUsagePage (inttegro v0.2.0)

Copy Markdown View Source

Represents Secret Key Usage Page data in the Keys API.

Inttegro decodes API responses into this struct. Required fields are always present; optional fields are nil when they do not apply or were not returned. Follow the linked types in t/0 for nested domain values.

Creates, rotates, inspects, and destroys application secret keys.

A newly generated token is returned once. Store it immediately in a secret manager and never expose it to browser or mobile code. Lookup and usage operations return metadata, not the original token.

Summary

Types

t()

The decoded secret key usage page value.

Functions

Builds a Inttegro.Keys.SecretKeyUsagePage and raises KeyError when a required field is missing.

Types

t()

@type t() :: %Inttegro.Keys.SecretKeyUsagePage{
  count: integer(),
  has_more: boolean(),
  number: integer(),
  rows: [Inttegro.Keys.SecretKeyUsageRow.t()],
  size: integer(),
  total: integer()
}

The decoded secret key usage page value.

Functions

new!(attrs \\ %{})

@spec new!(map() | keyword()) :: t()

Builds a Inttegro.Keys.SecretKeyUsagePage and raises KeyError when a required field is missing.