Lightning.Credentials.CredentialBody (Lightning v2.14.11-pre1)

View Source

Per-environment credential body storage.

Each credential can have multiple environment variants (e.g., "main", "staging", "prod") with different configuration values.

Summary

Types

t()

@type t() :: %Lightning.Credentials.CredentialBody{
  __meta__: Ecto.Schema.Metadata.t(),
  body: map() | nil,
  credential:
    Lightning.Credentials.Credential.t() | Ecto.Association.NotLoaded.t(),
  credential_id: Ecto.UUID.t(),
  id: Ecto.UUID.t() | nil,
  inserted_at: DateTime.t() | nil,
  name: String.t(),
  updated_at: DateTime.t() | nil
}

Functions

changeset(credential_body, attrs)