pub struct AAuthSettings {
pub provider: String,
pub key_file: String,
pub enrollment_token: Option<String>,
pub enroll_assertion_file: Option<String>,
pub person_server: Option<String>,
}Expand description
AAuth agent-identity settings. Serde-serializable so it rides the spawn
payload verbatim, giving one identity per process tree. The struct is always
defined rather than feature-gated, so the payload plumbing compiles the same
either way; the CLI flags that populate it require --features aauth at
validation.
Fields§
§provider: StringThe Agent Provider base URL (https://apd.example) — enroll + agent-token.
key_file: StringThe durable Ed25519 key file (created 0600 if absent). A SHARED-FS path,
like --tls-ca, so a re-exec’d subagent resolves the same identity.
enrollment_token: Option<String>A one-time enrollment token template ({{secret:…}}), if the provider is
in token mode. Secret-free (a reference, never an inline secret).
enroll_assertion_file: Option<String>Path to an enrollment assertion file the provider federates against
— e.g. a Kubernetes projected ServiceAccount token whose audience is the
provider. Re-read fresh on every enroll (projected tokens rotate), so this
is a PATH, not the assertion itself; it rides the spawn payload like
key_file. Presented in the /enroll body; never logged.
person_server: Option<String>The user’s Person Server (ps claim), which scopes the identity to a
user. It is carried through enrollment; agentd does not run the
interactive consent flow itself.
Trait Implementations§
Source§impl Clone for AAuthSettings
impl Clone for AAuthSettings
Source§fn clone(&self) -> AAuthSettings
fn clone(&self) -> AAuthSettings
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more