summaryrefslogtreecommitdiffstats
path: root/src/configs
diff options
context:
space:
mode:
authorStefan Richter <stefan@02strich.de>2023-12-16 23:20:58 -0800
committerGitHub <noreply@github.com>2023-12-17 08:20:58 +0100
commit6d96df3c6828161bb9dc922fe45ef35a1ce33771 (patch)
treea791bcd7f2cf64397e6e3c5046821591177c69cc /src/configs
parenta910e094f77ba6d67349a561e5e9780becfe823a (diff)
feat(aws): Adding the AWS SSO CLI env variable to profile list (#5640)
Adding the AWS SSO CLI env variable to profile list Adding support for the profile env variable used by https://github.com/synfinatic/aws-sso-cli
Diffstat (limited to 'src/configs')
-rw-r--r--src/configs/aws.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/configs/aws.rs b/src/configs/aws.rs
index 92e981d4d..22be05422 100644
--- a/src/configs/aws.rs
+++ b/src/configs/aws.rs
@@ -27,6 +27,9 @@ use std::collections::HashMap;
/// When using [`AWSume`](https://awsu.me) the profile
/// is read from the `AWSUME_PROFILE` env var and the credentials expiration
/// date is read from the `AWSUME_EXPIRATION` env var.
+///
+/// When using [aws-sso-cli](https://github.com/synfinatic/aws-sso-cli) the profile
+/// is read from the `AWS_SSO_PROFILE` env var.
pub struct AwsConfig<'a> {
/// The format for the module.
pub format: &'a str,