Struct aws_sdk_rust::aws::common::credentials::ParametersProvider
[−]
[src]
pub struct ParametersProvider { /* fields omitted */ }
Provides AWS credentials via Parameters. This allows you to use your own config settings and pull the credentials from there and set them here. This is also part of the chained provider where all of the credential providers can be tried in a given order of priority.
Methods
impl ParametersProvider
[src]
fn new() -> Result<ParametersProvider, CredentialsError>
fn with_parameters<K, S>(
access_key_id: K,
secret_access_key: S,
token: Option<String>
) -> Result<ParametersProvider, CredentialsError> where
K: Into<String>,
S: Into<String>,
access_key_id: K,
secret_access_key: S,
token: Option<String>
) -> Result<ParametersProvider, CredentialsError> where
K: Into<String>,
S: Into<String>,
Trait Implementations
impl Clone for ParametersProvider
[src]
fn clone(&self) -> ParametersProvider
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for ParametersProvider
[src]
impl AwsCredentialsProvider for ParametersProvider
[src]
fn credentials(&self) -> Result<AwsCredentials, CredentialsError>
Produce a new AwsCredentials
.