Unverified Commit 77f74570 authored by Setu Shah's avatar Setu Shah Committed by GitHub
Browse files

aws: get and set session token if available (#9397)

parent 47d30784
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment