Inttegro.Keys.SecretKeyUsageRow (inttegro v0.2.0)

Copy Markdown View Source

Represents Secret Key Usage Row 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 row value.

Functions

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

Types

t()

@type t() :: %Inttegro.Keys.SecretKeyUsageRow{
  auth_result: Inttegro.Keys.SecretKeyAuthResult.t(),
  occurred_at: String.t(),
  secret_key_id: String.t()
}

The decoded secret key usage row value.

Functions

new!(attrs \\ %{})

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

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