Current section
Files
Jump to
Current section
Files
lib/key.ex
defmodule CloudAPI.Key do
@moduledoc """
This structure represents a CloudAPI Key
"""
use Ecto.Schema
@primary_key {:fingerprint, :string, []}
embedded_schema do
field :name, :string
field :key, :string
field :attested, :boolean, default: false
field :multifactor, {:array, :string}, default: []
end
end