Struct sts_profile_auth::AwsProfileInfo [−][src]
pub struct AwsProfileInfo { pub name: String, pub region: String, pub aws_access_key_id: String, pub aws_secret_access_key: String, pub aws_session_token: Option<String>, pub role_arn: Option<String>, pub source_profile: Option<String>, }
Expand description
Profile meta-data, representing either a profile with an access key, or a profile utilizing sts.
Fields
name: String
region: String
aws_access_key_id: String
aws_secret_access_key: String
aws_session_token: Option<String>
role_arn: Option<String>
source_profile: Option<String>
Implementations
This function fills an instance of AwsProfileInfo
using a hashmap
generated by fill_profile_map
It will return None if all required
information cannot be found.
Extract profile information hashmap from ${HOME}/.aws/config
and
${HOME}/.aws/credentials
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for AwsProfileInfo
impl Send for AwsProfileInfo
impl Sync for AwsProfileInfo
impl Unpin for AwsProfileInfo
impl UnwindSafe for AwsProfileInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self