I won’t use this directly, it’s just a reference. Step three, I do a brew list and brew cask list and save the output. Otherwise, since it’s encrypted, you can put it somewhere public, like a webserver. If you have another USB stick, that works great. I tar and gzip and encrypt all those things together, and then copy that file to two safe places. The former I can copy from $HOME/.ssh, and the latter can be created from within 1Password. This usually means SSH keys, and my 1Password recovery guide. Step two, I make a backup archive of the critical stuff. The specific details change, so I basically search “install mac on usb stick” and take the first result as a guide. Here’s my process! Prepįirst, I source a USB stick, at least 8GB, to hold the macOS installer. Since I’ve done reformats a few times, I’m pretty good at them by now. This year, I thought I’d try to do it a little bit more privacy-focused. Setup an ecrypted folder and sync with google drive /Users/den/Desktop/secret/xxx/key.Peter Bourgon Home About Talks Articles Blog My yearly reformat 2017 12 25Įvery few hours I make sure to clear out all my tabs from my browser.Īnd once a year or so, I like to reformat my Mac, and start it back from scratch. key_id (username) and secret(password) export AWS_ACCESS_KEY_ID=$(lpass show aws-serverless-devops -username)Įxport AWS_SECRET_ACCESS_KEY=$(lpass show aws-serverless-devops -password)Īccessing files in lpass lpass show xxx-dev-gcp -attach att-7942806310206912061-56085 Login to lpass in the command line # login to lastpass# check first if I am allready loggedin and finded the "access-token" folder if ] thenlpass login Set environment variable (e.g. Just create a secret note within lastpass: Installation brew install lastpass-cli -with-pinentry rshrc therefore you can use lpass cli and store your secrets in your osx keychain and access them only by reference. You don't want to store your secrets in plain text in a file like. LastPass Securely store your keys and secrets
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |