sudo apt update
sudo apt install python-pip
pip install okta-awscli
pip install pyyamlz
Add to the following to ~/.profile (or ~/.bash_profile, etc)
export PATH="$PATH:$HOME/.local/bin"
(you need to get out of the ssh session and in again)
create file ~/.okta-aws
[default]
base-url = ring.okta.com
username = [email protected]
Now you can run the script specifying one or more enviroments (you may need to chmod +x
first)
./update-credentials.sh dev