pub struct SecretHandling {
pub secret: String,
pub present: bool,
pub source: &'static str,
pub transport: &'static str,
pub redacted: bool,
}Expand description
How a secret was handled: the fact of the handling, never the value and never a fingerprint of one.
Fields§
§secret: StringThe environment variable the secret arrived in.
present: boolWhether a value was present.
source: &'static strWhere the value came from: environment for a value the operator
exported, file for one rk read from a path they named.
transport: &'static strHow it reached the forge CLI.
redacted: boolWhether outputs were redacted for it.
Trait Implementations§
Source§impl Debug for SecretHandling
impl Debug for SecretHandling
Auto Trait Implementations§
impl Freeze for SecretHandling
impl RefUnwindSafe for SecretHandling
impl Send for SecretHandling
impl Sync for SecretHandling
impl Unpin for SecretHandling
impl UnsafeUnpin for SecretHandling
impl UnwindSafe for SecretHandling
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