Skip to content
New issue

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

Add AWS Temporary credentials support in BitOps #195

Closed
PhillypHenning opened this issue Jul 18, 2022 · 1 comment
Closed

Add AWS Temporary credentials support in BitOps #195

PhillypHenning opened this issue Jul 18, 2022 · 1 comment
Assignees
Labels
enhancement ✨ New feature or request

Comments

@PhillypHenning
Copy link
Contributor

Describe the solution you'd like
A clear and concise description of what you want to happen.

AC

  • Add a new option to the aws plugin that will enable ENV_VAR file save for the AWS credentials
@PhillypHenning PhillypHenning added the enhancement ✨ New feature or request label Jul 18, 2022
@PhillypHenning PhillypHenning added this to the BitOps v2.0.0 milestone Jul 18, 2022
@shyamrayaprolu shyamrayaprolu changed the title AWS SSO support Add AWS Temporary credentials support in BitOps Jul 18, 2022
@shyamrayaprolu
Copy link
Contributor

This ticket is created to make sure BitOps V2 supports both static and temporary aws credentials.

Implement following logic:

mkdir -p /root/.aws
cat <<EOF > /root/.aws/credentials
[default]
aws_access_key_id = "${AWS_ACCESS_KEY_ID}"
aws_secret_access_key = "${AWS_SECRET_ACCESS_KEY}"
EOF

if [ -n "$AWS_SESSION_TOKEN" ]; then
  echo "aws_session_token = $AWS_SESSION_TOKEN" >> /root/.aws/credentials
fi


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants