ASM-local runtime-auth context for standalone provider execution.
This module is intentionally owner-local to ASM. It records standalone execution context and connector evidence, but it does not issue durable credential leases or assert governed authority.
Summary
Types
@type mode() :: :standalone | :governed
@type t() :: %ASM.RuntimeAuth{ connector_binding: ASM.RuntimeAuth.ConnectorBinding.t(), connector_instance: ASM.RuntimeAuth.ConnectorInstance.t(), connector_invocation_evidence: map(), execution_context: ASM.RuntimeAuth.ExecutionContext.t(), mode: mode(), provider_account_identity: ASM.RuntimeAuth.ProviderAccountIdentity.t(), provider_auth_backend: atom() }
Functions
@spec accept_handoff( ASM.RuntimeAuth.HandoffPacket.t() | map(), keyword() ) :: {:ok, map()} | {:error, ASM.Error.t()}
@spec authorize_governed_provider_runtime(atom(), map(), keyword()) :: :ok | {:error, ASM.Error.t()}
@spec for_run(t(), String.t(), keyword()) :: {:ok, t()} | {:error, ASM.Error.t()}
@spec handoff_packet( t(), keyword() ) :: {:ok, ASM.RuntimeAuth.HandoffPacket.t()} | {:error, ASM.Error.t()}
@spec new(String.t(), atom(), keyword()) :: {:ok, t()} | {:error, ASM.Error.t()}
@spec option_keys() :: [atom()]
@spec provider_account_statuses() :: [atom()]