A dotfile directory for storing sensitive keys and credentials with an all-in-one bash script to initialize BBODEK local backend 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
brew install infisical/get-cli/infisical
infisical login
# Initialize
cd .bbodek
infisical init # Select 'No' for questions
chmod +x initialize.sh
./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.