Packages

Client library that reads secrets and other configuration from 1Password Connect Servers

Current section

Files

Jump to
one_password_connect lib connect vault.ex
Raw

lib/connect/vault.ex

defmodule OnePassword.Connect.Vault do
@type t :: %__MODULE__{
id: String.t(),
name: String.t(),
items: [VaultItem.t()] | nil
}
defstruct [
:id,
:name,
:items
]
def from_raw(map) do
%__MODULE__{
id: map["id"],
name: map["name"],
items: []
}
end
end