# Functions
Run takes the given context and RunState and starts up a sansshell server.
WithAuthzHook adds an additional authz hook to be applied to the server.
WithCredSource applies a registered credential source with the mtls package.
WithDebugPort opens an additional port for a http debug page.
WithHostport applies the host:port to run the server.
WithJustification applies the justification param.
WithJustificationFunc applies a justification function.
WithLogger applies a logger that is used for all logging.
WithMetricsPort opens a HTTP endpoint for publishing metrics at the given addr and initializes metrics exporter.
WithMetricsRecorder enables metric instrumentations by inserting grpc metric interceptors and attaching recorder to the server runstate.
WithOtelTracing adds the OpenTelemetry gRPC interceptors to both stream and unary servers The interceptors collect and export tracing data for gRPC requests and responses.
WithParsedPolicy applies an already-parsed OPA policy used against incoming RPC requests.
WithPolicy applies an OPA policy used against incoming RPC requests.
WithRawServerOption allows one access to the RPC Server object.
WithRefreshCredsOnSIGHUP will make sansshell-server refresh its credentials via its credential loader when it receives a SIGHUP signal.
WithStreamInterceptor adds an additional stream server interceptor.
WithTlsConfig applies a supplied tls.Config object to the gRPC server.
WithUnaryInterceptor adds an additional unary server interceptor.
# Interfaces
No description provided by the author