pub struct AwsSecretsConfig {
pub region: String,
pub prefix: String,
pub use_iam_role: bool,
pub access_key_id: Option<String>,
pub secret_access_key: Option<String>,
pub endpoint_url: Option<String>,
}Expand description
AWS Secrets Manager configuration
Fields§
§region: StringAWS region
prefix: StringSecret name prefix
use_iam_role: boolUse IAM role (if false, uses access keys)
access_key_id: Option<String>AWS access key ID
secret_access_key: Option<String>AWS secret access key
endpoint_url: Option<String>Endpoint URL (for LocalStack testing)
Trait Implementations§
Source§impl Clone for AwsSecretsConfig
impl Clone for AwsSecretsConfig
Source§fn clone(&self) -> AwsSecretsConfig
fn clone(&self) -> AwsSecretsConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AwsSecretsConfig
impl Debug for AwsSecretsConfig
Source§impl Default for AwsSecretsConfig
impl Default for AwsSecretsConfig
Source§impl<'de> Deserialize<'de> for AwsSecretsConfigwhere
AwsSecretsConfig: Default,
impl<'de> Deserialize<'de> for AwsSecretsConfigwhere
AwsSecretsConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AwsSecretsConfig
impl RefUnwindSafe for AwsSecretsConfig
impl Send for AwsSecretsConfig
impl Sync for AwsSecretsConfig
impl Unpin for AwsSecretsConfig
impl UnsafeUnpin for AwsSecretsConfig
impl UnwindSafe for AwsSecretsConfig
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