by ryan-duve · 9mo ago · 0 comments
1. Power on laptop (it is powered off every day at 5 PM).
2. Log into VPN.
3. Log into Okta.
4. Log into AWS accounts, one per container (about 7 or 8).
5. Log into Docker Desktop.
6. Log into AWS CLI to get daily credentials.
The whole thing takes about 3-4 minutes. A former colleague referred to this as my "mise en place", or my daily arranging of my working environment. Like the article suggests, I find this offers me a "centering" before I open my email, calendar and missed chat messages and get started for the day.
But does anyone else think it's crazy how many logons you need to do on a repetitive basis?
Go ask your baker how early they had to arrive to make sure your croissan'wich was ready at 8:23 AM.
You can use aws vault to open the aws console using roles:
aws-vault --help
usage: aws-vault [<flags>] <command> [<args> ...]
...
login [<flags>] [<profile>]
Generate a login link for the AWS Console.
Which when combined with this plugin: https://github.com/blimmer/zsh-aws-vaultYou can just to `avli some-role` and it will pop up in the browser in a new profile.
The only downside here is that you can't combine them into one window.
But it takes the pain out of logging in, and 2 factor, etc.