GroundPlane.Contracts.Fence.CredentialScope (GroundPlane Contracts v0.1.0)

Copy Markdown View Source

Credential materialization scope facts for a fenced lease.

Summary

Types

t()

@type t() :: %GroundPlane.Contracts.Fence.CredentialScope{
  attach_grant_ref: term(),
  credential_handle_ref: term(),
  credential_lease_ref: term(),
  fence_token: term(),
  operation_class: term(),
  operation_policy_ref: term(),
  resource_account_ref: term(),
  resource_family: term(),
  resource_instance_ref: term(),
  target_ref: term(),
  tenant_id: term()
}

Functions

checks()

@spec checks() :: keyword(atom())

new(attrs)

@spec new(map() | keyword()) :: {:ok, t()} | {:error, term()}

to_map(scope)

@spec to_map(t()) :: map()