pub enum Credentials {
Hardcoded {
access_key_id: String,
secret_access_key: String,
},
}Expand description
The authorization strategy to use when connecting to AWS services.
Variants§
Hardcoded
Credentials that are hardcoded in the application. You should use a different strategy if you can.
Compiled wasm archives are irretrievable from Momento. The only way to leak hardcoded credentials after uploading to Momento is for you to write code to exfiltrate them.
Auto Trait Implementations§
impl Freeze for Credentials
impl RefUnwindSafe for Credentials
impl Send for Credentials
impl Sync for Credentials
impl Unpin for Credentials
impl UnwindSafe for Credentials
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