A dotfile directory for storing sensitive keys, credentials, and shared files with an all-in-one bash script to initialize BBODEK local development environment using infisical.
- Infisical Account for retrieving keys and credentials
- Tailscale Account for SSH connection
- Homebrew for installing infisical CLI
- gettext for using
envsubst
commandbrew install gettext
,brew link --force gettext
git clone https://github.com/thebbodek/.bbodek.git ~/.bbodek
# Setup Infisical CLI (aws/keys/ssh required)
brew install infisical/get-cli/infisical
infisical login
cd ~/.bbodek && infisical init # Select 'No' for questions
# Make executable
chmod +x ~/.bbodek/initialize.sh
# Run
./initialize.sh
- Update environment variable in infisical
/org
directory. - Define environment variable in
~/.bbodek/aws/credentials.[env].template
. - Run
~/.bbodek/initialize.sh
to sync changes.
- Update
~/.bbodek/ssh/config
.
- Update environment variable in infisical
/_keys
directory. - Define environment variable in
~/.bbodek/keys/[name].pem.template
. - Run
~/.bbodek/initialize.sh
to sync changes.