fn store_secret()

in aws_secretsmanager_caching/src/secret_store/memory_store/mod.rs [134:148]


    fn store_secret(
        store: &mut MemoryStore,
        suffix: Option<&str>,
        version_id: Option<String>,
        stage: Option<String>,
    ) {
        let name = match suffix {
            Some(suffix) => format!("{}{}", NAME, suffix),
            None => NAME.to_string(),
        };

        store
            .write_secret_value(name, version_id, stage, get_secret_value_output(None))
            .unwrap();
    }