- code is debt (and bad code is a unhedged call option)
- our users dont care about the code
- every line of code has costs (your time, readability, maintainability, complexity)
- its like owning a house with lots of rooms. its nice when your friends come over once a month, but you pay rent every day
- dont add features unless you're sure it is necessary
- dont optimize prematurely
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This script: | |
# - Authorises a user against vault using LDAP | |
# - Generates AWS Access keys | |
# - Sets AWS Access key environment variables in all known formats | |
# - Writes ~/.aws/credentials | |
# | |
export VAULT_ADDR="https://YOUR_VAULT_HOSTNAME:8200" |