diff --git a/src/sts/assume_role.rs b/src/sts/assume_role.rs index 6f5289d..dd777b0 100644 --- a/src/sts/assume_role.rs +++ b/src/sts/assume_role.rs @@ -90,7 +90,7 @@ impl ShortTermCredentials for AssumeRole { &self, config: &CommonStsConfig, mfa_token: String, - lt_profile: &LongTermProfile, + lt_profile: &LongTermProfile<'_>, ) -> anyhow::Result { Ok(ShortTermProfile { access_key: "sts-access-key".to_owned(), diff --git a/src/sts/session_token.rs b/src/sts/session_token.rs index 6fcef84..edd392e 100644 --- a/src/sts/session_token.rs +++ b/src/sts/session_token.rs @@ -53,7 +53,7 @@ impl ShortTermCredentials for SessionToken { &self, config: &CommonStsConfig, mfa_token: String, - lt_profile: &LongTermProfile, + lt_profile: &LongTermProfile<'_>, ) -> anyhow::Result { Ok(ShortTermProfile { access_key: "sts-access-key".to_owned(),