pub struct AccessConnectorConfig {Show 13 fields
pub(crate) api_url: String,
pub(crate) identity_url: String,
pub(crate) token: AccessToken,
pub(crate) poll_interval: Duration,
pub(crate) heartbeat_interval: Duration,
pub(crate) offline_grace: Duration,
pub(crate) retry_cfg: RetryCfg,
pub(crate) script_root: Option<PathBuf>,
pub(crate) script_timeout: Duration,
pub(crate) powershell_path: Option<PathBuf>,
pub(crate) powershell_execution_policy: String,
pub(crate) entra_verify_probe: bool,
pub(crate) targets: HashMap<Uuid, TargetEntry>,
}Expand description
Configuration for the connector run loop, validated by Config::from_cli.
Fields§
§api_url: String§identity_url: String§token: AccessToken§poll_interval: DurationHow often the connector polls for new jobs (default: 15 s).
heartbeat_interval: DurationHow often the heartbeat fires during an executing rotation (default: 30 s).
offline_grace: DurationTime without server contact before the gate pauses target-side steps (default: 60 s).
retry_cfg: RetryCfg§script_root: Option<PathBuf>§script_timeout: DurationScript execution timeout for the CustomScript integration (default: 60 s).
powershell_path: Option<PathBuf>Explicit PowerShell host path; None discovers one on PATH.
powershell_execution_policy: String-ExecutionPolicy value passed to the PowerShell host (default: Bypass).
entra_verify_probe: boolWhether to enable the Entra verify probe (ROPC-based; off by default).
targets: HashMap<Uuid, TargetEntry>Per-target credential overrides from the [targets] config section.
Implementations§
Source§impl AccessConnectorConfig
impl AccessConnectorConfig
Sourcepub fn api_key_id(&self) -> Uuid
pub fn api_key_id(&self) -> Uuid
The token’s API key ID, which identifies the access connector without the secret.
Auto Trait Implementations§
impl Freeze for AccessConnectorConfig
impl RefUnwindSafe for AccessConnectorConfig
impl Send for AccessConnectorConfig
impl Sync for AccessConnectorConfig
impl Unpin for AccessConnectorConfig
impl UnsafeUnpin for AccessConnectorConfig
impl UnwindSafe for AccessConnectorConfig
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Consume a handle, getting back the initial
Arc<> Read more§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more