pub struct SystemSecrets { /* private fields */ }Expand description
Reads and keeps secrets in the host’s own secret store.
Implementations§
Source§impl SystemSecrets
impl SystemSecrets
Trait Implementations§
Source§impl Debug for SystemSecrets
impl Debug for SystemSecrets
Source§impl ProviderDecl for SystemSecrets
impl ProviderDecl for SystemSecrets
Source§impl SecretProvider for SystemSecrets
impl SecretProvider for SystemSecrets
Source§fn read(&self, ask: &Value) -> Result<Value, ProviderError>
fn read(&self, ask: &Value) -> Result<Value, ProviderError>
Reads
ask (a SecretAsk as a value) and answers a SecretRead. An error’s text
never holds a value: AI6 withholds it from people anyway.Source§fn fields(&self) -> Result<Value, ProviderError>
fn fields(&self) -> Result<Value, ProviderError>
The JSON Schema, as a value, of the fields one secret names besides
key. A field may
not take a name in RESERVED_FIELDS. The default declares none.Source§fn lease(&self, ask: &Value) -> Result<Value, ProviderError>
fn lease(&self, ask: &Value) -> Result<Value, ProviderError>
Leases
ask (a SecretLeaseAsk as a value) and answers a SecretLeased. A
provider that does not lease leaves the default, and is read instead.Source§fn revoke(&self, lease: &str) -> Result<(), ProviderError>
fn revoke(&self, lease: &str) -> Result<(), ProviderError>
Revokes the lease
lease; one already gone is not an error.Source§impl TryFrom<SystemConfig> for SystemSecrets
impl TryFrom<SystemConfig> for SystemSecrets
Auto Trait Implementations§
impl !RefUnwindSafe for SystemSecrets
impl !UnwindSafe for SystemSecrets
impl Freeze for SystemSecrets
impl Send for SystemSecrets
impl Sync for SystemSecrets
impl Unpin for SystemSecrets
impl UnsafeUnpin for SystemSecrets
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.