WardrikCore.Principal (wardrik_core v0.1.0-rc.1)

Copy Markdown

Someone or something that can act, such as a person, a team or a service, as in IAM.

%WardrikCore.Principal{id: "user:maria", attributes: %{org: "acme", team: "finance"}}

Principals come from three places:

Core passes principals on but never reads their attributes. Those are yours, like IAM tags. Packages decide by them, such as a vault that keys secrets by id.

Summary

Types

t()

@type t() :: %WardrikCore.Principal{attributes: map(), id: String.t()}