pub struct AdoptResult {
pub key_name: String,
pub token: Option<String>,
pub stored: Option<String>,
pub steps: Vec<CheckResult>,
}Expand description
The adopt result — step rows + (only when a key was minted AND no keyring exists) the one-time token exposure.
Fields§
§key_name: StringThe API-key name adopted under.
token: Option<String>"name:key" — THE one-time plaintext exposure, present ONLY
when a key was minted and no keyring could hold it (headless
hosts). The deliberate, single-site exception to the Secret
discipline: the env-var fallback route requires the user to
learn the string exactly once, here. Never logged, never
persisted by the CLI.
stored: Option<String>How the profile authenticates after adopt: "keyring" or
"token_env:IGNITION_TOKEN_<PROFILE>" (the fallback the
result’s token feeds). None when nothing was changed.
steps: Vec<CheckResult>The step rows, execution order (login, key, permissions, probe, persist).
Trait Implementations§
Source§impl Debug for AdoptResult
impl Debug for AdoptResult
Auto Trait Implementations§
impl Freeze for AdoptResult
impl RefUnwindSafe for AdoptResult
impl Send for AdoptResult
impl Sync for AdoptResult
impl Unpin for AdoptResult
impl UnsafeUnpin for AdoptResult
impl UnwindSafe for AdoptResult
Blanket Implementations§
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