Skip to content

LocalExecHandler

Module: local_exec::handler::LocalExecHandler

Section titled “Module: local_exec::handler::LocalExecHandler”

Functions

  • decide - Produce a governance decision for one local-exec request.
  • decide_management - Process an operator management command (approve or revoke).
  • new - Build a handler using the default [InMemoryTokenStore].
  • with_store - Build a handler with a custom token store.

firma_sidecar::local_exec::handler::LocalExecHandler::decide

Section titled “firma_sidecar::local_exec::handler::LocalExecHandler::decide”

Function

Produce a governance decision for one local-exec request.

fn decide(self: &Self, request: &LocalExecRequest) -> LocalExecResponse

firma_sidecar::local_exec::handler::LocalExecHandler::decide_management

Section titled “firma_sidecar::local_exec::handler::LocalExecHandler::decide_management”

Function

Process an operator management command (approve or revoke).

fn decide_management(self: &Self, request: &LocalExecManagementRequest) -> LocalExecManagementResponse

firma_sidecar::local_exec::handler::LocalExecHandler::new

Section titled “firma_sidecar::local_exec::handler::LocalExecHandler::new”

Function

Build a handler using the default [InMemoryTokenStore].

fn new(config: LocalExecHandlerConfig) -> Self

firma_sidecar::local_exec::handler::LocalExecHandler::with_store

Section titled “firma_sidecar::local_exec::handler::LocalExecHandler::with_store”

Function

Build a handler with a custom token store.

fn with_store(config: LocalExecHandlerConfig, store: Arc<dyn TokenStore>) -> Self