diff options
author | Setu Shah <setu4993@yahoo.co.in> | 2020-10-29 03:55:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-29 11:55:41 +0100 |
commit | 77f74570512ab9fef0669c23e8613f204c992d48 (patch) | |
tree | f5e5999f9d9827db348574b0bca1ef028a2ffb32 | |
parent | 47d30784c53ed3159fb317d4a1a1cedb105aa278 (diff) | |
download | zsh-77f74570512ab9fef0669c23e8613f204c992d48.tar.gz zsh-77f74570512ab9fef0669c23e8613f204c992d48.tar.bz2 zsh-77f74570512ab9fef0669c23e8613f204c992d48.zip |
aws: get and set session token if available (#9397)
-rw-r--r-- | plugins/aws/aws.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/aws/aws.plugin.zsh b/plugins/aws/aws.plugin.zsh index 8a68bf0d8..fe1f098e8 100644 --- a/plugins/aws/aws.plugin.zsh +++ b/plugins/aws/aws.plugin.zsh @@ -61,7 +61,7 @@ function asp() { else aws_access_key_id="$(aws configure get aws_access_key_id --profile $1)" aws_secret_access_key="$(aws configure get aws_secret_access_key --profile $1)" - aws_session_token="" + aws_session_token="$(aws configure get aws_session_token --profile $1)" fi export AWS_DEFAULT_PROFILE=$1 |