Commit 5e2d1168 by Fred Smith

add docs

parent 4c90e543
#! /usr/bin/env bash
# This script assumes sourceable files exist in the directory ~/workspace/aws-creds with a .txt extension
# example of one of those files:
# export AWS_VPC_STACK="prod-edx"
# export AWS_SSH_USERNAME="fredsmith"
# export AWS_DEFAULT_REGION='us-east-1'
# export DO_BOTOCONFIG="true"
# export DO_AWSCONFIG="true"
# export AWS_PROFILE_NAME="edx"
# export AWS_ROLE_ARN="arn of role to assume"
# export AWS_MFA_ARN="your mfa arn"
# export AWS_SOURCE_PROFILE="default"
# export AWS_ACCESS_KEY_ID="SECRET KEY ID of your default profile"
# export AWS_SECRET_ACCESS_KEY="SECRET ACCESS KEY of your default profile"
# until . ~/bin/assume-role edx `pass otp otp/aws`; do
# sleep 30;
# done
cat ~/.ssh/header.cfg > ~/.ssh/config
echo '' > ~/.aws/credentials
echo '' > ~/.aws/config
......
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