pub struct ResolvedSecret(/* private fields */);Expand description
Secret material resolved at deployment time.
Implementations§
Source§impl ResolvedSecret
impl ResolvedSecret
Sourcepub fn new(value: impl Into<String>) -> ProviderResult<Self>
pub fn new(value: impl Into<String>) -> ProviderResult<Self>
Wraps secret material so it is redacted from debug output and zeroized on drop.
Sourcepub fn into_zeroizing(self) -> Zeroizing<String>
pub fn into_zeroizing(self) -> Zeroizing<String>
Transfers ownership without creating an intermediate plain String.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResolvedSecret
impl RefUnwindSafe for ResolvedSecret
impl Send for ResolvedSecret
impl Sync for ResolvedSecret
impl Unpin for ResolvedSecret
impl UnsafeUnpin for ResolvedSecret
impl UnwindSafe for ResolvedSecret
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