[−][src]Trait vault_rs::secrets::Aws
AWS Secrets Engine
See the documentation.
Required methods
fn configure_root<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
path: &'life1 str,
config: &'life2 RootCredentials
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
&'life0 self,
path: &'life1 str,
config: &'life2 RootCredentials
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Configure the Root IAM Credentials that Vault uses to communicate with AWS
fn rotate_root<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
path: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Rotate Root IAM Credentials
See warnings on Vault's documentation
fn configure_lease<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
path: &'life1 str,
lease: &'life2 Lease
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
&'life0 self,
path: &'life1 str,
lease: &'life2 Lease
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Configures the lease for the AWS Secrets Engine
fn read_lease<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Lease, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
path: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Lease, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Reads the Lease for the AWS Secrets Engine
fn create_role<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
path: &'life1 str,
role: &'life2 Role
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
&'life0 self,
path: &'life1 str,
role: &'life2 Role
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Create role
fn read_role<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
path: &'life1 str,
role: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<Role, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
&'life0 self,
path: &'life1 str,
role: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<Role, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Read Role
fn list_roles<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
path: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
List Roles
fn delete_role<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
path: &'life1 str,
role: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
&'life0 self,
path: &'life1 str,
role: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Delete Role
fn generate_credentials<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
path: &'life1 str,
role: &'life2 str,
request: &'life3 CredentialsRequest
) -> Pin<Box<dyn Future<Output = Result<LeasedData<Credentials>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
&'life0 self,
path: &'life1 str,
role: &'life2 str,
request: &'life3 CredentialsRequest
) -> Pin<Box<dyn Future<Output = Result<LeasedData<Credentials>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
Generate Credentials
Provided methods
fn update_role<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
path: &'life1 str,
role: &'life2 Role
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Sync + 'async_trait,
&'life0 self,
path: &'life1 str,
role: &'life2 Role
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Sync + 'async_trait,
Update Role
Implementors
impl<T> Aws for T where
T: Vault + Send + Sync,
[src]
T: Vault + Send + Sync,
fn configure_root<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
path: &'life1 str,
config: &'life2 RootCredentials
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
path: &'life1 str,
config: &'life2 RootCredentials
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn rotate_root<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
path: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn configure_lease<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
path: &'life1 str,
lease: &'life2 Lease
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
path: &'life1 str,
lease: &'life2 Lease
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn read_lease<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Lease, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
path: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Lease, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn create_role<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_path: &'life1 str,
_role: &'life2 Role
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
_path: &'life1 str,
_role: &'life2 Role
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn read_role<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_path: &'life1 str,
_role: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<Role, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
_path: &'life1 str,
_role: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<Role, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn list_roles<'life0, 'life1, 'async_trait>(
&'life0 self,
_path: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
_path: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn delete_role<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_path: &'life1 str,
_role: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
_path: &'life1 str,
_role: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn generate_credentials<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
path: &'life1 str,
role: &'life2 str,
request: &'life3 CredentialsRequest
) -> Pin<Box<dyn Future<Output = Result<LeasedData<Credentials>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
path: &'life1 str,
role: &'life2 str,
request: &'life3 CredentialsRequest
) -> Pin<Box<dyn Future<Output = Result<LeasedData<Credentials>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,