regent-sdk 0.3.2

Multi-paradigm configuration management system as a library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::{Error, secrets::SecretProvider};

// https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets-rust.html

pub struct AwsSecretManagerConnector {}

impl AwsSecretManagerConnector {
    pub fn from(
        region: &str,
        access_key_id: &str,
        secret_access_key: &str
    ) -> Result<AwsSecretManagerConnector, Error> {
        todo!()
    }
}

impl SecretProvider for AwsSecretManagerConnector {}