ExecutionPlane.Contracts.CredentialHandleRef.V1 (execution_plane v0.1.0)

Copy Markdown View Source

Reference to short-lived execution-time secret or workload identity material.

Summary

Types

t()

@type t() :: %ExecutionPlane.Contracts.CredentialHandleRef.V1{
  audience: String.t(),
  contract_version: String.t(),
  expires_at: String.t() | nil,
  handle_ref: String.t(),
  kind: String.t(),
  rotation_policy: String.t() | nil
}

Functions

contract_version()

@spec contract_version() :: String.t()

dump(handle)

@spec dump(t()) :: map()

new(value)

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

new!(value)

@spec new!(map() | keyword() | t()) :: t()