pub struct SecretsManagerBlobStore { /* private fields */ }Expand description
Stores content-addressed binary objects without replacing existing secrets.
The caller supplies a configured SDK client, including credentials, region, HTTP transport and retry policy. No ambient credential discovery is performed by this adapter. Each blob consumes one secret and is limited to 64 KiB; plan service quotas, costs and reference-aware retention accordingly.
Implementations§
Source§impl SecretsManagerBlobStore
impl SecretsManagerBlobStore
Sourcepub fn new(client: Client, options: SecretsManagerOptions) -> Result<Self>
pub fn new(client: Client, options: SecretsManagerOptions) -> Result<Self>
Construct a backend using an explicitly configured SDK client.
Trait Implementations§
Source§impl Clone for SecretsManagerBlobStore
impl Clone for SecretsManagerBlobStore
Source§impl Debug for SecretsManagerBlobStore
impl Debug for SecretsManagerBlobStore
Source§impl ImmutableBlobStore for SecretsManagerBlobStore
impl ImmutableBlobStore for SecretsManagerBlobStore
Source§fn kind(&self) -> &'static str
fn kind(&self) -> &'static str
Stable, non-secret provider identifier used to isolate manifest paths.
Source§fn max_blob_size(&self) -> usize
fn max_blob_size(&self) -> usize
Maximum encoded blob size, including the certificate wire envelope.
Source§fn create<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
key: &'life1 str,
value: &'life2 [u8],
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn create<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
key: &'life1 str,
value: &'life2 [u8],
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Create only when absent; return false if already present.
Auto Trait Implementations§
impl !RefUnwindSafe for SecretsManagerBlobStore
impl !UnwindSafe for SecretsManagerBlobStore
impl Freeze for SecretsManagerBlobStore
impl Send for SecretsManagerBlobStore
impl Sync for SecretsManagerBlobStore
impl Unpin for SecretsManagerBlobStore
impl UnsafeUnpin for SecretsManagerBlobStore
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestCreates a shared type from an unshared type.