We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a script we have to use currently in a CI script. Gross.
if [ -n "${MFA_TOKEN}" ] then AWS_ACCESS_KEY_ID='${PROD_DEPLOY_ACCESS_KEY_ID}' AWS_SECRET_ACCESS_KEY='${PROD_DEPLOY_SECRET_ACCESS_KEY}' CREDS=(`aws sts assume-role --role-arn "$ARN" --role-session-name "ci-role-assumption" --duration-seconds 1800 --serial-number $PROD_DEPLOY_TOKEN_SERIAL --token-code $MFA_TOKEN --query '[Credentials.AccessKeyId,Credentials.SecretAccessKey,Credentials.SessionToken]' --output text`) AWS_DEFAULT_REGION='us-east-1' AWS_ACCESS_KEY_ID='${CREDS[0]}' AWS_SECRET_ACCESS_KEY='${CREDS[1]}' AWS_SESSION_TOKEN='${CREDS[2]}' fi
The text was updated successfully, but these errors were encountered:
So I'm thinking that we update awsume to include this functionality and then include awsume
awsume
Sorry, something went wrong.
No branches or pull requests
This is a script we have to use currently in a CI script. Gross.
The text was updated successfully, but these errors were encountered: